OSDN Git Service

powerpc/configs: Disable SCOM_DEBUGFS in powernv_defconfig
authorAndrew Donnellan <ajd@linux.ibm.com>
Thu, 9 May 2019 05:11:19 +0000 (15:11 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Aug 2019 08:53:04 +0000 (18:53 +1000)
commit8b856a0942a1b4d832966985fcdf1a455eb6ab8c
treeb676f13fe68a72a3210e11bb418f72b3fc1783e9
parent8c98db8d5851db45c50024a29c3dd1779dc4da0b
powerpc/configs: Disable SCOM_DEBUGFS in powernv_defconfig

SCOM_DEBUGFS is really not needed for anything other than low-level
hardware debugging.

mpe: It also introduces a large and poorly documented/understood
attack surface. Although the interface is only available to root, the
kernel still aspires to restrict root to accessing hardware through
well defined interfaces, which this is not.

opal-prd uses its own interface (/dev/prd) for SCOM access, so it
doesn't need SCOM_DEBUGFS.

At some point in the future we'll introduce a debug config fragment
where this can go instead.

Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190509051119.7694-5-ajd@linux.ibm.com
arch/powerpc/configs/powernv_defconfig