diff options
| author | Thomas Gleixner <[email protected]> | 2024-02-25 15:56:12 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-02-25 17:53:08 +0000 |
| commit | c147e1ef59d4751a60687074e4268ecc0ef31b5c (patch) | |
| tree | c4a51be7f3ceb4f4a651cdc8aac1449d09e6232e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | genirq/matrix: Dynamic bitmap allocation (diff) | |
| download | kernel-c147e1ef59d4751a60687074e4268ecc0ef31b5c.tar.gz kernel-c147e1ef59d4751a60687074e4268ecc0ef31b5c.zip | |
x86/apic/msi: Use DOMAIN_BUS_GENERIC_MSI for HPET/IO-APIC domain search
The recent restriction to invoke irqdomain_ops::select() only when the
domain bus token is not DOMAIN_BUS_ANY breaks the search for the parent MSI
domain of HPET and IO-APIC. The latter causes a full boot fail.
The restriction itself makes sense to avoid adding DOMAIN_BUS_ANY matches
into the various ARM specific select() callbacks. Reverting this change
would obviously break ARM platforms again and require DOMAIN_BUS_ANY
matches added to various places.
A simpler solution is to use the DOMAIN_BUS_GENERIC_MSI token for the HPET
and IO-APIC parent domain search. This works out of the box because the
affected parent domains check only for the firmware specification content
and not for the bus token.
Fixes: 5aa3c0cf5bba ("genirq/irqdomain: Don't call ops->select for DOMAIN_BUS_ANY tokens")
Reported-by: Borislav Petkov (AMD) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/878r38cy8n.ffs@tglx
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
