[RFC PATCH 0/3] ACPI PCI support for arm64

Lorenzo Pieralisi lorenzo.pieralisi at arm.com
Thu Dec 3 03:02:38 PST 2015


[Resend, LAKML copied-in]

On Thu, Dec 03, 2015 at 10:56:28AM +0000, Lorenzo Pieralisi wrote:
> [CC'ing Tomasz]
> 
> On Thu, Dec 03, 2015 at 03:54:43AM +0530, Jayachandran C wrote:
> > This is a very simple and generic implementation of a PCI host controller
> > based on ACPI. This approach does not pull in the MMCONFIG and ECAM code
> > from x86.
> 
> Why ? Tomasz's patchset does not move MMCONFIG and ECAM code to the generic
> PCI layer for fun, it is generic code and should be shared by all
> architectures and most importantly we should not add more churn on
> top of it which would complicate consolidation even further.
> 
> > It is important for us to have a working ACPI based PCI host controller
> > implementation for arm64, so I thought I would post this as a simple
> > and less disruptive alternative.
> 
> It is important for everyone but that's not a reason granting shortcuts.
> 
> > This is tested with arm64 QEMU and OVMF. Comments are very welcome.
> 
> Tomasz's patch went through several review cycles, please help review
> it and test it, that's my comment.
> 
> A new version should be posted soon, previous version here:
> 
> https://lkml.org/lkml/2015/10/27/504
> 
> Thanks,
> Lorenzo
> 
> > 
> > Thanks,
> > JC.
> > 
> > Jayachandran C (3):
> >   arm64: pci: Add ACPI support
> >   pci: Handle NULL parent in pci_bus_assign_domain_nr
> >   pci/host : Add a generic ACPI based host controller
> > 
> >  arch/arm64/kernel/pci.c          |  47 ++++++++-
> >  drivers/pci/host/Kconfig         |   7 ++
> >  drivers/pci/host/Makefile        |   1 +
> >  drivers/pci/host/pci-host-acpi.c | 211 +++++++++++++++++++++++++++++++++++++++
> >  drivers/pci/pci.c                |   7 +-
> >  5 files changed, 270 insertions(+), 3 deletions(-)
> >  create mode 100644 drivers/pci/host/pci-host-acpi.c
> > 
> > -- 
> > 1.9.1
> > 
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> > the body of a message to majordomo at vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > 



More information about the linux-arm-kernel mailing list