Re: [PATCH v6] gpio/mpc8xxx: change irq handler from chained to normal
From: Linus Walleij <hidden>
Date: 2019-10-03 10:19:58
Also in:
linux-devicetree, linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2019-10-03 10:19:58
Also in:
linux-devicetree, linux-gpio, lkml
On Fri, Sep 27, 2019 at 5:26 AM Hui Song [off-list ref] wrote:
From: Song Hui <redacted>
More than one gpio controllers can share one interrupt, change the
driver to request shared irq.
While this will work, it will mess up userspace accounting of the number
of interrupts per second in tools such as vmstat. The reason is that
for every GPIO interrupt, /proc/interrupts records the count against GIC
interrupt 68 or 69, as well as the GPIO itself. So, for every GPIO
interrupt, the total number of interrupts that the system has seen
increments by two
Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@nxp.com>
Signed-off-by: Alex Marginean <redacted>
Signed-off-by: Song Hui <redacted>
---
Changes in v6:
- change request_irq to devm_request_irq and add commit messageThere is some build error on the patch, can you look into it? Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel