Skip to content

Mass convert GPIO IRQ chips to be immutable

Linus Walleij linux-arm-kernel linux-aspeed linux-gpio linux-omap lkml 3 versions – In review

Get series with b4
b4 am [email protected] change-id 20230215-immutable-chips-762922277f1e

Versions newest first

  1. v3 Latest17 patches 3 repliesIn review
  2. v216 patches 4 repliesSuperseded
  3. v117 patches 11 repliesSuperseded

Changes in v3 from the cover letter

- Deleted the irq_chip->name assignment in the Aspeed driver
- Fold in a patch from Joel to make aspeed IRQs compulsory
- Link to v2: https://lore.kernel.org/r/20230215-immutable-chips-v2-0-d6b0e3f2d991 at linaro.org

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17gpio: altera: Convert to immutable irq_chipdrivers/gpio/gpio-altera.c+15 -100 replies
2/17gpio: adnp: Convert to immutable irq_chipdrivers/gpio/gpio-adnp.c+7 -20 replies
3/17gpio: aspeed: Always register the irqchipdrivers/gpio/gpio-aspeed.c+23 -260 replies
4/17gpio: aspeed: Convert to immutable irq_chipdrivers/gpio/gpio-aspeed.c+38 -70 replies
5/17gpio: aspeed-sgpio: Convert to immutable irq_chipdrivers/gpio/gpio-aspeed-sgpio.c+36 -80 replies
6/17gpio: ath79: Convert to immutable irq_chipdrivers/gpio/gpio-ath79.c+6 -20 replies
7/17gpio: cadence: Convert to immutable irq_chipdrivers/gpio/gpio-cadence.c+7 -30 replies
8/17gpio: hisi: Convert to immutable irq_chipdrivers/gpio/gpio-hisi.c+15 -100 replies
9/17gpio: hlwd: Convert to immutable irq_chipdrivers/gpio/gpio-hlwd.c+25 -80 replies
10/17gpio: idt3243x: Convert to immutable irq_chipdrivers/gpio/gpio-idt3243x.c+8 -30 replies
11/17gpio: msc313: Convert to immutable irq_chipdrivers/gpio/gpio-msc313.c+22 -41 reply
12/17gpio: mlxbf2: Convert to immutable irq_chipdrivers/gpio/gpio-mlxbf2.c+25 -70 replies
13/17gpio: max732x: Convert to immutable irq_chipdrivers/gpio/gpio-max732x.c+6 -20 replies
14/17gpio: omap: Drop irq_basedrivers/gpio/gpio-omap.c+0 -150 replies
15/17gpio: omap: Convert to immutable irq_chipdrivers/gpio/gpio-omap.c+45 -230 replies
16/17gpio: pci-idio-16: Convert to immutable irq_chipdrivers/gpio/gpio-pci-idio-16.c+9 -30 replies
17/17gpio: pcie-idio-24: Convert to immutable irq_chipdrivers/gpio/gpio-pcie-idio-24.c+9 -30 replies

Reviews trailers per patch

16 of 17 patches have a Reviewed-by or Acked-by.

PatchMarc ZyngierJoel StanleyThomas BogendoerferArnd BergmannTony LindgrenWilliam Breathitt GrayRomain Perier
1/17A-b
2/17A-b
3/17
4/17A-b T-b
5/17A-b
6/17A-b
7/17A-b
8/17A-b
9/17A-b
10/17A-b T-b
11/17A-b R-b
12/17A-b
13/17A-b
14/17A-b A-b R-b
15/17A-b R-b T-b
16/17A-b A-b
17/17A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/17] Mass convert GPIO IRQ chips to be immutable

We are getting tired of these irq_chips not getting converted to be immutable, so I just take out the big hammer and fix some that I deem not too complex as best I can.

I stopped after doing some, I will take another sweep at some point I guess.

This is v6.4 material.

The last two patches to pci-idio-* (patch 15 and 16) can be omitted if William's patches to convert this driver to regmap GPIO are merged first.

---
Changes in v3:
- Deleted the irq_chip->name assignment in the Aspeed driver
- Fold in a patch from Joel to make aspeed IRQs compulsory
- Link to v2: https://lore.kernel.org/r/20230215-immutable-chips-v2-0-d6b0e3f2d991 at linaro.org

Changes in v2:
- Rebased on v6.3-rc1
- Collected some test and ACK tags
- Link to v1: https://lore.kernel.org/r/20230215-immutable-chips-v1-0-51a8f224a5d0 at linaro.org

---
Joel Stanley (1):
gpio: aspeed: Always register the irqchip

Linus Walleij (16):
gpio: altera: Convert to immutable irq_chip
gpio: adnp: Convert to immutable irq_chip
gpio: aspeed: Convert to immutable irq_chip
gpio: aspeed-sgpio: Convert to immutable irq_chip
gpio: ath79: Convert to immutable irq_chip
gpio: cadence: Convert to immutable irq_chip
gpio: hisi: Convert to immutable irq_chip
gpio: hlwd: Convert to immutable irq_chip
gpio: idt3243x: Convert to immutable irq_chip
gpio: msc313: Convert to immutable irq_chip
gpio: mlxbf2: Convert to immutable irq_chip
gpio: max732x: Convert to immutable irq_chip
gpio: omap: Drop irq_base
gpio: omap: Convert to immutable irq_chip
gpio: pci-idio-16: Convert to immutable irq_chip
gpio: pcie-idio-24: Convert to immutable irq_chip

 drivers/gpio/gpio-adnp.c         |  9 ++++-
 drivers/gpio/gpio-altera.c       | 25 +++++++-----
 drivers/gpio/gpio-aspeed-sgpio.c | 44 +++++++++++++++++----
 drivers/gpio/gpio-aspeed.c       | 82 ++++++++++++++++++++++++++-------------
 drivers/gpio/gpio-ath79.c        |  8 +++-
 drivers/gpio/gpio-cadence.c      | 10 +++--
 drivers/gpio/gpio-hisi.c         | 25 +++++++-----
 drivers/gpio/gpio-hlwd.c         | 33 ++++++++++++----
 drivers/gpio/gpio-idt3243x.c     | 11 ++++--
 drivers/gpio/gpio-max732x.c      |  8 +++-
 drivers/gpio/gpio-mlxbf2.c       | 32 ++++++++++++----
 drivers/gpio/gpio-msc313.c       | 26 +++++++++++--
 drivers/gpio/gpio-omap.c         | 83 ++++++++++++++++++++++------------------
 drivers/gpio/gpio-pci-idio-16.c  | 12 ++++--
 drivers/gpio/gpio-pcie-idio-24.c | 12 ++++--
 15 files changed, 290 insertions(+), 130 deletions(-)

---
base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
change-id: 20230215-immutable-chips-762922277f1e

Best regards,

Signature · 1 line
Linus Walleij <[email protected]>