From mboxrd@z Thu Jan 1 00:00:00 1970 From: jeremy.linton@arm.com (Jeremy Linton) Date: Thu, 14 Jan 2016 16:55:34 -0600 Subject: [PATCH V3 00/21] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI In-Reply-To: <1452691267-32240-1-git-send-email-tn@semihalf.com> References: <1452691267-32240-1-git-send-email-tn@semihalf.com> Message-ID: <56982766.8060000@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 01/13/2016 07:20 AM, Tomasz Nowicki wrote: > From the functionality point of view this series might be split into the > following logic parts: > 1. Make MMCONFIG code arch-agnostic which allows all architectures to collect > PCI config regions and used when necessary. > 2. Move non-arch specific bits to the core code. > 3. Use MMCONFIG code and implement generic ACPI based PCI host controller driver. > 4. Enable above driver on ARM64 > > Patches has been built on top of 4.4 and can be found here: > git at github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v3) I boot tested this on JunoR2 with a recent build of Tianocore EDK2. It works enough to boot the machine with PCIe attached sata, and ethernet, but is throwing messages like: [ 1.094643] pci 0000:00:00.0: BAR 13: no space for [io size 0x2000] [ 1.101022] pci 0000:00:00.0: BAR 13: failed to assign [io size 0x2000] Its also throwing: [ 1.029958] pci 0000:00:00.0: of_irq_parse_pci() failed with rc=-22 [ 1.052784] pci 0000:00:00.0: of_irq_parse_pci() failed with rc=-22 (see other response for the DwordIo resource i'm using).