Re: [PATCH v3 00/14] PCI/MSI: Getting rid of msi_controller, and other cleanups

2021-04-01 Thread Lorenzo Pieralisi
On Tue, 30 Mar 2021 16:11:31 +0100, Marc Zyngier wrote:
> This is a respin of the series described at [1].
> 
> * From v2 [2]:
>   - Fixed the Xilinx driver, thanks to Bharat for testing it
>   - Dropped the no_msi attribute, and solely rely on msi_domain, which
> has the same effect for the only platform that was using it.
>   - Fixed compilation on architectures that do not select the generic
> MSI support
> 
> [...]

I have applied it to pci/msi and should be moved into -next shortly
for further testing/visibility, thanks a lot for putting it together.

[01/14] PCI: tegra: Convert to MSI domains
https://git.kernel.org/lpieralisi/pci/c/973a28677e
[02/14] PCI: rcar: Don't allocate extra memory for the MSI capture address
https://git.kernel.org/lpieralisi/pci/c/c244dc15dc
[03/14] PCI: rcar: Convert to MSI domains
https://git.kernel.org/lpieralisi/pci/c/516286287d
[04/14] PCI: xilinx: Don't allocate extra memory for the MSI capture address
https://git.kernel.org/lpieralisi/pci/c/cc8cf90738
[05/14] PCI: xilinx: Convert to MSI domains
https://git.kernel.org/lpieralisi/pci/c/b66873599e
[06/14] PCI: hv: Drop msi_controller structure
https://git.kernel.org/lpieralisi/pci/c/65b131816a
[07/14] PCI/MSI: Drop use of msi_controller from core code
https://git.kernel.org/lpieralisi/pci/c/54729d2a7a
[08/14] PCI/MSI: Kill msi_controller structure
https://git.kernel.org/lpieralisi/pci/c/27278a3fac
[09/14] PCI/MSI: Kill default_teardown_msi_irqs()
https://git.kernel.org/lpieralisi/pci/c/f68f571db9
[10/14] PCI/MSI: Let PCI host bridges declare their reliance on MSI domains
https://git.kernel.org/lpieralisi/pci/c/419150a4ff
[11/14] PCI/MSI: Make pci_host_common_probe() declare its reliance on MSI 
domains
https://git.kernel.org/lpieralisi/pci/c/98be0634c8
[12/14] PCI: mediatek: Advertise lack of built-in MSI handling
https://git.kernel.org/lpieralisi/pci/c/77cbd88c90
[13/14] PCI/MSI: Document the various ways of ending up with NO_MSI
https://git.kernel.org/lpieralisi/pci/c/44ec480daf
[14/14] PCI: Refactor HT advertising of NO_MSI flag
https://git.kernel.org/lpieralisi/pci/c/18d56e5afe

Thanks,
Lorenzo


Re: [PATCH v3 00/14] PCI/MSI: Getting rid of msi_controller, and other cleanups

2021-04-01 Thread Marc Zyngier
On Thu, 01 Apr 2021 12:27:42 +0100,
Lorenzo Pieralisi  wrote:
> 
> On Tue, 30 Mar 2021 16:11:31 +0100, Marc Zyngier wrote:
> > This is a respin of the series described at [1].
> > 
> > * From v2 [2]:
> >   - Fixed the Xilinx driver, thanks to Bharat for testing it
> >   - Dropped the no_msi attribute, and solely rely on msi_domain, which
> > has the same effect for the only platform that was using it.
> >   - Fixed compilation on architectures that do not select the generic
> > MSI support
> > 
> > [...]
> 
> I have applied it to pci/msi and should be moved into -next shortly
> for further testing/visibility, thanks a lot for putting it together.

Thanks Lorenzo.

M.

-- 
Without deviation from the norm, progress is not possible.


[PATCH v3 00/14] PCI/MSI: Getting rid of msi_controller, and other cleanups

2021-03-30 Thread Marc Zyngier
This is a respin of the series described at [1].

* From v2 [2]:
  - Fixed the Xilinx driver, thanks to Bharat for testing it
  - Dropped the no_msi attribute, and solely rely on msi_domain, which
has the same effect for the only platform that was using it.
  - Fixed compilation on architectures that do not select the generic
MSI support

* From v1:
  - Extracted the changes dealing with the MSI capture address
for rcar and xilinx and moved them to separate patches
  - Changed the rcar code to cope with c4e0fec2f7ee ("PCI: rcar: Always
allocate MSI addresses in 32bit space")
  - Fixed rcar resume code
  - Reworked commit messages
  - Rebased onto v5.12-rc4
  - Collected Acks, and TBs, with thanks.

[1] https://lore.kernel.org/r/20210225151023.3642391-1-...@kernel.org
[2] https://lore.kernel.org/r/20210322184614.802565-1-...@kernel.org

Marc Zyngier (13):
  PCI: tegra: Convert to MSI domains
  PCI: rcar: Don't allocate extra memory for the MSI capture address
  PCI: rcar: Convert to MSI domains
  PCI: xilinx: Don't allocate extra memory for the MSI capture address
  PCI: xilinx: Convert to MSI domains
  PCI: hv: Drop msi_controller structure
  PCI/MSI: Drop use of msi_controller from core code
  PCI/MSI: Kill msi_controller structure
  PCI/MSI: Kill default_teardown_msi_irqs()
  PCI/MSI: Let PCI host bridges declare their reliance on MSI domains
  PCI/MSI: Make pci_host_common_probe() declare its reliance on MSI
domains
  PCI/MSI: Document the various ways of ending up with NO_MSI
  PCI: Refactor HT advertising of NO_MSI flag

Thomas Gleixner (1):
  PCI: mediatek: Advertise lack of built-in MSI handling

 drivers/pci/controller/Kconfig   |   4 +-
 drivers/pci/controller/pci-host-common.c |   1 +
 drivers/pci/controller/pci-hyperv.c  |   4 -
 drivers/pci/controller/pci-tegra.c   | 343 --
 drivers/pci/controller/pcie-mediatek.c   |   4 +
 drivers/pci/controller/pcie-rcar-host.c  | 356 +++
 drivers/pci/controller/pcie-xilinx.c | 246 +++-
 drivers/pci/msi.c|  45 +--
 drivers/pci/probe.c  |   4 +-
 drivers/pci/quirks.c |  15 +-
 include/linux/msi.h  |  17 +-
 include/linux/pci.h  |   3 +-
 12 files changed, 484 insertions(+), 558 deletions(-)

-- 
2.29.2