Re: [PATCH v10 18/21] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-03-18 Thread Hanjun Guo
On 2015/3/18 23:06, Rafael J. Wysocki wrote: > On Wednesday, March 18, 2015 09:18:20 AM Lorenzo Pieralisi wrote: >> On Mon, Mar 16, 2015 at 11:33:29AM +, Hanjun Guo wrote: >>> On 2015年03月13日 19:04, Lorenzo Pieralisi wrote: On Fri, Mar 13, 2015 at 03:28:45AM +, Hanjun Guo wrote: >>

Re: [PATCH v10 18/21] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-03-18 Thread Rafael J. Wysocki
On Wednesday, March 18, 2015 09:18:20 AM Lorenzo Pieralisi wrote: > On Mon, Mar 16, 2015 at 11:33:29AM +, Hanjun Guo wrote: > > On 2015年03月13日 19:04, Lorenzo Pieralisi wrote: > > > On Fri, Mar 13, 2015 at 03:28:45AM +, Hanjun Guo wrote: > > > > > > [...] > > > > > >>> /* > > >>>* acpi

Re: [PATCH v10 18/21] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-03-18 Thread Lorenzo Pieralisi
On Mon, Mar 16, 2015 at 11:33:29AM +, Hanjun Guo wrote: > On 2015年03月13日 19:04, Lorenzo Pieralisi wrote: > > On Fri, Mar 13, 2015 at 03:28:45AM +, Hanjun Guo wrote: > > > > [...] > > > >>> /* > >>>* acpi_boot_table_init() called from setup_arch(), always. > >>>* 1. find RSDP

Re: [PATCH v10 18/21] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-03-17 Thread Lorenzo Pieralisi
On Mon, Mar 16, 2015 at 11:33:29AM +, Hanjun Guo wrote: [...] > > Patch rewritten, here below, please have a look, test it and rework > > bits as needed, I added comments where I thought they were needed but > > please add to that if you feel it is worth it. > > > > It should be easy to split

Re: [PATCH v10 18/21] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-03-16 Thread Hanjun Guo
On 2015年03月13日 19:04, Lorenzo Pieralisi wrote: On Fri, Mar 13, 2015 at 03:28:45AM +, Hanjun Guo wrote: [...] /* * acpi_boot_table_init() called from setup_arch(), always. *1. find RSDP and get its address, and then find XSDT *2. extract all tables and checksums them all

Re: [PATCH v10 18/21] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-03-13 Thread Lorenzo Pieralisi
On Fri, Mar 13, 2015 at 03:28:45AM +, Hanjun Guo wrote: [...] > > /* > > * acpi_boot_table_init() called from setup_arch(), always. > > * 1. find RSDP and get its address, and then find XSDT > > * 2. extract all tables and checksums them all > > * 3. check ACPI FADT revision > > + *

Re: [PATCH v10 18/21] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-03-12 Thread Hanjun Guo
On 2015/3/13 2:21, Lorenzo Pieralisi wrote: > On Wed, Mar 11, 2015 at 12:39:44PM +, Hanjun Guo wrote: >> From: Al Stone >> >> ACPI reduced hardware mode is disabled by default, but ARM64 >> can only run properly in ACPI hardware reduced mode, so select >> ACPI_REDUCED_HARDWARE_ONLY if ACPI is

Re: [PATCH v10 18/21] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-03-12 Thread Lorenzo Pieralisi
On Wed, Mar 11, 2015 at 12:39:44PM +, Hanjun Guo wrote: > From: Al Stone > > ACPI reduced hardware mode is disabled by default, but ARM64 > can only run properly in ACPI hardware reduced mode, so select > ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64. > > If the firmware is not usin

[PATCH v10 18/21] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-03-11 Thread Hanjun Guo
From: Al Stone ACPI reduced hardware mode is disabled by default, but ARM64 can only run properly in ACPI hardware reduced mode, so select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64. If the firmware is not using hardware reduced ACPI mode, we will disable ACPI to avoid nightmare such