Skip to content
Snippets Groups Projects
Commit 698b8eea authored by Song Hui's avatar Song Hui Committed by Linus Walleij
Browse files

gpio/mpc8xxx: change irq handler from chained to normal


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: default avatarLaurentiu Tudor <Laurentiu.Tudor@nxp.com>
Signed-off-by: default avatarAlex Marginean <alexandru.marginean@nxp.com>
Signed-off-by: default avatarSong Hui <hui.song_1@nxp.com>
Link: https://lore.kernel.org/r/20191011005643.41007-1-hui.song_1@nxp.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 95873fba
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment