[PATCH v10 7/8] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-07-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/clocksource/arm_arch_timer.c | 127 ++- 1 file

[PATCH v10 7/8] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-07-26 Thread fu . wei
From: Fu Wei The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 127 ++- 1 file changed, 124 insertions(+), 3 deletions(-) diff

[PATCH v10 0/8] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset: (1)Preparation for adding GTDT support in arm_arch_timer: 1. Move some enums and marcos to header file; 2. Add a new enum for spi type; 3. Improve printk relevant code. (2)Introduce ACPI GTDT parser: driver

[PATCH v10 0/8] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-26 Thread fu . wei
From: Fu Wei This patchset: (1)Preparation for adding GTDT support in arm_arch_timer: 1. Move some enums and marcos to header file; 2. Add a new enum for spi type; 3. Improve printk relevant code. (2)Introduce ACPI GTDT parser: drivers/acpi/arm64/acpi_gtdt.c

[PATCH v10 1/8] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-07-26 Thread fu . wei
From: Fu Wei <fu@linaro.org> To support the arm_arch_timer via ACPI we need to share defines and enums between the driver and the ACPI parser code. Split out the relevant defines and enums into arm_arch_timer.h. No functional change. Signed-off-by: Fu Wei <fu@linaro.org>

[PATCH v10 1/8] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-07-26 Thread fu . wei
From: Fu Wei To support the arm_arch_timer via ACPI we need to share defines and enums between the driver and the ACPI parser code. Split out the relevant defines and enums into arm_arch_timer.h. No functional change. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 11

Re: [PATCH v9 4/9] clocksource/drivers/arm_arch_timer: use readq to get 64-bit CNTVCT

2016-07-26 Thread Fu Wei
Hi Russell King, On 26 July 2016 at 06:49, Russell King - ARM Linux <li...@armlinux.org.uk> wrote: > On Mon, Jul 25, 2016 at 05:31:45PM +0100, Will Deacon wrote: >> On Mon, Jul 25, 2016 at 11:55:49PM +0800, Fu Wei wrote: >> > On 25 July 2016 at 23:31, Will Deacon <

Re: [PATCH v9 4/9] clocksource/drivers/arm_arch_timer: use readq to get 64-bit CNTVCT

2016-07-26 Thread Fu Wei
Hi Russell King, On 26 July 2016 at 06:49, Russell King - ARM Linux wrote: > On Mon, Jul 25, 2016 at 05:31:45PM +0100, Will Deacon wrote: >> On Mon, Jul 25, 2016 at 11:55:49PM +0800, Fu Wei wrote: >> > On 25 July 2016 at 23:31, Will Deacon wrote: >> > > On Mon, Ju

Re: [PATCH v8 7/9] acpi/arm64: Add memory-mapped timer support in GTDT driver

2016-07-25 Thread Fu Wei
Hi Lorenzo, On 21 July 2016 at 20:40, Lorenzo Pieralisi <lorenzo.pieral...@arm.com> wrote: > On Wed, Jul 20, 2016 at 02:18:02AM +0800, fu@linaro.org wrote: >> From: Fu Wei <fu@linaro.org> >> >> This driver adds support for parsing memory-mapped timer

Re: [PATCH v8 7/9] acpi/arm64: Add memory-mapped timer support in GTDT driver

2016-07-25 Thread Fu Wei
Hi Lorenzo, On 21 July 2016 at 20:40, Lorenzo Pieralisi wrote: > On Wed, Jul 20, 2016 at 02:18:02AM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> This driver adds support for parsing memory-mapped timer in GTDT: >> provide a kernel APIs to parse GT Block Struc

Re: [PATCH v9 4/9] clocksource/drivers/arm_arch_timer: use readq to get 64-bit CNTVCT

2016-07-25 Thread Fu Wei
Hi Will, On 25 July 2016 at 23:31, Will Deacon <will.dea...@arm.com> wrote: > On Mon, Jul 25, 2016 at 11:27:02PM +0800, fu@linaro.org wrote: >> From: Fu Wei <fu@linaro.org> >> >> This patch simplify arch_counter_get_cntvct_mem function by >> using r

