summaryrefslogtreecommitdiffstats
path: root/kernel/kallsyms_internal.h
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-02-13 11:42:43 +0100
committerMarc Zyngier <maz@kernel.org>2023-02-13 20:31:24 +0100
commitb06730a571a9ff1ba5bd6b20bf9e50e5a12f1ec6 (patch)
treef3fdbc115004bf5965ad48dec74a9e12bf824340 /kernel/kallsyms_internal.h
parentLinux 6.2-rc4 (diff)
downloadlinux-b06730a571a9ff1ba5bd6b20bf9e50e5a12f1ec6.tar.xz
linux-b06730a571a9ff1ba5bd6b20bf9e50e5a12f1ec6.zip
irqdomain: Fix association race
The sanity check for an already mapped virq is done outside of the irq_domain_mutex-protected section which means that an (unlikely) racing association may not be detected. Fix this by factoring out the association implementation, which will also be used in a follow-on change to fix a shared-interrupt mapping race. Fixes: ddaf144c61da ("irqdomain: Refactor irq_domain_associate_many()") Cc: stable@vger.kernel.org # 3.11 Tested-by: Hsin-Yi Wang <hsinyi@chromium.org> Tested-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230213104302.17307-2-johan+linaro@kernel.org
Diffstat (limited to 'kernel/kallsyms_internal.h')
0 files changed, 0 insertions, 0 deletions