diff options
author | Ram Pai <[email protected]> | 2020-02-24 01:09:48 -0500 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-05-28 23:24:40 +1000 |
commit | 094235222d41d68d35de18170058d94a96a82628 (patch) | |
tree | 54cddaca0e2d26d33f661ec4bb8ad95a96c4bd85 /tools/perf/scripts/python/syscall-counts.py | |
parent | 373b373053384f12951ae9f916043d955501d482 (diff) |
powerpc/xive: Share the event-queue page with the Hypervisor.
XIVE interrupt controller uses an Event Queue (EQ) to enqueue event
notifications when an exception occurs. The EQ is a single memory page
provided by the O/S defining a circular buffer, one per server and
priority couple.
On baremetal, the EQ page is configured with an OPAL call. On pseries,
an extra hop is necessary and the guest OS uses the hcall
H_INT_SET_QUEUE_CONFIG to configure the XIVE interrupt controller.
The XIVE controller being Hypervisor privileged, it will not be allowed
to enqueue event notifications for a Secure VM unless the EQ pages are
shared by the Secure VM.
Hypervisor/Ultravisor still requires support for the TIMA and ESB page
fault handlers. Until this is complete, QEMU can use the emulated XIVE
device for Secure VMs, option "kernel_irqchip=off" on the QEMU pseries
machine.
Signed-off-by: Ram Pai <[email protected]>
Reviewed-by: Cedric Le Goater <[email protected]>
Reviewed-by: Greg Kurz <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions