diff options
author | Marc Zyngier <maz@kernel.org> | 2022-02-02 13:34:54 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-02-02 13:43:10 +0300 |
commit | eba1e44beef88aa722f07755f79f604cd5d92290 (patch) | |
tree | 52bdb4df83aa08b301f0141c038e1b0f247df842 /Documentation | |
parent | 26291c54e111ff6ba87a164d85d4a4e134b7315c (diff) | |
download | linux-eba1e44beef88aa722f07755f79f604cd5d92290.tar.xz |
irqchip/gic-v3-its: Skip HP notifier when no ITS is registered
We have some systems out there that have both LPI support and an
ITS, but that don't expose the ITS in their firmware tables
(either because it is broken or because they run under a hypervisor
that hides it...).
Is such a configuration, we still register the HP notifier to free
the allocated tables if needed, resulting in a warning as there is
no memory to free (nothing was allocated the first place).
Fix it by keying the HP notifier on the presence of at least one
sucessfully probed ITS.
Fixes: d23bc2bc1d63 ("irqchip/gic-v3-its: Postpone LPI pending table freeing and memreserve")
Reported-by: Steev Klimaszewski <steev@kali.org>
Tested-by: Steev Klimaszewski <steev@kali.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: Valentin Schneider <valentin.schneider@arm.com>
Link: https://lore.kernel.org/r/20220202103454.2480465-1-maz@kernel.org
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions