summary refs log tree commit diff stats
path: root/hw/intc/apic.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2025-05-12 13:10:49 +1000
committerCédric Le Goater <clg@redhat.com>2025-07-21 08:03:53 +0200
commit365e322cfb86b2e7131c3290c3a61f8d2bb224d3 (patch)
treed0bbe9a618a370de2b098b0a139e33dbf6e39709 /hw/intc/apic.c
parent203181cebdb96283520b496d6eaa49634eb51579 (diff)
downloadfocaccia-qemu-365e322cfb86b2e7131c3290c3a61f8d2bb224d3.tar.gz
focaccia-qemu-365e322cfb86b2e7131c3290c3a61f8d2bb224d3.zip
ppc/xive2: implement NVP context save restore for POOL ring
In preparation to implement POOL context push, add support for POOL
NVP context save/restore.

The NVP p bit is defined in the spec as follows:

    If TRUE, the CPPR of a Pool VP in the NVP is updated during store of
    the context with the CPPR of the Hard context it was running under.

It's not clear whether non-pool VPs always or never get CPPR updated.
Before this patch, OS contexts always save CPPR, so we will assume that
is the behaviour.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Glenn Miles <milesg@linux.ibm.com>
Reviewed-by: Michael Kowal <kowal@linux.ibm.com>
Tested-by: Gautam Menghani <gautam@linux.ibm.com>
Link: https://lore.kernel.org/qemu-devel/20250512031100.439842-41-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/intc/apic.c')
0 files changed, 0 insertions, 0 deletions