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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
...@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
+ 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
] 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
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
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
-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
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
-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
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
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
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
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
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
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
...@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
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
...@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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
...@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
-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
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
-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
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
-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
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
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
] 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
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
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
...@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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
+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
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
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
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
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
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
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
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
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
.
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
-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
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
...@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
501 - 600 of 2962 matches
Mail list logo