Re: [PATCH v3 6/6] kvm: arm64: Add ACPI support for virt arch timer

2016-02-21 Thread Fu Wei
Hi Marc On 9 February 2016 at 01:10, Marc Zyngier wrote: > On 01/02/16 20:26, fu@linaro.org wrote: >> From: Fu Wei >> >> This patch adds ACPI/GTDT support for virt arch timer >> using the API in GTDT driver. >> >> Signed-off-by: Fu Wei &

[PATCH v3 6/6] kvm: arm64: Add ACPI support for virt arch timer

2016-02-02 Thread fu . wei
From: Fu Wei This patch adds ACPI/GTDT support for virt arch timer using the API in GTDT driver. Signed-off-by: Fu Wei --- virt/kvm/arm/arch_timer.c | 8 1 file changed, 8 insertions(+) diff --git a/virt/kvm/arm/arch_timer.c b/virt/kvm/arm/arch_timer.c index 0a279d3..4077347 100644

[PATCH v3 5/6] kvm: arm64: wrapping DT support for virt arch timer

2016-02-02 Thread fu . wei
From: Wei Huang This patches wrapping DT support for virt arch timer into a function. [Fu Wei: improve the DT support, and separate ACPI support] Signed-off-by: Alexander Spyridaki Signed-off-by: Wei Huang Signed-off-by: Graeme Gregory Signed-off-by: Fu Wei --- virt/kvm/arm/arch_timer.c

[PATCH v3 1/6] ACPI: add GTDT table parse driver into ACPI driver

2016-02-02 Thread fu . wei
From: Fu Wei This driver adds support for parsing all kinds of timer in GTDT: (1)arch timer: provide a kernel API to parse all the PPIs and always-on info in GTDT and export them by arch_timer_data struct. (2)memory-mapped timer: provide several kernel APIs to parse GT Block Structure in GTDT

[PATCH v3 4/6] clocksource: move some enums to arm_arch_timer.h

2016-02-02 Thread fu . wei
From: Fu Wei The patch move enum ppi_nr from arm_arch_timer.c to arm_arch_timer.h, and add enum spi_nr. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 13 ++--- include/clocksource/arm_arch_timer.h | 14 ++ 2 files changed, 16 insertions(+), 11 deletions

[PATCH v3 2/6] clocksource: simplify ACPI code in arm_arch_timer.c

2016-02-02 Thread fu . wei
From: Fu Wei The patch update arm_arch_timer driver to use the function provided by the new GTDT driver of ACPI. By this way, arm_arch_timer.c can be simplified, and separate all the ACPI GTDT knowledge from this timer driver. Signed-off-by: Fu Wei Signed-off-by: Hanjun Guo --- drivers

[PATCH v3 3/6] clocksource: add memory-mapped timer support in arm_arch_timer.c

2016-02-02 Thread fu . wei
From: Fu Wei The patch add memory-mapped timer register support for arm_arch_timer driver by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 136 +++ 1 file changed, 136 insertions

[PATCH v3 0/6] acpi, clocksource, kvm: add GTDT and ARM memory-mapped timer support

2016-02-02 Thread fu . wei
From: Fu Wei This patchset: (1)Introduce ACPI GTDT parser: drivers/acpi/gtdt.c Parse all kinds of timer in GTDT table of ACPI:arch timer, memory-mapped timer and SBSA Generic Watchdog timer. This driver can help to simplify all the relevant timer drivers, and separate all the