mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
3d541c4b7f
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>
15 lines
305 B
Plaintext
15 lines
305 B
Plaintext
config PPC_CHRP
|
|
bool "Common Hardware Reference Platform (CHRP) based machines"
|
|
depends on 6xx
|
|
select MPIC
|
|
select PPC_I8259
|
|
select PPC_INDIRECT_PCI
|
|
select PPC_RTAS
|
|
select PPC_RTAS_DAEMON
|
|
select RTAS_ERROR_LOGGING
|
|
select PPC_MPC106
|
|
select PPC_UDBG_16550
|
|
select PPC_NATIVE
|
|
select PCI
|
|
default y
|