Re: [PATCH v9 4/9] clocksource/drivers/arm_arch_timer: use readq to get 64-bit CNTVCT

2016-07-25 Thread Fu Wei
Hi Will, On 25 July 2016 at 23:31, Will Deacon wrote: > On Mon, Jul 25, 2016 at 11:27:02PM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> This patch simplify arch_counter_get_cntvct_mem function by >> using readq to get 64-bit CNTVCT value instead of read

Re: [PATCH v8 4/9] clocksource/drivers/arm_arch_timer: use readq to get 64-bit CNTVCT

2016-07-25 Thread Fu Wei
Hi Will, On 25 July 2016 at 17:02, Will Deacon <will.dea...@arm.com> wrote: > On Wed, Jul 20, 2016 at 02:17:59AM +0800, fu@linaro.org wrote: >> From: Fu Wei <fu@linaro.org> >> >> This patch simplify arch_counter_get_cntvct_mem function by >> using r

Re: [PATCH v8 4/9] clocksource/drivers/arm_arch_timer: use readq to get 64-bit CNTVCT

2016-07-25 Thread Fu Wei
Hi Will, On 25 July 2016 at 17:02, Will Deacon wrote: > On Wed, Jul 20, 2016 at 02:17:59AM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> This patch simplify arch_counter_get_cntvct_mem function by >> using readq to get 64-bit CNTVCT value instead of read

[PATCH v9 0/9] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-25 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset: (1)Preparation for adding GTDT support in arm_arch_timer: 1. Move some enums and marcos to header file; 2. Add a new enum for spi type; 3. Improve printk relevant code; 4. use readq to get 64-bit CNTVCT.

[PATCH v9 7/9] acpi/arm64: Add memory-mapped timer support in GTDT driver

2016-07-25 Thread fu . wei
From: Fu Wei <fu@linaro.org> On platforms booting with ACPI, architected memory-mapped timers' configuration data is provided by firmware through the ACPI GTDT static table. The clocksource architected timer kernel driver requires a firmware interface to collect timer configu

[PATCH v9 9/9] acpi/arm64: Add SBSA Generic Watchdog support in GTDT driver

2016-07-25 Thread fu . wei
From: Fu Wei <fu@linaro.org> This driver adds support for parsing SBSA Generic Watchdog timer in GTDT, parse all info in SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the re

[PATCH v9 0/9] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-25 Thread fu . wei
From: Fu Wei This patchset: (1)Preparation for adding GTDT support in arm_arch_timer: 1. Move some enums and marcos to header file; 2. Add a new enum for spi type; 3. Improve printk relevant code; 4. use readq to get 64-bit CNTVCT. (2)Introduce ACPI GTDT

[PATCH v9 7/9] acpi/arm64: Add memory-mapped timer support in GTDT driver

2016-07-25 Thread fu . wei
From: Fu Wei On platforms booting with ACPI, architected memory-mapped timers' configuration data is provided by firmware through the ACPI GTDT static table. The clocksource architected timer kernel driver requires a firmware interface to collect timer configuration and configure its driver

[PATCH v9 9/9] acpi/arm64: Add SBSA Generic Watchdog support in GTDT driver

2016-07-25 Thread fu . wei
From: Fu Wei This driver adds support for parsing SBSA Generic Watchdog timer in GTDT, parse all info in SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the resource of platform device

[PATCH v9 6/9] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-07-25 Thread fu . wei
From: Fu Wei <fu@linaro.org> 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 <fu@linaro.or

[PATCH v9 3/9] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-07-25 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* doesn't need to add "arch_timer:" everytime. Also delete some Blank Spaces in arch_timer_banner, according to the suggestion from checkpatch.pl. No functional change. Signed-of

[PATCH v9 6/9] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-07-25 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 v9 3/9] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-07-25 Thread fu . wei
From: Fu Wei This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* doesn't need to add "arch_timer:" everytime. Also delete some Blank Spaces in arch_timer_banner, according to the suggestion from checkpatch.pl. No functional change. Signed-off-by: Fu Wei --

[PATCH v9 1/9] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-07-25 Thread fu . wei
From: Fu Wei <fu@linaro.org> To support the arm_arch_timer via ACPI we need to share defines and enums between the driver and the ACPI parser code. Split out the relevant defines and enums into arm_arch_timer.h. No functional change. Signed-off-by: Fu Wei <fu@linaro.org>

[PATCH v9 5/9] acpi/arm64: Add GTDT table parse driver

2016-07-25 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds support for parsing arch timer in GTDT, provides some kernel APIs to parse all the PPIs and always-on info in GTDT and export them. By this driver, we can simplify arm_arch_timer drivers, and separate the ACPI GTDT knowledge from it. Sign

[PATCH v9 4/9] clocksource/drivers/arm_arch_timer: use readq to get 64-bit CNTVCT

2016-07-25 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch simplify arch_counter_get_cntvct_mem function by using readq to get 64-bit CNTVCT value instead of readl_relaxed. Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/clocksource/arm_arch_timer.c | 10 +- 1 file changed, 1 ins

[PATCH v9 4/9] clocksource/drivers/arm_arch_timer: use readq to get 64-bit CNTVCT

2016-07-25 Thread fu . wei
From: Fu Wei This patch simplify arch_counter_get_cntvct_mem function by using readq to get 64-bit CNTVCT value instead of readl_relaxed. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers

[PATCH v9 1/9] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-07-25 Thread fu . wei
From: Fu Wei To support the arm_arch_timer via ACPI we need to share defines and enums between the driver and the ACPI parser code. Split out the relevant defines and enums into arm_arch_timer.h. No functional change. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 11

[PATCH v9 5/9] acpi/arm64: Add GTDT table parse driver

2016-07-25 Thread fu . wei
From: Fu Wei This patch adds support for parsing arch timer in GTDT, provides some kernel APIs to parse all the PPIs and always-on info in GTDT and export them. By this driver, we can simplify arm_arch_timer drivers, and separate the ACPI GTDT knowledge from it. Signed-off-by: Fu Wei Signed

[PATCH v9 8/9] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-07-25 Thread fu . wei
From: Fu Wei <fu@linaro.org> The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/clocksource/arm_arch_timer.c | 127 ++- 1 file

[PATCH v9 2/9] clocksource/drivers/arm_arch_timer: Add a new enum for spi type

2016-07-25 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch add a new enum "spi_nr" and use it in the driver. Just for code's readability, no functional change. Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/clocksource/arm_arch_timer.c | 4 ++-- include/clocksource/arm_arch_timer

[PATCH v9 8/9] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-07-25 Thread fu . wei
From: Fu Wei The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 127 ++- 1 file changed, 124 insertions(+), 3 deletions(-) diff

[PATCH v9 2/9] clocksource/drivers/arm_arch_timer: Add a new enum for spi type

2016-07-25 Thread fu . wei
From: Fu Wei This patch add a new enum "spi_nr" and use it in the driver. Just for code's readability, no functional change. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 4 ++-- include/clocksource/arm_arch_timer.h | 6 ++ 2 files changed, 8 insertions(+), 2

Re: [PATCH v8 5/9] acpi/arm64: Add GTDT table parse driver

2016-07-22 Thread Fu Wei
Hi Rafael, On 21 July 2016 at 21:28, Rafael J. Wysocki <r...@rjwysocki.net> wrote: > On Wednesday, July 20, 2016 02:18:00 AM fu@linaro.org wrote: >> From: Fu Wei <fu@linaro.org> >> >> This patch adds support for parsing arch timer in GTDT, >>

Re: [PATCH v8 5/9] acpi/arm64: Add GTDT table parse driver

2016-07-22 Thread Fu Wei
Hi Rafael, On 21 July 2016 at 21:28, Rafael J. Wysocki wrote: > On Wednesday, July 20, 2016 02:18:00 AM fu@linaro.org wrote: >> From: Fu Wei >> >> This patch adds support for parsing arch timer in GTDT, >> provides some kernel APIs to parse all the PPIs an

Re: [PATCH v7 7/9] acpi/arm64: Add memory-mapped timer support in GTDT driver

2016-07-19 Thread Fu Wei
0AM +0800, fu@linaro.org wrote: >> From: Fu Wei <fu@linaro.org> >> >> This driver adds support for parsing memory-mapped timer in GTDT: >> provide a kernel APIs to parse GT Block Structure in GTDT, >> export all the info by filling the struct which p

Re: [PATCH v7 7/9] acpi/arm64: Add memory-mapped timer support in GTDT driver

2016-07-19 Thread Fu Wei
ote: >> From: Fu Wei >> >> This driver adds support for parsing memory-mapped timer in GTDT: >> provide a kernel APIs to parse GT Block Structure in GTDT, >> export all the info by filling the struct which provided >> by parameter(pointer of the struct). >&g

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-19 Thread Fu Wei
Hi Rafael, On 16 July 2016 at 20:35, Rafael J. Wysocki <r...@rjwysocki.net> wrote: > On Saturday, July 16, 2016 10:24:35 AM Fu Wei wrote: >> Hi Rafeal, >> >> On 16 July 2016 at 05:22, Rafael J. Wysocki <r...@rjwysocki.net> wrote: >> > On Saturday, July 1

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-19 Thread Fu Wei
Hi Rafael, On 16 July 2016 at 20:35, Rafael J. Wysocki wrote: > On Saturday, July 16, 2016 10:24:35 AM Fu Wei wrote: >> Hi Rafeal, >> >> On 16 July 2016 at 05:22, Rafael J. Wysocki wrote: >> > On Saturday, July 16, 2016 12:32:14 AM Fu Wei wrote: >> >&

[PATCH v8 3/9] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-07-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* doesn't need to add "arch_timer:" everytime. Also delete some Blank Spaces in arch_timer_banner, according to the suggestion from checkpatch.pl. No functional change. Signed-of

[PATCH v8 7/9] acpi/arm64: Add memory-mapped timer support in GTDT driver

2016-07-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> This driver adds support for parsing memory-mapped timer in GTDT: provide a kernel APIs to parse GT Block Structure in GTDT, export all the info by filling the struct which provided by parameter(pointer of the struct). By this driver, we can add ACPI s

[PATCH v8 3/9] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-07-19 Thread fu . wei
From: Fu Wei This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* doesn't need to add "arch_timer:" everytime. Also delete some Blank Spaces in arch_timer_banner, according to the suggestion from checkpatch.pl. No functional change. Signed-off-by: Fu Wei --

[PATCH v8 7/9] acpi/arm64: Add memory-mapped timer support in GTDT driver

2016-07-19 Thread fu . wei
From: Fu Wei This driver adds support for parsing memory-mapped timer in GTDT: provide a kernel APIs to parse GT Block Structure in GTDT, export all the info by filling the struct which provided by parameter(pointer of the struct). By this driver, we can add ACPI support for memory-mapped timer

[PATCH v8 9/9] acpi/arm64: Add SBSA Generic Watchdog support in GTDT driver

2016-07-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> This driver adds support for parsing SBSA Generic Watchdog timer in GTDT, parse all info in SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the re

[PATCH v8 8/9] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-07-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/clocksource/arm_arch_timer.c | 127 ++- 1 file

[PATCH v8 8/9] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-07-19 Thread fu . wei
From: Fu Wei The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 127 ++- 1 file changed, 124 insertions(+), 3 deletions(-) diff

[PATCH v8 9/9] acpi/arm64: Add SBSA Generic Watchdog support in GTDT driver

2016-07-19 Thread fu . wei
From: Fu Wei This driver adds support for parsing SBSA Generic Watchdog timer in GTDT, parse all info in SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the resource of platform device

[PATCH v8 6/9] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-07-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> 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 <fu@linaro.or

[PATCH v8 6/9] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-07-19 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 v8 1/9] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-07-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> To support the arm_arch_timer via ACPI we need to share defines and enums between the driver and the ACPI parser code. Split out the relevant defines and enums into arm_arch_timer.h. No functional change. Signed-off-by: Fu Wei <fu@linaro.org>

[PATCH v8 2/9] clocksource/drivers/arm_arch_timer: Add a new enum for spi type

