Re: [PATCH v8 02/21] acpi: fix acpi_os_ioremap for arm64

2015-02-03 Thread Hanjun Guo
On 2015年02月03日 06:14, Rafael J. Wysocki wrote: On Monday, February 02, 2015 08:45:30 PM Hanjun Guo wrote: From: Mark Salter msal...@redhat.com The acpi_os_ioremap() function may be used to map normal RAM or IO regions. The current implementation simply uses ioremap_cache(). This will work

Re: [PATCH v8 15/21] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2015-02-08 Thread Hanjun Guo
On 2015年02月09日 14:34, Will Deacon wrote: On Mon, Feb 02, 2015 at 12:45:43PM +, Hanjun Guo wrote: Introduce ACPI_IRQ_MODEL_GIC which is needed for ARM64 as GIC is used, and then register device's gsi with the core IRQ subsystem. acpi_register_gsi() is similar to DT based

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 07/17] ARM64 / ACPI: Disable ACPI if FADT revision is less than 5.1

2015-01-19 Thread Hanjun Guo
On 2015年01月19日 19:50, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:55PM +, Hanjun Guo wrote: --- a/arch/arm64/kernel/acpi.c +++ b/arch/arm64/kernel/acpi.c [...] @@ -64,8 +88,13 @@ void __init acpi_boot_table_init(void) return; /* Initialize the ACPI boot

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

Re: [PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-20 Thread Hanjun Guo
wrote: On Mon, Jan 19, 2015 at 11:55:32AM +, Ard Biesheuvel wrote: On 19 January 2015 at 11:42, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Jan 14, 2015 at 03:04:52PM +, Hanjun Guo wrote: From: Al Stone al.st...@linaro.org Introduce one early parameters off and force for acpi

Re: [PATCH v7 10/17] ARM64 / ACPI: Parse MADT for SMP initialization

2015-01-20 Thread Hanjun Guo
Hi Lorenzo, Sorry for the late reply, I was updating this patch according to your comments and see if it works, inline reply below. On 2015年01月17日 02:18, Lorenzo Pieralisi wrote: Hi Hanjun, On Wed, Jan 14, 2015 at 03:04:58PM +, Hanjun Guo wrote: [...] diff --git a/arch/arm64/include

Re: [PATCH v7 11/17] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-01-20 Thread Hanjun Guo
On 2015年01月20日 19:17, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:59PM +, Hanjun Guo wrote: --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c @@ -64,6 +64,38 @@ static int map_lsapic_id(struct acpi_subtable_header *entry, return 0; } +/* + * On ARM

Re: [PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-20 Thread Hanjun Guo
On 2015年01月20日 19:10, Mark Rutland wrote: On Tue, Jan 20, 2015 at 09:29:14AM +, Hanjun Guo wrote: On 2015年01月20日 02:01, Mark Rutland wrote: On Mon, Jan 19, 2015 at 05:52:33PM +, Catalin Marinas wrote: On Mon, Jan 19, 2015 at 04:59:47PM +, Jon Masters wrote: On 01/19/2015 10:13 AM

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-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 07/17] ARM64 / ACPI: Disable ACPI if FADT revision is less than 5.1

2015-01-17 Thread Hanjun Guo
On 2015年01月16日 22:33, Lorenzo Pieralisi wrote: On Wed, Jan 14, 2015 at 03:04:55PM +, Hanjun Guo wrote: FADT Major.Minor version was introduced in ACPI 5.1, it is the same as ACPI version. In ACPI 5.1, some major gaps are fixed for ARM, such as updates in MADT table for GIC and SMP init

Re: [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-17 Thread Hanjun Guo
On 2015年01月16日 18:10, Catalin Marinas wrote: On Thu, Jan 15, 2015 at 08:04:37PM +, Jason Cooper wrote: On Thu, Jan 15, 2015 at 07:02:20PM +, Mark Brown wrote: On Thu, Jan 15, 2015 at 06:23:47PM +, Catalin Marinas wrote: On Thu, Jan 15, 2015 at 04:26:20PM +, Grant Likely wrote:

Re: [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-15 Thread Hanjun Guo
On 2015年01月16日 02:23, Catalin Marinas wrote: Hi Grant, On Thu, Jan 15, 2015 at 04:26:20PM +, Grant Likely wrote: On Wed, Jan 14, 2015 at 3:04 PM, Hanjun Guo hanjun@linaro.org wrote: This is the v7 of ACPI core patches for ARM64 based on ACPI 5.1 I'll get right to the point: Can we

Re: [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-15 Thread Hanjun Guo
On 2015年01月16日 04:31, Mark Brown wrote: On Thu, Jan 15, 2015 at 03:04:37PM -0500, Jason Cooper wrote: On Thu, Jan 15, 2015 at 07:02:20PM +, Mark Brown wrote: There's probably a bit of a process problem here - these patches are all being posted as part of big and apparently controversial

[PATCH v7 01/17] arm64: allow late use of early_ioremap

2015-01-14 Thread Hanjun Guo
Lindholm leif.lindh...@linaro.org CC: Ard Biesheuvel ard.biesheu...@linaro.org [hj: update the change log] Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/fixmap.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/include/asm/fixmap.h b/arch/arm64/include

[PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-14 Thread Hanjun Guo
...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- Documentation/kernel-parameters.txt | 3 ++- arch/arm64/include/asm/acpi.h | 9 + arch/arm64/kernel/acpi.c| 17 + arch/arm64/kernel/setup.c | 3 +++ 4 files changed, 31 insertions(+), 1

[PATCH v7 08/17] ARM64 / ACPI: Get PSCI flags in FADT for PSCI init

2015-01-14 Thread Hanjun Guo
+ is supported in ACPI. Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Tomasz Nowicki tomasz.nowi...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64

[PATCH v7 09/17] ACPI / table: Print GIC information when MADT is parsed

2015-01-14 Thread Hanjun Guo
] enabled) These information will be very helpful to bring up early systems to see if acpi_id and MPIDR are matched or not as spec defined. Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Hanjun Guo hanjun@linaro.org

[PATCH v7 02/17] ARM64 / ACPI: Get RSDP and ACPI boot-time tables

2015-01-14 Thread Hanjun Guo
Gregory graeme.greg...@linaro.org Signed-off-by: Tomasz Nowicki tomasz.nowi...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acenv.h | 18 +++ arch/arm64/include/asm/acpi.h | 45 +++ arch/arm64/kernel/Makefile | 1 + arch

[PATCH v7 10/17] ARM64 / ACPI: Parse MADT for SMP initialization

2015-01-14 Thread Hanjun Guo
protocol is ready. Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Hanjun Guo hanjun@linaro.org Signed-off-by: Tomasz Nowicki tomasz.nowi...@linaro.org --- arch/arm64/include/asm/acpi.h| 2 + arch/arm64/include

[PATCH v7 12/17] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2015-01-14 Thread Hanjun Guo
-by: Amit Daniel Kachhap amit.dan...@samsung.com Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/acpi.c | 73 drivers/acpi

[PATCH v7 11/17] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-01-14 Thread Hanjun Guo
suravee.suthikulpa...@amd.com Tested-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acpi.h | 29 + arch/arm64/kernel/acpi.c | 1 - drivers/acpi/processor_core.c | 37 + 3 files

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

2015-01-14 Thread Hanjun Guo
-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/pci.h | 6 ++ arch/arm64/kernel/pci.c | 28 drivers/acpi/Makefile| 2 +- drivers/acpi/internal.h | 5 + include/linux/pci.h | 37 +++-- 5

[PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-14 Thread Hanjun Guo
Hi, This is the v7 of ACPI core patches for ARM64 based on ACPI 5.1 updates from v6: - Rebased on top of 3.19-rc4, add Mack Salter's patch to use the early_ioremap after paging_init() for ACPI table mappings; - Two patches about converting apic_id to phys_id to make it arch agnostic

[PATCH v7 03/17] ARM64 / ACPI: Introduce sleep-arm.c

2015-01-14 Thread Hanjun Guo
Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Tomasz Nowicki tomasz.nowi...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- drivers/acpi/Makefile| 4 drivers

[PATCH v7 15/17] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-01-14 Thread Hanjun Guo
Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index b1f9a20

[PATCH v7 17/17] Documentation: ACPI for ARM64

2015-01-14 Thread Hanjun Guo
Stone al.st...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- Documentation/arm64/arm-acpi.txt | 327 +++ 1 file changed, 327 insertions(+) create mode 100644 Documentation/arm64/arm-acpi.txt diff --git a/Documentation/arm64/arm-acpi.txt b

[PATCH v7 14/17] ARM64 / ACPI: Parse GTDT to initialize arch timer

2015-01-14 Thread Hanjun Guo
Using the information presented by GTDT to initialize the arch timer (not memory-mapped). Originally-by: Amit Daniel Kachhap amit.dan...@samsung.com Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Hanjun Guo hanjun

[PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-14 Thread Hanjun Guo
Nowicki tomasz.nowi...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/acpi.c | 26 + drivers/irqchip/irq-gic.c| 108 +++ drivers/irqchip/irqchip.c| 3 + include/linux/irqchip/arm-gic-acpi.h

[PATCH v7 16/17] ARM64 / ACPI: Enable ARM64 in Kconfig

2015-01-14 Thread Hanjun Guo
...@linaro.org Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/Kconfig | 2

[PATCH v7 07/17] ARM64 / ACPI: Disable ACPI if FADT revision is less than 5.1

2015-01-14 Thread Hanjun Guo
Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/acpi.c | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64

[PATCH v7 05/17] ARM64 / ACPI: If we chose to boot from acpi then disable FDT

2015-01-14 Thread Hanjun Guo
...@amd.com Tested-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/kernel/setup.c b/arch/arm64

Re: [PATCH v6 17/17] Documentation: ACPI for ARM64

2015-01-21 Thread Hanjun Guo
Hi Christoffer, Sorry for the late reply, I got no answer yet but with one question below. On 2015年01月20日 04:33, Christoffer Dall wrote: Hi, On Sun, Jan 04, 2015 at 06:55:18PM +0800, Hanjun Guo wrote: From: Graeme Gregory graeme.greg...@linaro.org Add documentation for the guidelines of how

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

2015-02-12 Thread Hanjun Guo
On 2015年02月12日 18:02, Robert Richter wrote: On 02.02.15 20:45:28, Hanjun Guo wrote: This is the v8 of ACPI core patches for ARM64 based on ACPI 5.1, there are some updates since v7: - Add two more documantation to explain why we need ACPI in ARM64 servers by Grant, and recommendations

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

2015-02-12 Thread Hanjun Guo
Hi Jonathan, On 2015年02月13日 08:50, Jonathan (Zhixiong) Zhang wrote: On 02/02/2015 05:45 AM, Hanjun Guo wrote: From: Al Stone al.stone at linaro.org Two more documentation files are also being added: (1) A verbatim copy of the Why ACPI on ARM? blog posting by Grant Likely, which is also

Re: [PATCH v7 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-28 Thread Hanjun Guo
On 2015年01月28日 01:46, Timur Tabi wrote: On 01/14/2015 09:04 AM, Hanjun Guo wrote: This is the v7 of ACPI core patches for ARM64 based on ACPI 5.1 Tested-by: Timur Tabi ti...@codeaurora.org Thanks! However, these 17 patches are insufficient to make ACPI work completely on ARM64. I need

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-23 Thread Hanjun Guo
On 2015年01月22日 22:46, Marc Zyngier wrote: Hi Hanjun, On 22/01/15 12:46, Hanjun Guo wrote: Hi Marc, We (Tomasz, Suravee and me) are working on supporting stacked domain on ACPI, and rework GIC ACPI related patch, before we going further, we need your guidance to see if we are going the right

Re: [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-06 Thread Hanjun Guo
On 2015年01月05日 19:05, Catalin Marinas wrote: On Sun, Jan 04, 2015 at 09:39:24AM +, Hanjun Guo wrote: On 2014年12月25日 01:18, Catalin Marinas wrote: [...] In addition to the above and _DSD requirements/banning, I would also add some clear statements around: _OSC: only global/published

Re: [PATCH v6 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-06 Thread Hanjun Guo
On 2015年01月06日 15:05, Yijing Wang wrote: On 2015/1/4 18:55, Hanjun Guo wrote: Hi, Hello Hanjun, We tested your v5 patch set (and added some GICv3 patches) on Hisilicon ARM64 SoC hardware, from your change log for v6, there is only one functional change to fix the NULL pointer, I think

Re: 答复: [PATCH v6 17/17] Documentation: ACPI for ARM64

2015-01-06 Thread Hanjun Guo
Hi Yi, On 2015年01月06日 17:52, liyi 00215672 wrote: In traditional telecom market, what confused us(Huawei) was our software and hardware coupling together oftentimes. So if we change some hardware then we MUST modify our software, which was not our customer’s expectation. In x86 world, we have

Re: [PATCH v6 14/17] ARM64 / ACPI: Parse GTDT to initialize arch timer

2015-01-05 Thread Hanjun Guo
On 2015年01月05日 15:55, Suthikulpanit, Suravee wrote: On 1/4/15, 04:55, Hanjun Guo hanjun@linaro.org wrote: Using the information presented by GTDT to initialize the arch timer (not memory-mapped). Originally-by: Amit Daniel Kachhap amit.dan...@samsung.com Tested-by: Suravee Suthikulpanit

Re: [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-06 Thread Hanjun Guo
On 2015年01月06日 21:54, G Gregory wrote: On 6 January 2015 at 13:50, Hanjun Guo hanjun@linaro.org wrote: On 2015年01月06日 19:29, Catalin Marinas wrote: On Tue, Jan 06, 2015 at 11:11:07AM +, Hanjun Guo wrote: On 2015年01月05日 19:05, Catalin Marinas wrote: On Sun, Jan 04, 2015 at 09:39

Re: [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-06 Thread Hanjun Guo
On 2015年01月06日 19:29, Catalin Marinas wrote: On Tue, Jan 06, 2015 at 11:11:07AM +, Hanjun Guo wrote: On 2015年01月05日 19:05, Catalin Marinas wrote: On Sun, Jan 04, 2015 at 09:39:24AM +, Hanjun Guo wrote: On 2014年12月25日 01:18, Catalin Marinas wrote: [...] In addition to the above

Re: [PATCH v6 08/17] ARM64 / ACPI: Parse FADT table to get PSCI flags for PSCI init

2015-01-11 Thread Hanjun Guo
On 2015年01月10日 03:04, Lorenzo Pieralisi wrote: On Sun, Jan 04, 2015 at 10:55:09AM +, Hanjun Guo wrote: There are two flags: PSCI_COMPLIANT and PSCI_USE_HVC. When set, the former signals to the OS that the firmware is PSCI compliant. The latter selects the appropriate conduit for PSCI calls

Re: [PATCH v6 01/17] ACPI / processor: Convert apic_id to phys_id to make it arch agnostic

2015-01-07 Thread Hanjun Guo
On 2015年01月07日 09:50, Rafael J. Wysocki wrote: On Sunday, January 04, 2015 06:55:02 PM Hanjun Guo wrote: From: Hanjun Guo hanjun@linaro.com apic_id in MADT table is the CPU hardware id which identify it self in the system for x86 and ia64, OSPM will use it for SMP init to map APIC ID

Re: [PATCH] arm64: allow late use of early_ioremap

2015-01-14 Thread Hanjun Guo
Hi Mark, On 2015年01月13日 03:09, Mark Salter wrote: On Mon, 2015-01-12 at 17:25 +, Will Deacon wrote: On Mon, Jan 12, 2015 at 04:55:11PM +, Mark Salter wrote: Commit 0e63ea48b4d8 (arm64/efi: add missing call to early_ioremap_reset()) added a missing call to early_ioremap_reset(). This

Re: [PATCH v6 08/17] ARM64 / ACPI: Parse FADT table to get PSCI flags for PSCI init

2015-01-12 Thread Hanjun Guo
On 2015年01月12日 19:41, Lorenzo Pieralisi wrote: On Mon, Jan 12, 2015 at 04:26:41AM +, Hanjun Guo wrote: On 2015年01月10日 03:04, Lorenzo Pieralisi wrote: On Sun, Jan 04, 2015 at 10:55:09AM +, Hanjun Guo wrote: There are two flags: PSCI_COMPLIANT and PSCI_USE_HVC. When set, the former

Re: [PATCH] sata: xgene: add ACPI support for APM X-Gene SATA ports

2015-01-12 Thread Hanjun Guo
On 2015年01月13日 05:07, Suman Tripathi wrote: Hi, Tested-by: Suman Tripathi stripa...@apm.com On Thu, Jan 8, 2015 at 11:35 PM, Hanjun Guo hanjun@linaro.org mailto:hanjun@linaro.org wrote: On 2015年01月09日 01:56, Feng Kan wrote: On Wed, Jan 7, 2015 at 11:50 PM, Hanjun Guo

Re: [PATCH v8 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-02-05 Thread Hanjun Guo
On 2015年02月04日 19:21, Catalin Marinas wrote: On Wed, Feb 04, 2015 at 09:48:05AM +, Hanjun Guo wrote: On 2015年02月04日 04:09, Catalin Marinas wrote: diff --git a/arch/arm64/include/asm/acpi.h b/arch/arm64/include/asm/acpi.h index ea4d2b35c57b..4fafd62b1b86 100644 --- a/arch/arm64/include/asm

[PATCH v6 15/17] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-01-04 Thread Hanjun Guo
Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index b1f9a20..c19ae5d 100644 --- a/arch/arm64/Kconfig +++ b

[PATCH v6 17/17] Documentation: ACPI for ARM64

2015-01-04 Thread Hanjun Guo
-by: Hanjun Guo hanjun@linaro.org --- Documentation/arm64/arm-acpi.txt | 327 +++ 1 file changed, 327 insertions(+) create mode 100644 Documentation/arm64/arm-acpi.txt diff --git a/Documentation/arm64/arm-acpi.txt b/Documentation/arm64/arm-acpi.txt new file mode

[PATCH v6 14/17] ARM64 / ACPI: Parse GTDT to initialize arch timer

2015-01-04 Thread Hanjun Guo
Using the information presented by GTDT to initialize the arch timer (not memory-mapped). Originally-by: Amit Daniel Kachhap amit.dan...@samsung.com Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/time.c

[PATCH v6 16/17] ARM64 / ACPI: Enable ARM64 in Kconfig

2015-01-04 Thread Hanjun Guo
...@linaro.org Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/Kconfig | 2 ++ drivers/acpi/Kconfig | 6 +++--- 2 files

[PATCH v6 12/17] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2015-01-04 Thread Hanjun Guo
-by: Amit Daniel Kachhap amit.dan...@samsung.com Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/acpi.c | 73 drivers/acpi/bus.c | 3 ++ include/linux/acpi.h

[PATCH v6 04/17] ARM64 / ACPI: Introduce sleep-arm.c

2015-01-04 Thread Hanjun Guo
Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Tomasz Nowicki tomasz.nowi...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- drivers/acpi/Makefile| 4 drivers/acpi/sleep-arm.c | 28

[PATCH v6 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-04 Thread Hanjun Guo
-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/acpi.c | 26 + drivers/irqchip/irq-gic.c| 108 +++ drivers/irqchip/irqchip.c| 3 + include/linux/irqchip/arm-gic-acpi.h | 31 ++ 4 files changed, 168

[PATCH v6 10/17] ARM64 / ACPI: Parse MADT for SMP initialization

2015-01-04 Thread Hanjun Guo
protocol is ready. Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Hanjun Guo hanjun@linaro.org Signed-off-by: Tomasz Nowicki tomasz.nowi...@linaro.org --- arch/arm64/include/asm/acpi.h| 2 + arch/arm64/include/asm/cpu_ops.h | 1 + arch/arm64/include/asm

[PATCH v6 03/17] ARM64 / ACPI: Get RSDP and ACPI boot-time tables

2015-01-04 Thread Hanjun Guo
-by: Tomasz Nowicki tomasz.nowi...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acenv.h | 18 +++ arch/arm64/include/asm/acpi.h | 45 +++ arch/arm64/kernel/Makefile | 1 + arch/arm64/kernel/acpi.c | 69

[PATCH v6 11/17] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-01-04 Thread Hanjun Guo
suravee.suthikulpa...@amd.com Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acpi.h | 29 + arch/arm64/kernel/acpi.c | 1 - drivers/acpi/processor_core.c | 37 + 3 files changed, 66 insertions(+), 1 deletion(-) diff

[PATCH v6 05/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-04 Thread Hanjun Guo
on ARM64. This ensures DT be the prefer one if ACPI table and DT both are provided at this moment. Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Hanjun Guo hanjun

[PATCH v6 09/17] ACPI / table: Print GIC information when MADT is parsed

2015-01-04 Thread Hanjun Guo
] enabled) These information will be very helpful to bring up early systems to see if acpi_id and MPIDR are matched or not as spec defined. Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Hanjun Guo hanjun@linaro.org Signed-off-by: Tomasz Nowicki tomasz.nowi

[PATCH v6 08/17] ARM64 / ACPI: Parse FADT table to get PSCI flags for PSCI init

2015-01-04 Thread Hanjun Guo
Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Hanjun Guo hanjun@linaro.org Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Tomasz Nowicki tomasz.nowi...@linaro.org --- arch/arm64/include/asm/acpi.h | 14 arch/arm64/include/asm/psci.h | 3 +- arch

[PATCH v6 07/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-04 Thread Hanjun Guo
functions here and implement it later. Since ACPI on X86 and IA64 depends on PCI and this patch only makes PCI optional for ARM64, it will not break anything on X86 and IA64. Tested-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch

[PATCH v6 06/17] ARM64 / ACPI: If we chose to boot from acpi then disable FDT

2015-01-04 Thread Hanjun Guo
...@amd.com Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/kernel/setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 22e6895..2534de3 100644

[PATCH v6 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2015-01-04 Thread Hanjun Guo
Hi, This is the sixth version of ACPI core patches for ARM64 based on ACPI 5.1. updates from v5: - fix the NULL pointer reference in cpu_get_ops() if PSCI is absent and NULL will passed, which found by Suravee when he was testing those patches on Seattle platform. I added his Tested-by

Re: [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-04 Thread Hanjun Guo
On 2014年12月25日 01:18, Catalin Marinas wrote: [...] In addition to the above and _DSD requirements/banning, I would also add some clear statements around: _OSC: only global/published capabilities are allowed. For device-specific _OSC we need a process or maybe we can ban them entirely and rely

[PATCH v6 01/17] ACPI / processor: Convert apic_id to phys_id to make it arch agnostic

2015-01-04 Thread Hanjun Guo
From: Hanjun Guo hanjun@linaro.com apic_id in MADT table is the CPU hardware id which identify it self in the system for x86 and ia64, OSPM will use it for SMP init to map APIC ID to logical cpu number in the early boot, when the DSDT/SSDT (ACPI namespace) is scanned later, the ACPI processor

[PATCH v6 02/17] ACPI / processor: Rename acpi_(un)map_lsapic() to acpi_(un)map_cpu()

2015-01-04 Thread Hanjun Guo
From: Hanjun Guo hanjun@linaro.com acpi_map_lsapic() will allocate a logical CPU number and map it to physical CPU id (such as APIC id) for the hot-added CPU, it will also do some mapping for NUMA node id and etc, acpi_unmap_lsapic() will do the reverse. We can see that the name

Re: [PATCH] sata: xgene: add ACPI support for APM X-Gene SATA ports

2015-01-07 Thread Hanjun Guo
Hi Feng Kan, I have some comments below. On 2015年01月08日 01:32, Feng Kan wrote: Just want to ping this again. Happy new year On Thu, Dec 11, 2014 at 2:31 PM, Feng Kan f...@apm.com wrote: This adds ACPI support for the APM X-Gene SATA ports. When the system boots using ACPI table, the SATA

Re: [PATCH] sata: xgene: add ACPI support for APM X-Gene SATA ports

2015-01-08 Thread Hanjun Guo
On 2015年01月09日 01:56, Feng Kan wrote: On Wed, Jan 7, 2015 at 11:50 PM, Hanjun Guo hanjun@linaro.org wrote: Hi Feng Kan, I have some comments below. On 2015年01月08日 01:32, Feng Kan wrote: Just want to ping this again. Happy new year On Thu, Dec 11, 2014 at 2:31 PM, Feng Kan f

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-16 Thread Hanjun Guo
On 2015/3/17 10:28, Rafael J. Wysocki wrote: On Tuesday, March 17, 2015 09:08:45 AM Hanjun Guo wrote: On 2015/3/17 7:15, Rafael J. Wysocki wrote: On Monday, March 16, 2015 08:14:52 PM Hanjun Guo wrote: On 2015年03月14日 05:49, Rafael J. Wysocki wrote: On Friday, March 13, 2015 04:14:29 PM Hanjun

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-16 Thread Hanjun Guo
On 2015/3/17 7:15, Rafael J. Wysocki wrote: On Monday, March 16, 2015 08:14:52 PM Hanjun Guo wrote: On 2015年03月14日 05:49, Rafael J. Wysocki wrote: On Friday, March 13, 2015 04:14:29 PM Hanjun Guo wrote: [...] diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 074e52b..e8728d7 100644

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 10/21] ARM64 / ACPI: Get PSCI flags in FADT for PSCI init

2015-03-16 Thread Hanjun Guo
On 2015年03月13日 22:51, Lorenzo Pieralisi wrote: On Wed, Mar 11, 2015 at 12:39:36PM +, Hanjun Guo wrote: [...] +static void __init psci_0_2_set_functions(void) +{ + pr_info(Using standard PSCI v0.2 function IDs\n); + psci_function_id[PSCI_FN_CPU_SUSPEND

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-16 Thread Hanjun Guo
On 2015年03月14日 05:49, Rafael J. Wysocki wrote: On Friday, March 13, 2015 04:14:29 PM Hanjun Guo wrote: From: Graeme Gregory graeme.greg...@linaro.org ACPI 5.1 does not currently support S states for ARM64 hardware but ACPI code will call acpi_target_system_state() and acpi_sleep_init

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-16 Thread Hanjun Guo
On 2015/3/17 11:23, Rafael J. Wysocki wrote: On Tuesday, March 17, 2015 10:36:47 AM Hanjun Guo wrote: On 2015/3/17 10:28, Rafael J. Wysocki wrote: On Tuesday, March 17, 2015 09:08:45 AM Hanjun Guo wrote: On 2015/3/17 7:15, Rafael J. Wysocki wrote: On Monday, March 16, 2015 08:14:52 PM Hanjun

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-17 Thread Hanjun Guo
On 2015/3/17 13:59, Jon Masters wrote: On 03/17/2015 12:10 AM, Hanjun Guo wrote: On 2015/3/17 11:23, Rafael J. Wysocki wrote: On Tuesday, March 17, 2015 10:36:47 AM Hanjun Guo wrote: Well, almost. There is one problem with that, becuase sleep.c contains code outside of the ACPI_SLEEP

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-17 Thread Hanjun Guo
On 2015/3/17 22:33, Rafael J. Wysocki wrote: On Tuesday, March 17, 2015 12:10:02 PM Hanjun Guo wrote: On 2015/3/17 11:23, Rafael J. Wysocki wrote: On Tuesday, March 17, 2015 10:36:47 AM Hanjun Guo wrote: On 2015/3/17 10:28, Rafael J. Wysocki wrote: On Tuesday, March 17, 2015 09:08:45 AM

Re: [PATCH] ACPI / sleep: Drop acpi_suspend() which is not used

2015-03-17 Thread Hanjun Guo
On 2015/3/17 22:29, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com The acpi_suspend() function has no callers, so drop it. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com Reviewed-by: Hanjun Guo hanjun@linaro.org --- drivers/acpi/sleep.c

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 08/21] ARM64 / ACPI: Introduce early_param acpi= to enable/disable ACPI

2015-03-18 Thread Hanjun Guo
On 2015/3/19 4:07, Ard Biesheuvel wrote: On 18 March 2015 at 12:35, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Mar 11, 2015 at 12:39:34PM +, Hanjun Guo wrote: From: Al Stone al.st...@linaro.org This implements the following policy to decide whether ACPI should be used

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

2015-03-18 Thread Hanjun Guo
On 2015/3/19 3:05, Will Deacon wrote: Hanjun, Hi Will, On Wed, Mar 11, 2015 at 12:39:26PM +, Hanjun Guo wrote: This patch set already tested on multi platforms: - AMD Seattle board; - Cavium Thunder board; - Huawei D02 board; - Qualcomm ARM64 platform This version 10 patch set

Re: [PATCH v10 15/21] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2015-03-18 Thread Hanjun Guo
Hi Will, On 2015/3/19 2:41, Will Deacon wrote: On Wed, Mar 11, 2015 at 12:39:41PM +, Hanjun Guo wrote: Introduce ACPI_IRQ_MODEL_GIC which is needed for ARM64 as GIC is used, and then register device's gsi with the core IRQ subsystem. acpi_register_gsi() is similar to DT based

Re: [PATCH v10 15/21] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2015-03-20 Thread Hanjun Guo
On 2015/3/20 3:37, Will Deacon wrote: On Thu, Mar 19, 2015 at 10:12:05AM +, Lorenzo Pieralisi wrote: On Thu, Mar 19, 2015 at 03:45:35AM +, Hanjun Guo wrote: + if (trigger == ACPI_EDGE_SENSITIVE + polarity == ACPI_ACTIVE_LOW) + irq_type

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

2015-03-21 Thread Hanjun Guo
On 2015/3/21 11:17, Hanjun Guo wrote: +CC Parth Dixit, Stefano Stabellini. On 2015年03月21日 02:54, Will Deacon wrote: On Thu, Mar 19, 2015 at 04:09:33AM +, Hanjun Guo wrote: On 2015/3/19 3:05, Will Deacon wrote: If you can get that in place, I'm not opposed to putting this into linux-next

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

2015-03-20 Thread Hanjun Guo
+CC Parth Dixit, Stefano Stabellini. On 2015年03月21日 02:54, Will Deacon wrote: On Thu, Mar 19, 2015 at 04:09:33AM +, Hanjun Guo wrote: On 2015/3/19 3:05, Will Deacon wrote: If you can get that in place, I'm not opposed to putting this into linux-next ahead of the firmware summit in San

Re: [PATCH v9 01/21] ACPI / table: Use pr_debug() instead of pr_info() for MADT table scanning

2015-03-09 Thread Hanjun Guo
On 2015年03月07日 04:31, Joe Perches wrote: On Fri, 2015-03-06 at 20:17 +, Grant Likely wrote: On Wed, 25 Feb 2015 16:39:41 +0800 Hanjun Guo hanjun@linaro.org wrote: This patch just use pr_debug() instead of pr_info() for ioapic/iosapic, local apic/x2apic/sapic structures when scanning

Re: [PATCH v9 13/21] ARM64 / ACPI: Parse MADT for SMP initialization

2015-03-10 Thread Hanjun Guo
Hi Olof, On 2015年03月06日 02:49, Olof Johansson wrote: Hi, On Wed, Feb 25, 2015 at 04:39:53PM +0800, Hanjun Guo wrote: MADT contains the information for MPIDR which is essential for SMP initialization, parse the GIC cpu interface structures to get the MPIDR value and map it to cpu_logical_map

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

2015-03-10 Thread Hanjun Guo
On 2015年03月07日 01:47, Lorenzo Pieralisi wrote: On Wed, Feb 25, 2015 at 08:39:58AM +, Hanjun Guo wrote: From: Al Stone al.st...@linaro.org 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

Re: [PATCH v9 05/21] ARM64 / ACPI: Get RSDP and ACPI boot-time tables

2015-03-10 Thread Hanjun Guo
On 2015年03月10日 19:19, Leif Lindholm wrote: On Tue, Mar 10, 2015 at 04:01:16PM +0800, Hanjun Guo wrote: index 000..f052e7a --- /dev/null +++ b/arch/arm64/kernel/acpi.c @@ -0,0 +1,101 @@ +/* + * ARM64 Specific Low-Level ACPI Boot Support + * + * Copyright (C) 2013-2014, Linaro Ltd

Re: [PATCH v9 08/21] ARM64 / ACPI: Introduce PCI stub functions for ACPI

2015-03-10 Thread Hanjun Guo
On 2015年03月09日 23:01, Liviu Dudau wrote: On Wed, Feb 25, 2015 at 08:39:48AM +, Hanjun Guo wrote: CONFIG_ACPI depends CONFIG_PCI on x86 and ia64, in ARM64 server world we will have PCIe in most cases, but some of them may not, make CONFIG_ACPI depend CONFIG_PCI on ARM64 will satisfy both

Re: [PATCH v10 13/21] ACPI / processor: Introduce phys_cpuid_t for CPU hardware ID

2015-03-12 Thread Hanjun Guo
On 2015年03月12日 17:51, Lorenzo Pieralisi wrote: On Wed, Mar 11, 2015 at 12:39:39PM +, Hanjun Guo wrote: CPU hardware ID (phys_id) is defined as u32 in structure acpi_processor, but phys_id is used as int in acpi processor driver, so it will lead to some inconsistence for the drivers

[update][PATCH v10 13/21] ACPI / processor: Introduce phys_cpuid_t for CPU hardware ID

2015-03-12 Thread Hanjun Guo
catalin.mari...@arm.com [hj: reworked cpu physid map return codes] Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/ia64/kernel/acpi.c | 2 +- arch/x86/kernel/acpi/boot.c | 2 +- drivers/acpi/acpi_processor.c | 7 --- drivers/acpi/processor_core.c | 30

Re: [PATCH v9 02/21] ACPI / processor: Introduce phys_cpuid_t for CPU hardware ID

2015-03-05 Thread Hanjun Guo
On 2015/3/5 21:23, Rafael J. Wysocki wrote: On Thu, Mar 5, 2015 at 8:44 AM, Hanjun Guo guohan...@huawei.com wrote: On 2015/3/5 6:29, Rafael J. Wysocki wrote: On Wednesday, February 25, 2015 04:39:42 PM Hanjun Guo wrote: [cut] @@ -190,7 +190,7 @@ int acpi_map_cpuid(int phys_id, u32 acpi_id

Re: [PATCH 1/2] gpio / ACPI: Avoid unnecessary checks in __gpiod_get_index()

2015-03-10 Thread Hanjun Guo
. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com Quite straight forward to me, for both two patches, Reviewed-by: Hanjun Guo hanjun@linaro.org Thanks Hanjun --- drivers/gpio/gpiolib.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) Index: linux

[PATCH v10 02/21] ACPI: add arm64 to the platforms that use ioremap

2015-03-11 Thread Hanjun Guo
-by: Hanjun Guo hanjun@linaro.org --- drivers/acpi/osl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index f9eeae8..39748bb 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -336,11 +336,11 @@ acpi_map_lookup_virt(void

[PATCH v10 08/21] ARM64 / ACPI: Introduce early_param acpi= to enable/disable ACPI

2015-03-11 Thread Hanjun Guo
Signed-off-by: Graeme Gregory graeme.greg...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org Signed-off-by: Ard Biesheuvel ard.biesheu...@linaro.org --- Documentation/kernel-parameters.txt | 3 ++- arch/arm64/include/asm/acpi.h | 7 + arch/arm64/kernel/acpi.c| 52

[PATCH v10 10/21] ARM64 / ACPI: Get PSCI flags in FADT for PSCI init

2015-03-11 Thread Hanjun Guo
...@linaro.org Signed-off-by: Tomasz Nowicki tomasz.nowi...@linaro.org Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/arm64/include/asm/acpi.h | 15 + arch/arm64/include/asm/psci.h | 3 +- arch/arm64/kernel/psci.c | 78 ++- arch/arm64

<    1   2   3   4   5   6   7   8   9   10   >