From: Tian Tao <tiantao6@hisilicon.com> Date: 2021-06-02 01:01:02
patch #1 and #2 both use IRQF_NO_AUTOEN instead of
irq_set_status_flags(irq, IRQ_NOAUTOEN). this change is just to simplify
the code, no actual functional changes.
Tian Tao (2):
arm_pmu: move to use request_irq by IRQF_NO_AUTOEN flag
perf: qcom_l2_pmu: move to use request_irq by IRQF_NO_AUTOEN flag
drivers/perf/arm_pmu.c | 4 +---
drivers/perf/qcom_l2_pmu.c | 4 ++--
2 files changed, 3 insertions(+), 5 deletions(-)
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Tian Tao <tiantao6@hisilicon.com> Date: 2021-06-02 01:01:02
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: Tian Tao <tiantao6@hisilicon.com>
---
drivers/perf/arm_pmu.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -644,11 +644,9 @@ int armpmu_request_irq(int irq, int cpu)}irq_flags=IRQF_PERCPU|-IRQF_NOBALANCING|+IRQF_NOBALANCING|IRQF_NO_AUTOEN|IRQF_NO_THREAD;-irq_set_status_flags(irq,IRQ_NOAUTOEN);-err=request_nmi(irq,handler,irq_flags,"arm-pmu",per_cpu_ptr(&cpu_armpmu,cpu));
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Tian Tao <tiantao6@hisilicon.com> Date: 2021-06-02 01:01:03
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: Tian Tao <tiantao6@hisilicon.com>
---
drivers/perf/qcom_l2_pmu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: Mark Rutland <mark.rutland@arm.com> Date: 2021-06-02 10:14:26
On Wed, Jun 02, 2021 at 09:00:41AM +0800, Tian Tao wrote:
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: Tian Tao <tiantao6@hisilicon.com>
I see that the patch above was merged in v5.13-rc1 as commit:
cbe16f35bee6880b ("genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()")
With that in mind:
Acked-by: Mark Rutland <mark.rutland@arm.com>
... I expect Will will pick this up.
Thanks,
Mark.
@@ -644,11 +644,9 @@ int armpmu_request_irq(int irq, int cpu)}irq_flags=IRQF_PERCPU|-IRQF_NOBALANCING|+IRQF_NOBALANCING|IRQF_NO_AUTOEN|IRQF_NO_THREAD;-irq_set_status_flags(irq,IRQ_NOAUTOEN);-err=request_nmi(irq,handler,irq_flags,"arm-pmu",per_cpu_ptr(&cpu_armpmu,cpu));
From: Mark Rutland <mark.rutland@arm.com> Date: 2021-06-02 10:16:07
On Wed, Jun 02, 2021 at 09:00:42AM +0800, Tian Tao wrote:
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: Tian Tao <tiantao6@hisilicon.com>
As with patch 1, I see that the patch above was merged in v5.13-rc1 as commit:
cbe16f35bee6880b ("genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()")
With that in mind:
Acked-by: Mark Rutland <mark.rutland@arm.com>
I expect Will will pick this up.
Thanks,
Mark.
From: Will Deacon <will@kernel.org> Date: 2021-06-02 17:06:33
On Wed, 2 Jun 2021 09:00:40 +0800, Tian Tao wrote:
patch #1 and #2 both use IRQF_NO_AUTOEN instead of
irq_set_status_flags(irq, IRQ_NOAUTOEN). this change is just to simplify
the code, no actual functional changes.
Tian Tao (2):
arm_pmu: move to use request_irq by IRQF_NO_AUTOEN flag
perf: qcom_l2_pmu: move to use request_irq by IRQF_NO_AUTOEN flag
[...]