2016-07-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch add a new enum "spi_nr" and use it in the driver. Just for code's readability, no functional change. Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/clocksource/arm_arch_timer.c | 4 ++-- include/clocksource/arm_arch_timer

[PATCH v8 4/9] clocksource/drivers/arm_arch_timer: use readq to get 64-bit CNTVCT

2016-07-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch simplify arch_counter_get_cntvct_mem function by using readq to get 64-bit CNTVCT value instead of readl_relaxed. Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/clocksource/arm_arch_timer.c | 10 +- 1 file changed, 1 ins

[PATCH v8 0/9] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset: (1)Preparation for adding GTDT support in arm_arch_timer: 1. Move some enums and marcos to header file; 2. Add a new enum for spi type; 3. Improve printk relevant code; 4. use readq to get 64-bit CNTVCT.

[PATCH v8 5/9] acpi/arm64: Add GTDT table parse driver

2016-07-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds support for parsing arch timer in GTDT, provides some kernel APIs to parse all the PPIs and always-on info in GTDT and export them. By this driver, we can simplify arm_arch_timer drivers, and separate the ACPI GTDT knowledge from it. Sign

[PATCH v8 0/9] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-19 Thread fu . wei
From: Fu Wei This patchset: (1)Preparation for adding GTDT support in arm_arch_timer: 1. Move some enums and marcos to header file; 2. Add a new enum for spi type; 3. Improve printk relevant code; 4. use readq to get 64-bit CNTVCT. (2)Introduce ACPI GTDT

[PATCH v8 5/9] acpi/arm64: Add GTDT table parse driver

2016-07-19 Thread fu . wei
From: Fu Wei This patch adds support for parsing arch timer in GTDT, provides some kernel APIs to parse all the PPIs and always-on info in GTDT and export them. By this driver, we can simplify arm_arch_timer drivers, and separate the ACPI GTDT knowledge from it. Signed-off-by: Fu Wei Signed

[PATCH v8 1/9] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-07-19 Thread fu . wei
From: Fu Wei To support the arm_arch_timer via ACPI we need to share defines and enums between the driver and the ACPI parser code. Split out the relevant defines and enums into arm_arch_timer.h. No functional change. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 11

[PATCH v8 2/9] clocksource/drivers/arm_arch_timer: Add a new enum for spi type

2016-07-19 Thread fu . wei
From: Fu Wei This patch add a new enum "spi_nr" and use it in the driver. Just for code's readability, no functional change. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 4 ++-- include/clocksource/arm_arch_timer.h | 6 ++ 2 files changed, 8 insertions(+), 2

[PATCH v8 4/9] clocksource/drivers/arm_arch_timer: use readq to get 64-bit CNTVCT

2016-07-19 Thread fu . wei
From: Fu Wei This patch simplify arch_counter_get_cntvct_mem function by using readq to get 64-bit CNTVCT value instead of readl_relaxed. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers

Re: [PATCH 0/3] watchdog, sbsa_gwdt: Update SBSA watchdog with the new infrastructure of watchdog.

2016-07-18 Thread Fu Wei
Hi Wim, Guenter, Great thanks for your help :-) On 18 July 2016 at 03:51, Wim Van Sebroeck <w...@iguana.be> wrote: > Hi Fu, > >> From: Fu Wei <fu@linaro.org> >> >> This patchset: >> (1)Try to fix an issue about min and max timeout valid

Re: [PATCH 0/3] watchdog, sbsa_gwdt: Update SBSA watchdog with the new infrastructure of watchdog.

2016-07-18 Thread Fu Wei
Hi Wim, Guenter, Great thanks for your help :-) On 18 July 2016 at 03:51, Wim Van Sebroeck wrote: > Hi Fu, > >> From: Fu Wei >> >> This patchset: >> (1)Try to fix an issue about min and max timeout validity check: >> when max_hw_heartbeat_ms is d

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Rafeal, On 16 July 2016 at 05:22, Rafael J. Wysocki <r...@rjwysocki.net> wrote: > On Saturday, July 16, 2016 12:32:14 AM Fu Wei wrote: >> Hi Rafael, >> >> On 15 July 2016 at 21:07, Rafael J. Wysocki <r...@rjwysocki.net> wrote: >> > On Friday, July 15

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Rafeal, On 16 July 2016 at 05:22, Rafael J. Wysocki wrote: > On Saturday, July 16, 2016 12:32:14 AM Fu Wei wrote: >> Hi Rafael, >> >> On 15 July 2016 at 21:07, Rafael J. Wysocki wrote: >> > On Friday, July 15, 2016 02:15:27 PM Rafael J. Wysocki wrote: >>

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Rafael, On 15 July 2016 at 21:07, Rafael J. Wysocki <r...@rjwysocki.net> wrote: > On Friday, July 15, 2016 02:15:27 PM Rafael J. Wysocki wrote: >> On Friday, July 15, 2016 03:32:35 PM Fu Wei wrote: >> > Hi Rafael, >> > > > [cut] &g

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Rafael, On 15 July 2016 at 21:07, Rafael J. Wysocki wrote: > On Friday, July 15, 2016 02:15:27 PM Rafael J. Wysocki wrote: >> On Friday, July 15, 2016 03:32:35 PM Fu Wei wrote: >> > Hi Rafael, >> > > > [cut] > >

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Rafael, On 15 July 2016 at 20:11, Rafael J. Wysocki <r...@rjwysocki.net> wrote: > On Friday, July 15, 2016 03:45:05 PM Fu Wei wrote: >> Hi Rafael, >> >> >> On 14 July 2016 at 05:43, Rafael J. Wysocki <raf...@kernel.org> wrote: >> > On Wed, Jul

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Rafael, On 15 July 2016 at 20:11, Rafael J. Wysocki wrote: > On Friday, July 15, 2016 03:45:05 PM Fu Wei wrote: >> Hi Rafael, >> >> >> On 14 July 2016 at 05:43, Rafael J. Wysocki wrote: >> > On Wed, Jul 13, 2016 at 11:08 PM, Guenter Roeck wrote: >

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Paul On 15 July 2016 at 04:33, Paul Gortmaker <paul.gortma...@windriver.com> wrote: > On Wed, Jul 13, 2016 at 1:53 PM, <fu@linaro.org> wrote: >> From: Fu Wei <fu@linaro.org> >> >> This patch adds support for parsing arch timer in GTDT, &g

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Paul On 15 July 2016 at 04:33, Paul Gortmaker wrote: > On Wed, Jul 13, 2016 at 1:53 PM, wrote: >> From: Fu Wei >> >> This patch adds support for parsing arch timer in GTDT, >> provides some kernel APIs to parse all the PPIs and >> alway

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
PM, <fu....@linaro.org> wrote: >>> > From: Fu Wei <fu@linaro.org> >>> > >>> > This patch adds support for parsing arch timer in GTDT, >>> > provides some kernel APIs to parse all the PPIs and >>> > always-on info in GTDT a

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Rafael, On 14 July 2016 at 05:43, Rafael J. Wysocki wrote: > On Wed, Jul 13, 2016 at 11:08 PM, Guenter Roeck wrote: >> On Wed, Jul 13, 2016 at 10:30:37PM +0200, Rafael J. Wysocki wrote: >>> On Wed, Jul 13, 2016 at 7:53 PM, wrote: >>> > From: Fu Wei >&

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Rafael, On 14 July 2016 at 04:39, Rafael J. Wysocki <raf...@kernel.org> wrote: > On Wed, Jul 13, 2016 at 10:30 PM, Rafael J. Wysocki <raf...@kernel.org> wrote: >> On Wed, Jul 13, 2016 at 7:53 PM, <fu@linaro.org> wrote: >>> From: Fu Wei <fu@lina

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Rafael, On 14 July 2016 at 04:39, Rafael J. Wysocki wrote: > On Wed, Jul 13, 2016 at 10:30 PM, Rafael J. Wysocki wrote: >> On Wed, Jul 13, 2016 at 7:53 PM, wrote: >>> From: Fu Wei >>> >>> This patch adds support for parsing arch timer in GTDT, >&g

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Rafael, On 14 July 2016 at 04:30, Rafael J. Wysocki <raf...@kernel.org> wrote: > On Wed, Jul 13, 2016 at 7:53 PM, <fu@linaro.org> wrote: >> From: Fu Wei <fu@linaro.org> >> >> This patch adds support for parsing arch timer in GTDT, >> pr

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Fu Wei
Hi Rafael, On 14 July 2016 at 04:30, Rafael J. Wysocki wrote: > On Wed, Jul 13, 2016 at 7:53 PM, wrote: >> From: Fu Wei >> >> This patch adds support for parsing arch timer in GTDT, >> provides some kernel APIs to parse all the PPIs and >> alway

