diff options
| author | Nicholas Piggin <npiggin@gmail.com> | 2025-05-12 13:10:55 +1000 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-07-21 08:03:53 +0200 |
| commit | 6ef77843603b89b1e48a06ca0644e74e45297839 (patch) | |
| tree | 9ca0122b13068352e5760a0da496a7a80169f6e4 /hw/intc/xive.c | |
| parent | 6936d2f561759c00993217a424ddeb1554c5f1ff (diff) | |
| download | focaccia-qemu-6ef77843603b89b1e48a06ca0644e74e45297839.tar.gz focaccia-qemu-6ef77843603b89b1e48a06ca0644e74e45297839.zip | |
ppc/xive2: Implement set_os_pending TIMA op
xive2 must take into account redistribution of group interrupts if the VP directed priority exceeds the group interrupt priority after this operation. The xive1 code is not group aware so implement this for xive2. 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-47-npiggin@gmail.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/intc/xive.c')
| -rw-r--r-- | hw/intc/xive.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/intc/xive.c b/hw/intc/xive.c index e7f77be2f7..25cb3877cb 100644 --- a/hw/intc/xive.c +++ b/hw/intc/xive.c @@ -747,6 +747,8 @@ static const XiveTmOp xive2_tm_operations[] = { /* MMIOs above 2K : special operations with side effects */ { XIVE_TM_OS_PAGE, TM_SPC_ACK_OS_REG, 2, true, false, NULL, xive_tm_ack_os_reg }, + { XIVE_TM_OS_PAGE, TM_SPC_SET_OS_PENDING, 1, true, false, + xive2_tm_set_os_pending, NULL }, { XIVE_TM_HV_PAGE, TM_SPC_PULL_OS_CTX_G2, 4, true, false, NULL, xive2_tm_pull_os_ctx }, { XIVE_TM_HV_PAGE, TM_SPC_PULL_OS_CTX, 4, true, false, |