Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-21 Thread Arnd Bergmann
On Monday 21 December 2015, ok...@codeaurora.org wrote: > Thanks, I won't be touching the acpi tables then and I will assume the > hack had a problem. It was trying to remap the io range of the second root > port to the first port io address map. If all domains share the same I/O space, you shoul

Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-21 Thread Okaya
> On Monday 21 December 2015, Tomasz Nowicki wrote: >> On 21.12.2015 13:10, Lorenzo Pieralisi wrote: >> > On Fri, Dec 18, 2015 at 06:56:39PM +, ok...@codeaurora.org wrote: > >> >> I have multiple root ports with the same IO port configuration in the >> >> current ACPI table. >> >> >> >> Root po

Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-21 Thread Arnd Bergmann
On Monday 21 December 2015, Tomasz Nowicki wrote: > On 21.12.2015 13:10, Lorenzo Pieralisi wrote: > > On Fri, Dec 18, 2015 at 06:56:39PM +, ok...@codeaurora.org wrote: > >> I have multiple root ports with the same IO port configuration in the > >> current ACPI table. > >> > >> Root port 0 = IO

Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-21 Thread Tomasz Nowicki
On 21.12.2015 13:10, Lorenzo Pieralisi wrote: On Fri, Dec 18, 2015 at 06:56:39PM +, ok...@codeaurora.org wrote: [...] Here is what I have as an IO resource. QWORDIO(//Consumed-And-produced resource ResourceProducer, //

Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-21 Thread Lorenzo Pieralisi
On Fri, Dec 18, 2015 at 06:56:39PM +, ok...@codeaurora.org wrote: [...] > Here is what I have as an IO resource. > > QWORDIO(//Consumed-And-produced resource > ResourceProducer, // bit 0 of general flags is 0 >

Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-21 Thread Tomasz Nowicki
On 18.12.2015 19:56, ok...@codeaurora.org wrote: On 17.12.2015 22:24, Sinan Kaya wrote: Hi Tomasz, On 12/16/2015 10:16 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 al

Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-18 Thread okaya
> On 17.12.2015 22:24, Sinan Kaya wrote: >> Hi Tomasz, >> >> On 12/16/2015 10:16 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 >>> colle

Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-18 Thread Tomasz Nowicki
On 17.12.2015 22:24, Sinan Kaya wrote: Hi Tomasz, On 12/16/2015 10:16 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 a

Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-17 Thread Sinan Kaya
Hi Tomasz, On 12/16/2015 10:16 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 no

[PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-16 Thread Tomasz Nowicki
>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 imp