[PATCH 6/7] powerpc/security: Allow for processors that flush the link stack using the special bcctr

2020-06-09 Thread Nicholas Piggin
If both count cache and link stack are to be flushed, and can be flushed with the special bcctr, patch that in directly to the flush/branch nop site. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/security_features.h | 2 ++ arch/powerpc/kernel/security.c | 27

[PATCH 6/7] powerpc/security: Allow for processors that flush the link stack using the special bcctr

2020-06-09 Thread Nicholas Piggin
If both count cache and link stack are to be flushed, and can be flushed with the special bcctr, patch that in directly to the flush/branch nop site. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/security_features.h | 2 ++ arch/powerpc/kernel/security.c | 27