powerpc/chrp: Use the same RTAS daemon as pSeries
The CHRP code has some fishy timer based code to scan the RTAS event
log, which uses a 1KB stack buffer and doesn't even use the results.
The pSeries code as a nicer daemon that allows userspace to read the
event log and basically uses the same RTAS interface
This patch moves rtasd.c out of platform/pseries and makes it usable
by CHRP, after removing the old crufty event log mechanism in there.
The nvram logging part of the daemon is still only available on 64-bit
since the underlying nvram management routines aren't currently shared.
Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
- arch/powerpc/kernel/Makefile 1 addition, 0 deletionsarch/powerpc/kernel/Makefile
- arch/powerpc/kernel/rtasd.c 34 additions, 14 deletionsarch/powerpc/kernel/rtasd.c
- arch/powerpc/platforms/Kconfig 5 additions, 0 deletionsarch/powerpc/platforms/Kconfig
- arch/powerpc/platforms/chrp/Kconfig 2 additions, 0 deletionsarch/powerpc/platforms/chrp/Kconfig
- arch/powerpc/platforms/chrp/setup.c 0 additions, 50 deletionsarch/powerpc/platforms/chrp/setup.c
- arch/powerpc/platforms/pseries/Kconfig 1 addition, 0 deletionsarch/powerpc/platforms/pseries/Kconfig
- arch/powerpc/platforms/pseries/Makefile 1 addition, 1 deletionarch/powerpc/platforms/pseries/Makefile
Loading
Please register or sign in to comment