Commit 18b1bbe2 authored by Tian Tao's avatar Tian Tao Committed by Zheng Zengkai
Browse files

arm_pmu: move to use request_irq by IRQF_NO_AUTOEN flag

mainline inclusion
from mainline-v5.13-rc3
commit 3c1f2eb5
category: bugfix
bugzilla: 175148
CVE: NA
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3c1f2eb5475a4031d9555a38de2467d80019c66a

------------------------------------------------------------------------

request_irq() after setting IRQ_NOAUTOEN as below
irq_set_status_flags(irq, IRQ_NOAUTOEN);
request_irq(dev, irq...);
can be replaced by request_irq() with IRQF_NO_AUTOEN flag.

this patch is made base on "add IRQF_NO_AUTOEN for request_irq" which
is being merged: https://lore.kernel.org/patchwork/patch/1388765/



Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/1622595642-61678-2-git-send-email-tiantao6@hisilicon.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
Reviewed-by: default avatarShaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 6fefa952
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment