On 10/13/26 03:38, Peter Maydell wrote:
IN the code for handling reads of IRS_IDR0, we carefully construct
the correct value starting with cs->irs_idr0 and adjusting it.
However, we never actually write the final value into *data, so
the guest will always see zero.
We didn't notice this before, because Linux happens to not care
about this register value except to check for the presence of
virtualization.
Cc:[email protected]
Fixes: 405ad2e76f13254 ("hw/intc/arm_gicv5: Implement IRS ID regs")
Reviewed-by: Jim MacArthur<[email protected]>
Reviewed-by: Philippe Mathieu-Daudé<[email protected]>
Signed-off-by: Peter Maydell<[email protected]>
---
hw/intc/arm_gicv5.c | 1 +
1 file changed, 1 insertion(+)
Reviewed-by: Richard Henderson <[email protected]>
r~