OSDN Git Service

powerpc/security: Show powerpc_security_features in debugfs
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 9 Apr 2019 13:14:20 +0000 (23:14 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 16:54:56 +0000 (02:54 +1000)
commit398af571128fe75f07343f929975b26d57eafd18
treea9869d931a7b9dfa79d8f1453f1b87e7a726ffcc
parent453d87f6a8aed827f5ebb1708a4cea458fd68d23
powerpc/security: Show powerpc_security_features in debugfs

This can be helpful for debugging problems with the security feature
flags, especially on guests where the flags come from the hypervisor
via an hcall and so can't be observed in the device tree.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/security.c