Re: [Linaro-acpi] [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-20 Thread Catalin Marinas
On Tue, Jan 20, 2015 at 12:26:57PM +, Tomasz Nowicki wrote: > On 20.01.2015 12:00, Catalin Marinas wrote: > > On Tue, Jan 20, 2015 at 02:39:16AM +, Hanjun Guo wrote: > >> On 2015年01月19日 18:42, Catalin Marinas wrote: > >>> On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: >

Re: [Linaro-acpi] [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-20 Thread Tomasz Nowicki
On 20.01.2015 12:00, Catalin Marinas wrote: On Tue, Jan 20, 2015 at 02:39:16AM +, Hanjun Guo wrote: On 2015年01月19日 18:42, Catalin Marinas wrote: On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-20 Thread Hanjun Guo
On 2015年01月20日 19:00, Catalin Marinas wrote: On Tue, Jan 20, 2015 at 02:39:16AM +, Hanjun Guo wrote: On 2015年01月19日 18:42, Catalin Marinas wrote: On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-20 Thread Catalin Marinas
On Tue, Jan 20, 2015 at 02:39:16AM +, Hanjun Guo wrote: > On 2015年01月19日 18:42, Catalin Marinas wrote: > > On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: > >> On 2015年01月16日 17:49, Catalin Marinas wrote: > >>> On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: > ---

Re: [Linaro-acpi] [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-20 Thread Tomasz Nowicki
On 20.01.2015 12:00, Catalin Marinas wrote: On Tue, Jan 20, 2015 at 02:39:16AM +, Hanjun Guo wrote: On 2015年01月19日 18:42, Catalin Marinas wrote: On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-20 Thread Hanjun Guo
On 2015年01月20日 19:00, Catalin Marinas wrote: On Tue, Jan 20, 2015 at 02:39:16AM +, Hanjun Guo wrote: On 2015年01月19日 18:42, Catalin Marinas wrote: On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-20 Thread Catalin Marinas
On Tue, Jan 20, 2015 at 02:39:16AM +, Hanjun Guo wrote: On 2015年01月19日 18:42, Catalin Marinas wrote: On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: ---

Re: [Linaro-acpi] [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-20 Thread Catalin Marinas
On Tue, Jan 20, 2015 at 12:26:57PM +, Tomasz Nowicki wrote: On 20.01.2015 12:00, Catalin Marinas wrote: On Tue, Jan 20, 2015 at 02:39:16AM +, Hanjun Guo wrote: On 2015年01月19日 18:42, Catalin Marinas wrote: On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: On 2015年01月16日

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-19 Thread Hanjun Guo
On 2015年01月19日 18:42, Catalin Marinas wrote: On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: --- a/arch/arm64/kernel/pci.c +++ b/arch/arm64/kernel/pci.c @@ -10,6 +10,7 @@ *

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-19 Thread Catalin Marinas
On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: > On 2015年01月16日 17:49, Catalin Marinas wrote: > > On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: > >> --- a/arch/arm64/kernel/pci.c > >> +++ b/arch/arm64/kernel/pci.c > >> @@ -10,6 +10,7 @@ > >>* > >>*/ > >> > >>

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-19 Thread Catalin Marinas
On Sun, Jan 18, 2015 at 09:29:56AM +, Graeme Gregory wrote: > On Sun, Jan 18, 2015 at 02:46:35PM +0800, Hanjun Guo wrote: > > On 2015年01月18日 14:31, Jon Masters wrote: > > >Hi Folks, > > > > > >Sorry for top posting from bed. The mainstream servers will all likely do > > > PCIe but there are

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-19 Thread Hanjun Guo
On 2015年01月19日 18:42, Catalin Marinas wrote: On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: --- a/arch/arm64/kernel/pci.c +++ b/arch/arm64/kernel/pci.c @@ -10,6 +10,7 @@ *

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-19 Thread Catalin Marinas
On Sun, Jan 18, 2015 at 09:29:56AM +, Graeme Gregory wrote: On Sun, Jan 18, 2015 at 02:46:35PM +0800, Hanjun Guo wrote: On 2015年01月18日 14:31, Jon Masters wrote: Hi Folks, Sorry for top posting from bed. The mainstream servers will all likely do PCIe but there are several that may

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-19 Thread Catalin Marinas
On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: --- a/arch/arm64/kernel/pci.c +++ b/arch/arm64/kernel/pci.c @@ -10,6 +10,7 @@ * */ +#include linux/acpi.h

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-18 Thread Hanjun Guo
On 2015年01月18日 17:29, Graeme Gregory wrote: On Sun, Jan 18, 2015 at 02:46:35PM +0800, Hanjun Guo wrote: On 2015年01月18日 14:31, Jon Masters wrote: Hi Folks, Sorry for top posting from bed. The mainstream servers will all likely do PCIe but there are several that may not. They should not be

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-18 Thread Jon Masters
On 01/18/2015 04:29 AM, Graeme Gregory wrote: > On Sun, Jan 18, 2015 at 02:46:35PM +0800, Hanjun Guo wrote: >> On 2015年01月18日 14:31, Jon Masters wrote: >>> Hi Folks, >>> >>> Sorry for top posting from bed. The mainstream servers will all likely do >>> PCIe but there are several that may not. They

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-18 Thread Graeme Gregory
On Sun, Jan 18, 2015 at 02:46:35PM +0800, Hanjun Guo wrote: > On 2015年01月18日 14:31, Jon Masters wrote: > >Hi Folks, > > > >Sorry for top posting from bed. The mainstream servers will all likely do > > PCIe but there are several that may not. They should not be excluded. That > said, > >if we

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-18 Thread Hanjun Guo
On 2015年01月18日 17:29, Graeme Gregory wrote: On Sun, Jan 18, 2015 at 02:46:35PM +0800, Hanjun Guo wrote: On 2015年01月18日 14:31, Jon Masters wrote: Hi Folks, Sorry for top posting from bed. The mainstream servers will all likely do PCIe but there are several that may not. They should not be

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-18 Thread Graeme Gregory
On Sun, Jan 18, 2015 at 02:46:35PM +0800, Hanjun Guo wrote: On 2015年01月18日 14:31, Jon Masters wrote: Hi Folks, Sorry for top posting from bed. The mainstream servers will all likely do PCIe but there are several that may not. They should not be excluded. That said, if we booted a

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-18 Thread Jon Masters
On 01/18/2015 04:29 AM, Graeme Gregory wrote: On Sun, Jan 18, 2015 at 02:46:35PM +0800, Hanjun Guo wrote: On 2015年01月18日 14:31, Jon Masters wrote: Hi Folks, Sorry for top posting from bed. The mainstream servers will all likely do PCIe but there are several that may not. They should not be

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-17 Thread Hanjun Guo
On 2015年01月18日 14:31, Jon Masters wrote: Hi Folks, Sorry for top posting from bed. The mainstream servers will all likely do > PCIe but there are several that may not. They should not be excluded. That said, >if we booted a previously built kernel on a system without an MCFG and > got no

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-17 Thread Jon Masters
Hi Folks, Sorry for top posting from bed. The mainstream servers will all likely do PCIe but there are several that may not. They should not be excluded. That said, if we booted a previously built kernel on a system without an MCFG and got no ECAM/root then things would probably still work. I

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-17 Thread Hanjun Guo
On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: Since PCI is not required in ACPI spec and ARM can run without it, introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. When PCI

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-17 Thread Jon Masters
Hi Folks, Sorry for top posting from bed. The mainstream servers will all likely do PCIe but there are several that may not. They should not be excluded. That said, if we booted a previously built kernel on a system without an MCFG and got no ECAM/root then things would probably still work. I

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-17 Thread Hanjun Guo
On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: Since PCI is not required in ACPI spec and ARM can run without it, introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. When PCI

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-17 Thread Hanjun Guo
On 2015年01月18日 14:31, Jon Masters wrote: Hi Folks, Sorry for top posting from bed. The mainstream servers will all likely do PCIe but there are several that may not. They should not be excluded. That said, if we booted a previously built kernel on a system without an MCFG and got no

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-16 Thread Catalin Marinas
On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: > Since PCI is not required in ACPI spec and ARM can run without > it, introduce some stub functions to make PCI optional for ACPI, > and make ACPI core run without CONFIG_PCI on ARM64. > > When PCI is enabled on ARM64, ACPI core will

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-16 Thread Catalin Marinas
On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: Since PCI is not required in ACPI spec and ARM can run without it, introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. When PCI is enabled on ARM64, ACPI core will need

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:04 AM, Hanjun Guo wrote: Since PCI is not required in ACPI spec and ARM can run without it, introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. When PCI is enabled on ARM64, ACPI core will need some PCI functions to

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-15 Thread Mark Langsdorf
On 01/14/2015 09:04 AM, Hanjun Guo wrote: Since PCI is not required in ACPI spec and ARM can run without it, introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. When PCI is enabled on ARM64, ACPI core will need some PCI functions to

[PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-14 Thread Hanjun Guo
Since PCI is not required in ACPI spec and ARM can run without it, introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. When PCI is enabled on ARM64, ACPI core will need some PCI functions to make it functional, so introduce some empty

[PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-14 Thread Hanjun Guo
Since PCI is not required in ACPI spec and ARM can run without it, introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. When PCI is enabled on ARM64, ACPI core will need some PCI functions to make it functional, so introduce some empty