summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-02-13 13:42:46 +0300
committerMarc Zyngier <maz@kernel.org>2023-02-13 22:31:24 +0300
commit6e6f75c9c98d2d246d90411ff2b6f0cd271f4cba (patch)
tree69c5064fe63939fd1490edf68b343a18a757f9b7 /scripts/gdb/linux/utils.py
parente3b7ab025e931accdc2c12acf9b75c6197f1c062 (diff)
downloadlinux-6e6f75c9c98d2d246d90411ff2b6f0cd271f4cba.tar.xz
irqdomain: Look for existing mapping only once
Avoid looking for an existing mapping twice when creating a new mapping using irq_create_fwspec_mapping() by factoring out the actual allocation which is shared with irq_create_mapping_affinity(). The new helper function will also be used to fix a shared-interrupt mapping race, hence the Fixes tag. Fixes: b62b2cf5759b ("irqdomain: Fix handling of type settings for existing mappings") Cc: stable@vger.kernel.org # 4.8 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-5-johan+linaro@kernel.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions