On Tue, 9 Jun 2020 17:06:03 +1000, Nicholas Piggin wrote: > This series allows the link stack to be flushed with the speical > bcctr 2,0,0 flush instruction that also flushes the count cache if > the processor supports it. > > Firmware does not support this at the moment, but I've tested it in > simulator with a patched firmware to advertise support. > > [...]
Patches 1-6 applied to powerpc/next. [1/7] powerpc/security: re-name count cache flush to branch cache flush https://git.kernel.org/powerpc/c/1026798c644bfd3115fc4e32fd5e767cfc30ccf1 [2/7] powerpc/security: change link stack flush state to the flush type enum https://git.kernel.org/powerpc/c/c06ac2771070f465076e87bba262c64fb0b3aca3 [3/7] powerpc/security: make display of branch cache flush more consistent https://git.kernel.org/powerpc/c/1afe00c74ffe6d502bffa81c7d849cb4640d7ae5 [4/7] powerpc/security: split branch cache flush toggle from code patching https://git.kernel.org/powerpc/c/c0036549a9d9a060fa8bc24e31f85503ce08ad5e [5/7] powerpc/64s: Move branch cache flushing bcctr variant to ppc-ops.h https://git.kernel.org/powerpc/c/70d7cdaf0548ec95fa7204dcdd39cd8e63cee24d [6/7] powerpc/security: Allow for processors that flush the link stack using the special bcctr https://git.kernel.org/powerpc/c/4d24e21cc694e7253a532fe5a9bde12b284f1317 cheers