]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/xive2: Implement "Ack OS IRQ to even report line" TIMA op
authorGlenn Miles <milesg@linux.ibm.com>
Mon, 12 May 2025 03:10:34 +0000 (13:10 +1000)
committerCédric Le Goater <clg@redhat.com>
Mon, 21 Jul 2025 06:03:52 +0000 (08:03 +0200)
commit97cd373e6ca0024132e78496b8a585c00531f7a4
treeb37ad3ffeaa176d400a8ef42de9f4d2abc0d7f40
parent1a0cd94252bf111b0ace7b9cd88258e837d95ea4
ppc/xive2: Implement "Ack OS IRQ to even report line" TIMA op

Booting AIX in a PowerVM partition requires the use of the "Acknowledge
O/S Interrupt to even O/S reporting line" special operation provided by
the IBM XIVE interrupt controller. This operation is invoked by writing
a byte (data is irrelevant) to offset 0xC10 of the Thread Interrupt
Management Area (TIMA). It can be used by software to notify the XIVE
logic that the interrupt was received.

Signed-off-by: Glenn Miles <milesg@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.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-26-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/intc/xive.c
hw/intc/xive2.c
include/hw/ppc/xive.h
include/hw/ppc/xive2.h