[PATCH 0/4] powerpc/security mitigation updates

Nicholas Piggin npiggin at gmail.com
Mon May 3 23:02:39 AEST 2021

This series adds a few missing bits added to recent pseries
H_GET_CPU_CHARACTERISTICS and implements them, also removes
a restriction from powernv for some of the flushes.

This is tested mianly in qemu where I just submitted a patch
that adds support for these bits (not upstream yet).

Nicholas Piggin (4):
  powerpc/pseries: Get entry and uaccess flush required bits from
  powerpc/security: Add a security feature for STF barrier
  powerpc/pesries: Get STF barrier requirement from
  powerpc/powernv: Remove POWER9 PVR version check for entry and uaccess

 arch/powerpc/include/asm/hvcall.h            | 3 +++
 arch/powerpc/include/asm/security_features.h | 4 ++++
 arch/powerpc/kernel/security.c               | 7 ++-----
 arch/powerpc/platforms/powernv/setup.c       | 9 ---------
 arch/powerpc/platforms/pseries/setup.c       | 9 +++++++++
 5 files changed, 18 insertions(+), 14 deletions(-)


More information about the Linuxppc-dev mailing list