]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/pnv: Add PnvChipClass handler to get reference to interrupt controller
authorAditya Gupta <adityag@linux.ibm.com>
Thu, 25 Sep 2025 17:30:44 +0000 (23:00 +0530)
committerHarsh Prateek Bora <harshpb@linux.ibm.com>
Sun, 28 Sep 2025 17:52:06 +0000 (23:22 +0530)
commit849a6bb854b48d757fab5e408f6a17dff568ec13
tree184c37c9bf9169f055625261de3a24d785a6f7a1
parent73a911e966acd8314e39a4ce4bc58e2254e68324
ppc/pnv: Add PnvChipClass handler to get reference to interrupt controller

Existing code in XIVE2 assumes the chip to be a Power10 Chip.
Instead add a handler to get reference to the interrupt controller (XIVE)
for a given Power Chip.

Signed-off-by: Aditya Gupta <adityag@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Tested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Link: https://lore.kernel.org/r/20250925173049.891406-4-adityag@linux.ibm.com
Message-ID: <20250925173049.891406-4-adityag@linux.ibm.com>
hw/intc/pnv_xive2.c
hw/ppc/pnv.c
include/hw/ppc/pnv_chip.h