On Fri, 5 Mar 2021 13:55:54 +0100, Laurent Dufour wrote:
This is helpful to read the security flavor from inside the LPAR.
In /sys/kernel/debug/powerpc/security_features it can be seen if
mitigations are on or off but the level set through the ASMI menu.
Furthermore, reporting it through /proc/powerpc/lparcfg allows an easy
processing by the lparstat command [1].
[...]
Applied to powerpc/next.
[1/1] powerpc/pseries: export LPAR security flavor in lparcfg
https://git.kernel.org/powerpc/c/6ce56e1ac380eaa088d3f4c01446e15e195bd541
cheers