Re: [PATCH v7 5/9] MAINTAINERS / ACPI: add the ARM64-specific ACPI Support maintainers

2016-07-14 Thread Fu Wei
Hi Rafael, On 14 July 2016 at 04:16, Rafael J. Wysocki <raf...@kernel.org> wrote: > On Wed, Jul 13, 2016 at 7:53 PM, <fu@linaro.org> wrote: >> From: Fu Wei <fu@linaro.org> >> >> This patch add the ARM64-specific ACPI Support maintainers in >

Re: [PATCH v7 5/9] MAINTAINERS / ACPI: add the ARM64-specific ACPI Support maintainers

2016-07-14 Thread Fu Wei
Hi Rafael, On 14 July 2016 at 04:16, Rafael J. Wysocki wrote: > On Wed, Jul 13, 2016 at 7:53 PM, wrote: >> From: Fu Wei >> >> This patch add the ARM64-specific ACPI Support maintainers in >> MAINTAINERS, according to the discussion on mailing list: >> ht

[PATCH v7 6/9] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-07-13 Thread fu . wei
From: Fu Wei <fu@linaro.org> 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 <fu@linaro.or

[PATCH v7 7/9] acpi/arm64: Add memory-mapped timer support in GTDT driver

2016-07-13 Thread fu . wei
From: Fu Wei <fu@linaro.org> This driver adds support for parsing memory-mapped timer in GTDT: provide a kernel APIs to parse GT Block Structure in GTDT, export all the info by filling the struct which provided by parameter(pointer of the struct). By this driver, we can add ACPI s

[PATCH v7 9/9] acpi/arm64: Add SBSA Generic Watchdog support in GTDT driver

2016-07-13 Thread fu . wei
From: Fu Wei <fu@linaro.org> This driver adds support for parsing SBSA Generic Watchdog timer in GTDT, parse all info in SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the re

[PATCH v7 2/9] clocksource/drivers/arm_arch_timer: Add a new enum for spi type

2016-07-13 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch add a new enum "spi_nr" and use it in the driver. Just for code's readability, no functional change. Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/clocksource/arm_arch_timer.c | 4 ++-- include/clocksource/arm_arch_timer

[PATCH v7 3/9] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-07-13 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* doesn't need to add "arch_timer:" everytime. Also delete some Blank Spaces in arch_timer_banner, according to the suggestion from checkpatch.pl. No functional change. Signed-of

[PATCH v7 5/9] MAINTAINERS / ACPI: add the ARM64-specific ACPI Support maintainers

2016-07-13 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch add the ARM64-specific ACPI Support maintainers in MAINTAINERS, according to the discussion on mailing list: https://lkml.org/lkml/2016/6/29/580 Lorenzo Pieralisi will submit the pull requsts. The maintainers are listed by the alphabet

[PATCH v7 6/9] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-07-13 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 v7 7/9] acpi/arm64: Add memory-mapped timer support in GTDT driver

2016-07-13 Thread fu . wei
From: Fu Wei This driver adds support for parsing memory-mapped timer in GTDT: provide a kernel APIs to parse GT Block Structure in GTDT, export all the info by filling the struct which provided by parameter(pointer of the struct). By this driver, we can add ACPI support for memory-mapped timer

[PATCH v7 9/9] acpi/arm64: Add SBSA Generic Watchdog support in GTDT driver

2016-07-13 Thread fu . wei
From: Fu Wei This driver adds support for parsing SBSA Generic Watchdog timer in GTDT, parse all info in SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the resource of platform device

