Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-03-05 Thread Hanjun Guo
On 2015/3/6 2:57, Olof Johansson wrote: > Hi, Hi Olof, > > On Wed, Feb 25, 2015 at 04:39:40PM +0800, Hanjun Guo wrote: >> Changes since v8: >> - remove MPIDR packing things by introducing phys_cpuid_t; >> >> - update patch acpi: fix acpi_os_ioremap for arm64 to follow >> Rafael's suggesti

Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-03-05 Thread Olof Johansson
Hi, On Wed, Feb 25, 2015 at 04:39:40PM +0800, Hanjun Guo wrote: > Changes since v8: > - remove MPIDR packing things by introducing phys_cpuid_t; > > - update patch acpi: fix acpi_os_ioremap for arm64 to follow > Rafael's suggestion; > > - Squash patch (disable ACPI if ACPI less than 5.

Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-03-04 Thread Hanjun Guo
On 2015/3/5 6:56, Rafael J. Wysocki wrote: > On Wednesday, February 25, 2015 04:39:40 PM Hanjun Guo wrote: >> Changes since v8: >> - remove MPIDR packing things by introducing phys_cpuid_t; >> >> - update patch acpi: fix acpi_os_ioremap for arm64 to follow >> Rafael's suggestion; >> >> -

Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-03-04 Thread Timur Tabi
On 02/27/2015 02:50 AM, Ard Biesheuvel wrote: Are you not seeing this on v4.0-rc1 without the patchset applied? Could the crash be inside the subsequent call to SetVirtualAddressMap() instead of inside ExitBootServices()? If so, you have a firmware bug: Mark Rutland spotted a similar bug in the

Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-03-04 Thread Rafael J. Wysocki
On Wednesday, February 25, 2015 04:39:40 PM Hanjun Guo wrote: > Changes since v8: > - remove MPIDR packing things by introducing phys_cpuid_t; > > - update patch acpi: fix acpi_os_ioremap for arm64 to follow > Rafael's suggestion; > > - Squash patch (disable ACPI if ACPI less than 5.1)

Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-02-27 Thread Timur Tabi
On 02/27/2015 02:50 AM, Ard Biesheuvel wrote: On 27 February 2015 at 03:20, Timur Tabi wrote: On 02/25/2015 02:39 AM, Hanjun Guo wrote: Changes since v8: I'm still debugging it, but v9 on the 4.0-rc1 kernel crashes after calling the UEFI boot time services exit function. That is, this lin

Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-02-27 Thread Shannon Zhao
On 2015/2/27 16:37, Hanjun Guo wrote: > Hi Timur, > > On 2015年02月27日 11:20, Timur Tabi wrote: >> On 02/25/2015 02:39 AM, Hanjun Guo wrote: >>> Changes since v8: >> >> I'm still debugging it, but v9 on the 4.0-rc1 kernel crashes after >> calling the UEFI boot time services exit function. That is,

Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-02-27 Thread Mark Rutland
> > I'm still debugging it, but v9 on the 4.0-rc1 kernel crashes after calling > > the UEFI boot time services exit function. That is, this line: > > > > status = sys_table->boottime->exit_boot_services(handle, mmap_key); > > > > in allocate_new_fdt_and_exit_boot() gets called, and then soon after

Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-02-27 Thread Ard Biesheuvel
On 27 February 2015 at 03:20, Timur Tabi wrote: > On 02/25/2015 02:39 AM, Hanjun Guo wrote: >> >> Changes since v8: > > > I'm still debugging it, but v9 on the 4.0-rc1 kernel crashes after calling > the UEFI boot time services exit function. That is, this line: > > status = sys_table->boottime->e

Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-02-27 Thread Hanjun Guo
Hi Timur, On 2015年02月27日 11:20, Timur Tabi wrote: On 02/25/2015 02:39 AM, Hanjun Guo wrote: Changes since v8: I'm still debugging it, but v9 on the 4.0-rc1 kernel crashes after calling the UEFI boot time services exit function. That is, this line: status = sys_table->boottime->exit_boot_ser

Re: [PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-02-26 Thread Timur Tabi
On 02/25/2015 02:39 AM, Hanjun Guo wrote: Changes since v8: I'm still debugging it, but v9 on the 4.0-rc1 kernel crashes after calling the UEFI boot time services exit function. That is, this line: status = sys_table->boottime->exit_boot_services(handle, mmap_key); in allocate_new_fdt_and_

[PATCH v9 00/21] Introduce ACPI for ARM64 based on ACPI 5.1

2015-02-25 Thread Hanjun Guo
Changes since v8: - remove MPIDR packing things by introducing phys_cpuid_t; - update patch acpi: fix acpi_os_ioremap for arm64 to follow Rafael's suggestion; - Squash patch (disable ACPI if ACPI less than 5.1) to patch (Get RSDP and ACPI boot-time table); - Move sleep_arm.c to a