powerpc/security: Allow for processors that flush the link stack using the special bcctr

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 <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200609070610.846703-7-npiggin@gmail.com
This commit is contained in:
Nicholas Piggin 2020-06-09 17:06:09 +10:00 • committed by Michael Ellerman
commit 4d24e21cc6
2 changed files with 21 additions and 8 deletions