The IRS_SYNCR register is used by software to request synchronization
of interrupt events. This means that in-flight interrupt events are
guaranteed to have been delivered.
Since QEMU's implementation is entirely synchronous, syncs are a
no-op for us. This means we can ignore writes to IRS_SYNCR and
always report "sync complete" via the IDLE bit in IRS_SYNC_STATUSR.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Message-id:
20260327111700.795099-31-peter.maydell@linaro.org
case A_IRS_CR1:
*data = cs->irs_cr1[domain];
return true;
+ case A_IRS_SYNC_STATUSR:
+ /* Sync is a no-op for QEMU: we are always IDLE */
+ *data = R_IRS_SYNC_STATUSR_IDLE_MASK;
+ return true;
}
return false;
case A_IRS_CR1:
cs->irs_cr1[domain] = data;
return true;
+ case A_IRS_SYNCR:
+ /* Sync is a no-op for QEMU: ignore write */
+ return true;
}
return false;