Skip to content

powerpc/security mitigation updates

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powerpc/pseries: Get entry and uaccess flush required bits from H_GET_CPU_CHARACTERISTICSarch/powerpc/include/asm/hvcall.h arch/powerpc/platforms/pseries/setup.c+8 -00 replies
2/4powerpc/security: Add a security feature for STF barrierarch/powerpc/include/asm/security_features.h arch/powerpc/kernel/security.c+6 -50 replies
3/4powerpc/pesries: Get STF barrier requirement from H_GET_CPU_CHARACTERISTICSarch/powerpc/include/asm/hvcall.h arch/powerpc/platforms/pseries/setup.c+4 -00 replies
4/4powerpc/powernv: Remove POWER9 PVR version check for entry and uaccess flushesarch/powerpc/platforms/powernv/setup.c+0 -94 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJoel Stanley
1/4
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] powerpc/security mitigation updates

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
H_GET_CPU_CHARACTERISTICS
powerpc/security: Add a security feature for STF barrier powerpc/pesries: Get STF barrier requirement from
H_GET_CPU_CHARACTERISTICS
powerpc/powernv: Remove POWER9 PVR version check for entry and uaccess
flushes

 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(-)
Signature · 1 line
2.23.0