Skip to content

irqchip:support mbigen interrupt controller

MaJun linux-arm-kernel lkml 9 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest4 patches 14 repliesIn review
  2. v94 patches 14 repliesSuperseded
  3. v84 patches 6 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v74 patches0 repliesSuperseded
v6 posting 2/24 patches1 replySuperseded
v6 posting 1/24 patches1 replySuperseded
v53 patches16 repliesSuperseded
v42 patches9 repliesSuperseded
v14 patches11 repliesSuperseded

Changes in v10 from the cover letter

--- Changed some dts file accroidng to Mark's comment.
--- Fixed some wrong variable type problem.
--- Validate the input value in translate function.

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-binding:Documents of the mbigen bindingsDocumentation/devicetree/bindings/arm/mbigen.txt+74 -06 replies
2/4irqchip: add platform device driver for mbigen devicedrivers/irqchip/Kconfig drivers/irqchip/Makefile drivers/irqchip/irq-mbigen.c+87 -00 replies
3/4irqchip:create irq domain for each mbigen devicedrivers/irqchip/irq-mbigen.c+138 -03 replies
4/4irqchip:implement the mbigen irq chip operation functionsdrivers/irqchip/irq-mbigen.c+81 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMarc ZyngierMark Rutland
1/4A-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [PATCH v10 0/4] irqchip:support mbigen interrupt controller

From: Ma Jun <[email protected]>

This patch set adds the driver of mbigen and binding document for Hisilicon Mbigen chips.

Compared with previous version, this version changed much.

Because during the time between V3 and V4 of my patch, there are two related patches were committed by Mr.Marc Zyngier and Mr. Mark Rutland.

First, Mr. Marc Zyngier changed MSI frame and added supporting for platform MSI.

https://lkml.org/lkml/2015/7/28/552

Second, Mr.Mark Rutland changed Generic PCI MSI + IOMMU topology bindings

https://lkml.org/lkml/2015/7/23/558

After V5 patch posted, Mr.Marc Zyngier posted a new patch set "Adding core support for wire-MSI bridges"

https://lkml.org/lkml/2015/10/15/545

So, mbigen patch since v6 is based on this new patch.

Changes in v10:
--- Changed some dts file accroidng to Mark's comment.
--- Fixed some wrong variable type problem.
--- Validate the input value in translate function.
Changes in v9:
--- Fixed typo problem (dts)
--- Removed superfluous data structures
--- Changed clear register offset
Changes in v8:
--- Fixed some tiny bugs.
Changes in v7:
--- Fixed the build test error when applied patch v6 3/4
Changes in v6:
--- Re-based mbigen driver on kernel 4.3.0-rc5 and Marc's new patch --- Change the mbigen chip node definition(dts).
--- Change the interrupt cells definition(dts).
Changes in v5:
--- Split mbigen driver patch into 2 smaller patches.
--- Change mbigen chip and mbigen device initialzing sequence. --- Initializing mbigen device instead of mbigen chip as interrupt controller --- Remove mbigen node from driver to make this driver more easily read. --- Change the mbigen chip node definition(dts).
--- Change the interrupt cells definition(dts).
Changes in v4:
--- Re-based mbigen driver on kernel 4.2.0-rc2 and Marc's patch --- Changed the binding document based on Mark's patch.

Ma Jun (4):
dt-binding:Documents of the mbigen bindings
irqchip: add platform device driver for mbigen device irqchip:create irq domain for each mbigen device irqchip:implement the mbigen irq chip operation functions

 Documentation/devicetree/bindings/arm/mbigen.txt |   74 ++++++
 drivers/irqchip/Kconfig                          |    8 +
 drivers/irqchip/Makefile                         |    1 +
 drivers/irqchip/irq-mbigen.c                     |  297 ++++++++++++++++++++++
 4 files changed, 380 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/mbigen.txt
 create mode 100644 drivers/irqchip/irq-mbigen.c