On 19/12/24 04:40, Nicholas Piggin wrote:
The hypervisor is expected to create a value for the HASHPKEY SPR for
each partition. Currently it uses zero for all partitions, use a
random number instead, which in theory might make kernel ROP protection
more secure.

Signed-of-by: Nicholas Piggin <npig...@gmail.com>
---
  include/hw/ppc/spapr.h  | 1 +
  hw/ppc/spapr.c          | 3 +++
  hw/ppc/spapr_cpu_core.c | 2 ++
  3 files changed, 6 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to