commit | cd5de9158511a08b532deb48300a81c883712522 | [log] [tgz] |
---|---|---|
author | Patrick Rudolph <patrick.rudolph@9elements.com> | Thu Mar 20 13:51:58 2025 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Apr 08 16:23:27 2025 -0600 |
tree | 25f03f961bb00f7231acc790831eed04c1a290e3 | |
parent | 82577ff832c82814191cbb0b9f4ae40140d4b858 [diff] |
emulation: qemu-sbsa: Fill in correct ITS ID The ACPI IORT and ACPI MADT needs to use the same IDs when referencing GIC ITS. The GIC-v3 ITS driver uses dev_seq(dev) to generate a unique ID for the MADT, but qemu sbsa-ref hardcodes it. Currently it's not the same ID, breaking interrupt routing on the OS. Don't assume it's 0 and fetch it from the device instead. TEST: Fixes non working IRQs in QEMU sbsa-ref. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>