Skip to contentSkip to conversation

enable CONFIG_RTAS_PROC by default

PATCH In review Paul Mackerras 2 participants 4 messages May 6, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 enable CONFIG_RTAS_PROC by default

This patch enables CONFIG_RTAS_PROC by default on pSeries. This will preserve /proc/ppc64/rtas/rmo_buffer, which is needed by librtas.

This patch should go in 2.6.12.

---

arch/ppc64/Kconfig renamed from arch/ppc64/Kconfig~fix_Kconfig +1 -0
diff -puN arch/ppc64/Kconfig~fix_Kconfig arch/ppc64/Kconfig
@@ -262,6 +262,7 @@ config PPC_RTAS
 config RTAS_PROC
 	bool "Proc interface to RTAS"
 	depends on PPC_RTAS
+	default y
 
 config RTAS_FLASH
 	tristate "Firmware flash interface"
#1 lore raw
Quoted 2 lines · Paul Mackerras

This patch enables CONFIG_RTAS_PROC by default on pSeries. This will preserve /proc/ppc64/rtas/rmo_buffer, which is needed by librtas.

shouldn't this move over to sysfs at some point, to some firmware directory ?

#2 lore raw
Quoted 2 lines · Arjan van de Ven

shouldn't this move over to sysfs at some point, to some firmware directory ?

Well, eventually maybe, but there are userspace programs using it, so we can't remove the /proc interface for a while yet.

Paul.

#3 lore raw
Quoted 7 lines · Paul Mackerras
Quoted 2 lines · Arjan van de Ven

shouldn't this move over to sysfs at some point, to some firmware directory ?

Well, eventually maybe, but there are userspace programs using it, so we can't remove the /proc interface for a while yet.

sure that's a given, the question is I guess first to start providing a sysfs equivalent so that apps CAN start using the new thing, before even thinking about the obsoletion of the old interface. That was more what I was fishing for ...