Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-20 Thread Mark Brown
On Tue, Dec 17, 2013 at 11:29:14AM +, Catalin Marinas wrote: > - What if two hw vendors have different descriptors for the same device? This one at least is already handled - ACPI ID tables are lists of IDs just the same as everything else so we can have as many different bindings for the

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-20 Thread Mark Brown
On Tue, Dec 17, 2013 at 11:29:14AM +, Catalin Marinas wrote: - What if two hw vendors have different descriptors for the same device? This one at least is already handled - ACPI ID tables are lists of IDs just the same as everything else so we can have as many different bindings for the

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-19 Thread Catalin Marinas
On Thu, Dec 19, 2013 at 02:01:26PM +, Arnd Bergmann wrote: > On Thursday 19 December 2013, Graeme Gregory wrote: > > Hopefully the documenation of what real armv8 server architecture will look > > like will come in the new year. Things like regulators and clocks I do not > > have answers to

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-19 Thread Arnd Bergmann
On Thursday 19 December 2013, Graeme Gregory wrote: > Hopefully the documenation of what real armv8 server architecture will look > like will come in the new year. Things like regulators and clocks I do not > have answers to yet as obviously in Intel world these things are hidden > from view, I do

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-19 Thread Graeme Gregory
On Tue, Dec 17, 2013 at 11:29:14AM +, Catalin Marinas wrote: > Hi Graeme, > > On Mon, Dec 16, 2013 at 08:51:33PM +, Graeme Gregory wrote: > > So the real question now is how do we progress with these ACPI patches? > > After > > repeated incorrect accusations of developing behind closed

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-19 Thread Graeme Gregory
On Tue, Dec 17, 2013 at 11:29:14AM +, Catalin Marinas wrote: Hi Graeme, On Mon, Dec 16, 2013 at 08:51:33PM +, Graeme Gregory wrote: So the real question now is how do we progress with these ACPI patches? After repeated incorrect accusations of developing behind closed doors I am

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-19 Thread Arnd Bergmann
On Thursday 19 December 2013, Graeme Gregory wrote: Hopefully the documenation of what real armv8 server architecture will look like will come in the new year. Things like regulators and clocks I do not have answers to yet as obviously in Intel world these things are hidden from view, I do not

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-19 Thread Catalin Marinas
On Thu, Dec 19, 2013 at 02:01:26PM +, Arnd Bergmann wrote: On Thursday 19 December 2013, Graeme Gregory wrote: Hopefully the documenation of what real armv8 server architecture will look like will come in the new year. Things like regulators and clocks I do not have answers to yet as

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-17 Thread Catalin Marinas
Hi Graeme, On Mon, Dec 16, 2013 at 08:51:33PM +, Graeme Gregory wrote: > So the real question now is how do we progress with these ACPI patches? After > repeated incorrect accusations of developing behind closed doors I am loath > to dissapear back into linaro with them for another few

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-17 Thread Catalin Marinas
Hi Graeme, On Mon, Dec 16, 2013 at 08:51:33PM +, Graeme Gregory wrote: So the real question now is how do we progress with these ACPI patches? After repeated incorrect accusations of developing behind closed doors I am loath to dissapear back into linaro with them for another few months.

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-16 Thread Graeme Gregory
On Mon, Dec 09, 2013 at 06:01:55PM +, Catalin Marinas wrote: > On Mon, Dec 09, 2013 at 05:20:22PM +, Arnd Bergmann wrote: > > On Monday 09 December 2013, Catalin Marinas wrote: > > > CONFIG_PCI does not exist on arm64 yet (we have some internal patches > > > but may not be ready to be

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-16 Thread Graeme Gregory
On Mon, Dec 09, 2013 at 06:01:55PM +, Catalin Marinas wrote: On Mon, Dec 09, 2013 at 05:20:22PM +, Arnd Bergmann wrote: On Monday 09 December 2013, Catalin Marinas wrote: CONFIG_PCI does not exist on arm64 yet (we have some internal patches but may not be ready to be posted before

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-11 Thread Mark Brown
On Wed, Dec 11, 2013 at 04:07:27AM +0100, Arnd Bergmann wrote: > On Tuesday 10 December 2013, Mark Brown wrote: > > That's not my experience especially once you get into phone type > > hardware - there's not much complexity difference when gluing things > > into the system and the fact that it's

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-11 Thread Mark Brown
On Wed, Dec 11, 2013 at 04:07:27AM +0100, Arnd Bergmann wrote: On Tuesday 10 December 2013, Mark Brown wrote: That's not my experience especially once you get into phone type hardware - there's not much complexity difference when gluing things into the system and the fact that it's

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-10 Thread Arnd Bergmann
On Tuesday 10 December 2013, Mark Brown wrote: > On Tue, Dec 10, 2013 at 09:00:20PM +0100, Arnd Bergmann wrote: > > On Tuesday 10 December 2013, Mark Brown wrote: > > > > It's not just the SoC, it's also the rest of the board. The patches the > > > Intel guys are submitting at the minute are

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-10 Thread Mark Brown
On Tue, Dec 10, 2013 at 09:00:20PM +0100, Arnd Bergmann wrote: > On Tuesday 10 December 2013, Mark Brown wrote: > > It's not just the SoC, it's also the rest of the board. The patches the > > Intel guys are submitting at the minute are mainly for the off-SoC > > devices at least as far as I

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-10 Thread Arnd Bergmann
On Tuesday 10 December 2013, Mark Brown wrote: > On Tue, Dec 10, 2013 at 04:28:52AM +0100, Arnd Bergmann wrote: > > On Monday 09 December 2013, Matthew Garrett wrote: > > > > People are trying to deploy ACPI-based embedded x86, and most of the > > > ACPI/DT integration discussion seems to have

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-10 Thread Mark Brown
On Tue, Dec 10, 2013 at 04:28:52AM +0100, Arnd Bergmann wrote: > On Monday 09 December 2013, Matthew Garrett wrote: > > People are trying to deploy ACPI-based embedded x86, and most of the > > ACPI/DT integration discussion seems to have been based on the idea that > > this is a worthwhile

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-10 Thread Linus Walleij
On Mon, Dec 9, 2013 at 6:06 PM, Matthew Garrett wrote: > On Mon, Dec 09, 2013 at 05:35:04PM +0100, Arnd Bergmann wrote: > >> Exactly. In particular we don't want people to get the wrong idea about >> where we are heading, so making it possible to use this code on embedded >> systems for me is a

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-10 Thread Mark Brown
On Tue, Dec 10, 2013 at 04:28:52AM +0100, Arnd Bergmann wrote: On Monday 09 December 2013, Matthew Garrett wrote: People are trying to deploy ACPI-based embedded x86, and most of the ACPI/DT integration discussion seems to have been based on the idea that this is a worthwhile thing to

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-10 Thread Arnd Bergmann
On Tuesday 10 December 2013, Mark Brown wrote: On Tue, Dec 10, 2013 at 04:28:52AM +0100, Arnd Bergmann wrote: On Monday 09 December 2013, Matthew Garrett wrote: People are trying to deploy ACPI-based embedded x86, and most of the ACPI/DT integration discussion seems to have been based

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-10 Thread Mark Brown
On Tue, Dec 10, 2013 at 09:00:20PM +0100, Arnd Bergmann wrote: On Tuesday 10 December 2013, Mark Brown wrote: It's not just the SoC, it's also the rest of the board. The patches the Intel guys are submitting at the minute are mainly for the off-SoC devices at least as far as I noticed.

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-10 Thread Arnd Bergmann
On Tuesday 10 December 2013, Mark Brown wrote: On Tue, Dec 10, 2013 at 09:00:20PM +0100, Arnd Bergmann wrote: On Tuesday 10 December 2013, Mark Brown wrote: It's not just the SoC, it's also the rest of the board. The patches the Intel guys are submitting at the minute are mainly for

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-10 Thread Linus Walleij
On Mon, Dec 9, 2013 at 6:06 PM, Matthew Garrett mj...@srcf.ucam.org wrote: On Mon, Dec 09, 2013 at 05:35:04PM +0100, Arnd Bergmann wrote: Exactly. In particular we don't want people to get the wrong idea about where we are heading, so making it possible to use this code on embedded systems

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Arnd Bergmann
On Monday 09 December 2013, Matthew Garrett wrote: > > On Mon, Dec 09, 2013 at 05:35:04PM +0100, Arnd Bergmann wrote: > > > Exactly. In particular we don't want people to get the wrong idea about > > where we are heading, so making it possible to use this code on embedded > > systems for me is a

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Hanjun Guo
On 2013-12-10 0:55, Catalin Marinas wrote: > On Mon, Dec 09, 2013 at 04:35:04PM +, Arnd Bergmann wrote: >> On Monday 09 December 2013, Hanjun Guo wrote: >>> On 2013-12-9 19:50, Catalin Marinas wrote: On Mon, Dec 09, 2013 at 04:12:24AM +, Hanjun Guo wrote: > > I think the

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Hanjun Guo
On 2013-12-10 1:06, Matthew Garrett wrote: > On Mon, Dec 09, 2013 at 05:35:04PM +0100, Arnd Bergmann wrote: > >> Exactly. In particular we don't want people to get the wrong idea about >> where we are heading, so making it possible to use this code on embedded >> systems for me is a reason *not*

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Rob Herring
On Thu, Dec 5, 2013 at 4:04 PM, Arnd Bergmann wrote: > On Wednesday 04 December 2013, Hanjun Guo wrote: >> On 2013年12月04日 00:41, Matthew Garrett wrote: >> > Given the number of #ifdefs you're adding, wouldn't it make more sense >> > to just add stub functions to include/linux/pci.h? >> >> Thanks

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Catalin Marinas
On Mon, Dec 09, 2013 at 05:20:22PM +, Arnd Bergmann wrote: > On Monday 09 December 2013, Catalin Marinas wrote: > > CONFIG_PCI does not exist on arm64 yet (we have some internal patches > > but may not be ready to be posted before the holidays; they try to share > > code with other archs, so

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Arnd Bergmann
On Monday 09 December 2013, Catalin Marinas wrote: > CONFIG_PCI does not exist on arm64 yet (we have some internal patches > but may not be ready to be posted before the holidays; they try to share > code with other archs, so more discussions before merging). We could add > CONFIG_PCI and some

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Matthew Garrett
On Mon, Dec 09, 2013 at 05:35:04PM +0100, Arnd Bergmann wrote: > Exactly. In particular we don't want people to get the wrong idea about > where we are heading, so making it possible to use this code on embedded > systems for me is a reason *not* to take the patch. People are trying to deploy

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Catalin Marinas
On Mon, Dec 09, 2013 at 04:35:04PM +, Arnd Bergmann wrote: > On Monday 09 December 2013, Hanjun Guo wrote: > > On 2013-12-9 19:50, Catalin Marinas wrote: > > > On Mon, Dec 09, 2013 at 04:12:24AM +, Hanjun Guo wrote: > > >> > > >> I think the concern here is that ACPI is only for server

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Arnd Bergmann
On Monday 09 December 2013, Hanjun Guo wrote: > On 2013-12-9 19:50, Catalin Marinas wrote: > > On Mon, Dec 09, 2013 at 04:12:24AM +, Hanjun Guo wrote: > >> > >> I think the concern here is that ACPI is only for server platform or not. > >> > >> Since ACPI has lots of content related to power

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Hanjun Guo
On 2013-12-9 19:50, Catalin Marinas wrote: > On Mon, Dec 09, 2013 at 04:12:24AM +, Hanjun Guo wrote: >> On 2013-12-7 1:23, Arnd Bergmann wrote: >>> On Friday 06 December 2013, Tomasz Nowicki wrote: On 05.12.2013 23:04, Arnd Bergmann wrote: > On Wednesday 04 December 2013, Hanjun Guo

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Catalin Marinas
On Mon, Dec 09, 2013 at 04:12:24AM +, Hanjun Guo wrote: > On 2013-12-7 1:23, Arnd Bergmann wrote: > > On Friday 06 December 2013, Tomasz Nowicki wrote: > >> On 05.12.2013 23:04, Arnd Bergmann wrote: > >>> On Wednesday 04 December 2013, Hanjun Guo wrote: > On 2013年12月04日 00:41, Matthew

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Catalin Marinas
On Mon, Dec 09, 2013 at 04:12:24AM +, Hanjun Guo wrote: On 2013-12-7 1:23, Arnd Bergmann wrote: On Friday 06 December 2013, Tomasz Nowicki wrote: On 05.12.2013 23:04, Arnd Bergmann wrote: On Wednesday 04 December 2013, Hanjun Guo wrote: On 2013年12月04日 00:41, Matthew Garrett wrote:

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Hanjun Guo
On 2013-12-9 19:50, Catalin Marinas wrote: On Mon, Dec 09, 2013 at 04:12:24AM +, Hanjun Guo wrote: On 2013-12-7 1:23, Arnd Bergmann wrote: On Friday 06 December 2013, Tomasz Nowicki wrote: On 05.12.2013 23:04, Arnd Bergmann wrote: On Wednesday 04 December 2013, Hanjun Guo wrote: On

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Arnd Bergmann
On Monday 09 December 2013, Hanjun Guo wrote: On 2013-12-9 19:50, Catalin Marinas wrote: On Mon, Dec 09, 2013 at 04:12:24AM +, Hanjun Guo wrote: I think the concern here is that ACPI is only for server platform or not. Since ACPI has lots of content related to power management, I

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Catalin Marinas
On Mon, Dec 09, 2013 at 04:35:04PM +, Arnd Bergmann wrote: On Monday 09 December 2013, Hanjun Guo wrote: On 2013-12-9 19:50, Catalin Marinas wrote: On Mon, Dec 09, 2013 at 04:12:24AM +, Hanjun Guo wrote: I think the concern here is that ACPI is only for server platform or not.

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Matthew Garrett
On Mon, Dec 09, 2013 at 05:35:04PM +0100, Arnd Bergmann wrote: Exactly. In particular we don't want people to get the wrong idea about where we are heading, so making it possible to use this code on embedded systems for me is a reason *not* to take the patch. People are trying to deploy

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Arnd Bergmann
On Monday 09 December 2013, Catalin Marinas wrote: CONFIG_PCI does not exist on arm64 yet (we have some internal patches but may not be ready to be posted before the holidays; they try to share code with other archs, so more discussions before merging). We could add CONFIG_PCI and some dummy

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Catalin Marinas
On Mon, Dec 09, 2013 at 05:20:22PM +, Arnd Bergmann wrote: On Monday 09 December 2013, Catalin Marinas wrote: CONFIG_PCI does not exist on arm64 yet (we have some internal patches but may not be ready to be posted before the holidays; they try to share code with other archs, so more

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Rob Herring
On Thu, Dec 5, 2013 at 4:04 PM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 04 December 2013, Hanjun Guo wrote: On 2013年12月04日 00:41, Matthew Garrett wrote: Given the number of #ifdefs you're adding, wouldn't it make more sense to just add stub functions to include/linux/pci.h? Thanks

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Hanjun Guo
On 2013-12-10 1:06, Matthew Garrett wrote: On Mon, Dec 09, 2013 at 05:35:04PM +0100, Arnd Bergmann wrote: Exactly. In particular we don't want people to get the wrong idea about where we are heading, so making it possible to use this code on embedded systems for me is a reason *not* to take

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Hanjun Guo
On 2013-12-10 0:55, Catalin Marinas wrote: On Mon, Dec 09, 2013 at 04:35:04PM +, Arnd Bergmann wrote: On Monday 09 December 2013, Hanjun Guo wrote: On 2013-12-9 19:50, Catalin Marinas wrote: On Mon, Dec 09, 2013 at 04:12:24AM +, Hanjun Guo wrote: I think the concern here is that ACPI

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-09 Thread Arnd Bergmann
On Monday 09 December 2013, Matthew Garrett wrote: On Mon, Dec 09, 2013 at 05:35:04PM +0100, Arnd Bergmann wrote: Exactly. In particular we don't want people to get the wrong idea about where we are heading, so making it possible to use this code on embedded systems for me is a reason

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-08 Thread Hanjun Guo
On 2013-12-7 1:23, Arnd Bergmann wrote: > On Friday 06 December 2013, Tomasz Nowicki wrote: >> On 05.12.2013 23:04, Arnd Bergmann wrote: >>> On Wednesday 04 December 2013, Hanjun Guo wrote: On 2013年12月04日 00:41, Matthew Garrett wrote: > Given the number of #ifdefs you're adding, wouldn't

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-08 Thread Hanjun Guo
On 2013-12-7 1:23, Arnd Bergmann wrote: On Friday 06 December 2013, Tomasz Nowicki wrote: On 05.12.2013 23:04, Arnd Bergmann wrote: On Wednesday 04 December 2013, Hanjun Guo wrote: On 2013年12月04日 00:41, Matthew Garrett wrote: Given the number of #ifdefs you're adding, wouldn't it make more

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-06 Thread Arnd Bergmann
On Friday 06 December 2013, Tomasz Nowicki wrote: > On 05.12.2013 23:04, Arnd Bergmann wrote: > > On Wednesday 04 December 2013, Hanjun Guo wrote: > >> On 2013年12月04日 00:41, Matthew Garrett wrote: > >>> Given the number of #ifdefs you're adding, wouldn't it make more sense > >>> to just add stub

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-06 Thread Tomasz Nowicki
On 05.12.2013 23:04, Arnd Bergmann wrote: On Wednesday 04 December 2013, Hanjun Guo wrote: On 2013年12月04日 00:41, Matthew Garrett wrote: Given the number of #ifdefs you're adding, wouldn't it make more sense to just add stub functions to include/linux/pci.h? Thanks for the suggestion :) I

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-06 Thread Tomasz Nowicki
On 05.12.2013 23:04, Arnd Bergmann wrote: On Wednesday 04 December 2013, Hanjun Guo wrote: On 2013年12月04日 00:41, Matthew Garrett wrote: Given the number of #ifdefs you're adding, wouldn't it make more sense to just add stub functions to include/linux/pci.h? Thanks for the suggestion :) I

Re: [Linaro-acpi] [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-06 Thread Arnd Bergmann
On Friday 06 December 2013, Tomasz Nowicki wrote: On 05.12.2013 23:04, Arnd Bergmann wrote: On Wednesday 04 December 2013, Hanjun Guo wrote: On 2013年12月04日 00:41, Matthew Garrett wrote: Given the number of #ifdefs you're adding, wouldn't it make more sense to just add stub functions to

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-05 Thread Arnd Bergmann
On Wednesday 04 December 2013, Hanjun Guo wrote: > On 2013年12月04日 00:41, Matthew Garrett wrote: > > Given the number of #ifdefs you're adding, wouldn't it make more sense > > to just add stub functions to include/linux/pci.h? > > Thanks for the suggestion :) > > I can add stub functions in

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-05 Thread Arnd Bergmann
On Wednesday 04 December 2013, Hanjun Guo wrote: On 2013年12月04日 00:41, Matthew Garrett wrote: Given the number of #ifdefs you're adding, wouldn't it make more sense to just add stub functions to include/linux/pci.h? Thanks for the suggestion :) I can add stub functions in

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 00:47, One Thousand Gnomes wrote: diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index a6c77e8b..89a181f 100644 --- a/drivers/acpi/reboot.c +++ b/drivers/acpi/reboot.c @@ -3,12 +3,43 @@ #include #include +/* + * There are some rare cases in the ARM world with

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 00:41, Matthew Garrett wrote: Given the number of #ifdefs you're adding, wouldn't it make more sense to just add stub functions to include/linux/pci.h? Thanks for the suggestion :) I can add stub functions in include/linux/pci.h for raw_pci_read()/ raw_pci_write(), then can

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 00:41, Matthew Garrett wrote: Given the number of #ifdefs you're adding, wouldn't it make more sense to just add stub functions to include/linux/pci.h? Thanks for the suggestion :) I can add stub functions in include/linux/pci.h for raw_pci_read()/ raw_pci_write(), then can

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-04 Thread Hanjun Guo
On 2013年12月04日 00:47, One Thousand Gnomes wrote: diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index a6c77e8b..89a181f 100644 --- a/drivers/acpi/reboot.c +++ b/drivers/acpi/reboot.c @@ -3,12 +3,43 @@ #include linux/acpi.h #include acpi/reboot.h +/* + * There are some rare

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-03 Thread One Thousand Gnomes
> diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c > index a6c77e8b..89a181f 100644 > --- a/drivers/acpi/reboot.c > +++ b/drivers/acpi/reboot.c > @@ -3,12 +3,43 @@ > #include > #include > > +/* > + * There are some rare cases in the ARM world with PCI is not one > + * of the buses

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-03 Thread Matthew Garrett
Given the number of #ifdefs you're adding, wouldn't it make more sense to just add stub functions to include/linux/pci.h? -- Matthew Garrett | mj...@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-03 Thread Hanjun Guo
Not all the ARM64 targets that are using ACPI have PCI, so introduce some stub functions to make ACPI core run without CONFIG_PCI on ARM64. Since ACPI on X86 and IA64 depends on PCI, it will not break X86 and IA64 with this patch. Signed-off-by: Graeme Gregory Signed-off-by: Al Stone

[RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-03 Thread Hanjun Guo
Not all the ARM64 targets that are using ACPI have PCI, so introduce some stub functions to make ACPI core run without CONFIG_PCI on ARM64. Since ACPI on X86 and IA64 depends on PCI, it will not break X86 and IA64 with this patch. Signed-off-by: Graeme Gregory graeme.greg...@linaro.org

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-03 Thread Matthew Garrett
Given the number of #ifdefs you're adding, wouldn't it make more sense to just add stub functions to include/linux/pci.h? -- Matthew Garrett | mj...@srcf.ucam.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [RFC part1 PATCH 1/7] ACPI: Make ACPI core running without PCI on ARM64

2013-12-03 Thread One Thousand Gnomes
diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index a6c77e8b..89a181f 100644 --- a/drivers/acpi/reboot.c +++ b/drivers/acpi/reboot.c @@ -3,12 +3,43 @@ #include linux/acpi.h #include acpi/reboot.h +/* + * There are some rare cases in the ARM world with PCI is not one +