[PATCH v7 2/9] clocksource/drivers/arm_arch_timer: Add a new enum for spi type

2016-07-13 Thread fu . wei
From: Fu Wei This patch add a new enum "spi_nr" and use it in the driver. Just for code's readability, no functional change. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 4 ++-- include/clocksource/arm_arch_timer.h | 6 ++ 2 files changed, 8 insertions(+), 2

[PATCH v7 3/9] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-07-13 Thread fu . wei
From: Fu Wei This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* doesn't need to add "arch_timer:" everytime. Also delete some Blank Spaces in arch_timer_banner, according to the suggestion from checkpatch.pl. No functional change. Signed-off-by: Fu Wei --

[PATCH v7 5/9] MAINTAINERS / ACPI: add the ARM64-specific ACPI Support maintainers

2016-07-13 Thread fu . wei
From: Fu Wei This patch add the ARM64-specific ACPI Support maintainers in MAINTAINERS, according to the discussion on mailing list: https://lkml.org/lkml/2016/6/29/580 Lorenzo Pieralisi will submit the pull requsts. The maintainers are listed by the alphabet order of their name. Signed-off

[PATCH v7 1/9] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-07-13 Thread fu . wei
From: Fu Wei <fu@linaro.org> To support the arm_arch_timer via ACPI we need to share defines and enums between the driver and the ACPI parser code. Split out the relevant defines and enums into arm_arch_timer.h. No functional change. Signed-off-by: Fu Wei <fu@linaro.org>

[PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-13 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch adds support for parsing arch timer in GTDT, provides some kernel APIs to parse all the PPIs and always-on info in GTDT and export them. By this driver, we can simplify arm_arch_timer drivers, and separate the ACPI GTDT knowledge from it. Sign

[PATCH v7 8/9] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-07-13 Thread fu . wei
From: Fu Wei <fu@linaro.org> The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/clocksource/arm_arch_timer.c | 131 ++- 1 file

[PATCH v7 1/9] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-07-13 Thread fu . wei
From: Fu Wei To support the arm_arch_timer via ACPI we need to share defines and enums between the driver and the ACPI parser code. Split out the relevant defines and enums into arm_arch_timer.h. No functional change. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 11

[PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-13 Thread fu . wei
From: Fu Wei This patch adds support for parsing arch timer in GTDT, provides some kernel APIs to parse all the PPIs and always-on info in GTDT and export them. By this driver, we can simplify arm_arch_timer drivers, and separate the ACPI GTDT knowledge from it. Signed-off-by: Fu Wei Signed

[PATCH v7 8/9] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-07-13 Thread fu . wei
From: Fu Wei The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 131 ++- 1 file changed, 130 insertions(+), 1 deletion(-) diff

[PATCH v7 0/9] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-13 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset: (1)Preparation for adding GTDT support in arm_arch_timer 1. Move some enums and marcos to header file 2. Add a new enum for spi type. 3. Improve printk relevant code (2)Introduce ACPI GTDT parser: drivers/acpi/

[PATCH v7 0/9] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-13 Thread fu . wei
From: Fu Wei This patchset: (1)Preparation for adding GTDT support in arm_arch_timer 1. Move some enums and marcos to header file 2. Add a new enum for spi type. 3. Improve printk relevant code (2)Introduce ACPI GTDT parser: drivers/acpi/gtdt.c Parse all

Re: [PATCH v6 03/10] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-07-07 Thread Fu Wei
Hi Hanjun On 30 June 2016 at 10:54, Hanjun Guo <hanjun@linaro.org> wrote: > On 2016/6/30 2:15, fu@linaro.org wrote: >> >> From: Fu Wei <fu@linaro.org> >> >> This patch defines pr_fmt(fmt) for all pr_* functions, >> then the pr_* don't ne

Re: [PATCH v6 03/10] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-07-07 Thread Fu Wei
Hi Hanjun On 30 June 2016 at 10:54, Hanjun Guo wrote: > On 2016/6/30 2:15, fu@linaro.org wrote: >> >> From: Fu Wei >> >> This patch defines pr_fmt(fmt) for all pr_* functions, >> then the pr_* don't need to add "arch_timer:" eve

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