Marc Zyngier 93a68acc49 irqchip/gic: Correctly validate OF quirk descriptors
[ Upstream commit 91539341a3b6e9c868024a4292455dae36e6f58c ]

When checking for OF quirks, make sure either 'compatible' or 'property'
is set, and give up otherwise.

This avoids non-OF quirks being randomly applied as they don't have any
of the OF data that need checking.

Cc: Douglas Anderson <dianders@chromium.org>
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Fixes: 44bd78dd2b88 ("irqchip/gic-v3: Disable pseudo NMIs on Mediatek devices w/ firmware issues")
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-21 15:45:37 +02:00
..
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2022-08-21 15:15:28 +02:00
2020-10-24 10:33:08 -07:00