Re: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-07 Thread Fu Wei
t; >> > > >> So is this a documentation issue in which case Fu Wei can add that to >> > > >> the file to explain its limited to ARM64. Or we could even rename the >> > > >> file acpi_arm64_gtdt.c >> > > >> >> > > >&g

Re: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-07 Thread Fu Wei
Hi Rafael, On 7 July 2016 at 21:58, Rafael J. Wysocki wrote: > On Thursday, July 07, 2016 02:40:23 PM Lorenzo Pieralisi wrote: >> [+Sudeep] >> >> On Thu, Jul 07, 2016 at 02:03:17PM +0200, Rafael J. Wysocki wrote: >> >> [...] >> >> > > >>

Re: [PATCH v6 04/10] acpi: Add some basic struct and functions in GTDT driver

2016-06-29 Thread Fu Wei
Hi Rafael, On 30 June 2016 at 09:26, Rafael J. Wysocki <r...@rjwysocki.net> wrote: > On Thursday, June 30, 2016 09:17:56 AM Fu Wei wrote: >> Hi Rafael, >> >> Great thanks for your review :-) >> >> On 30 June 2016 at 05:24, Rafael J. Wysocki <raf...@ke

Re: [PATCH v6 04/10] acpi: Add some basic struct and functions in GTDT driver

2016-06-29 Thread Fu Wei
Hi Rafael, On 30 June 2016 at 09:26, Rafael J. Wysocki wrote: > On Thursday, June 30, 2016 09:17:56 AM Fu Wei wrote: >> Hi Rafael, >> >> Great thanks for your review :-) >> >> On 30 June 2016 at 05:24, Rafael J. Wysocki wrote: >> > On Wed, Jun 29, 20

Re: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-06-29 Thread Fu Wei
Hi Rafael, On 30 June 2016 at 05:32, Rafael J. Wysocki <raf...@kernel.org> wrote: > On Wed, Jun 29, 2016 at 8:15 PM, <fu@linaro.org> wrote: >> From: Fu Wei <fu@linaro.org> >> >> This patchset: >> (1)Preparation for adding GTDT support in

Re: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-06-29 Thread Fu Wei
Hi Rafael, On 30 June 2016 at 05:32, Rafael J. Wysocki wrote: > On Wed, Jun 29, 2016 at 8:15 PM, wrote: >> From: Fu Wei >> >> This patchset: >> (1)Preparation for adding GTDT support in arm_arch_timer >> 1. Move some enums and marcos to header

Re: [PATCH v6 04/10] acpi: Add some basic struct and functions in GTDT driver

2016-06-29 Thread Fu Wei
Hi Rafael, Great thanks for your review :-) On 30 June 2016 at 05:24, Rafael J. Wysocki <raf...@kernel.org> wrote: > On Wed, Jun 29, 2016 at 8:15 PM, <fu@linaro.org> wrote: >> From: Fu Wei <fu@linaro.org> > > No changelog? it's on [0/10] > >>

Re: [PATCH v6 04/10] acpi: Add some basic struct and functions in GTDT driver

2016-06-29 Thread Fu Wei
Hi Rafael, Great thanks for your review :-) On 30 June 2016 at 05:24, Rafael J. Wysocki wrote: > On Wed, Jun 29, 2016 at 8:15 PM, wrote: >> From: Fu Wei > > No changelog? it's on [0/10] > >> Signed-off-by: Fu Wei > > Please combine this one with the [5-6/10

[PATCH v6 10/10] acpi: Add SBSA Generic Watchdog support in GTDT driver

2016-06-29 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 v6 10/10] acpi: Add SBSA Generic Watchdog support in GTDT driver

2016-06-29 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 v6 06/10] acpi: Add GTDT driver to kernel build system

2016-06-29 Thread fu . wei
From: Fu Wei <fu@linaro.org> Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/acpi/Kconfig | 9 + drivers/acpi/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index b7e2e77..27a5cf9 100644 --- a/drivers/

[PATCH v6 05/10] acpi: Add arch_timer support in GTDT table parse driver

2016-06-29 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 v6 04/10] acpi: Add some basic struct and functions in GTDT driver

2016-06-29 Thread fu . wei
From: Fu Wei <fu@linaro.org> Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/acpi/acpi_gtdt.c | 85 1 file changed, 85 insertions(+) diff --git a/drivers/acpi/acpi_gtdt.c b/drivers/acpi/acpi_gtdt.c new file mode 100644 i

[PATCH v6 06/10] acpi: Add GTDT driver to kernel build system

2016-06-29 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- drivers/acpi/Kconfig | 9 + drivers/acpi/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index b7e2e77..27a5cf9 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -521,4

[PATCH v6 05/10] acpi: Add arch_timer support in GTDT table parse driver

2016-06-29 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 v6 04/10] acpi: Add some basic struct and functions in GTDT driver

2016-06-29 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- drivers/acpi/acpi_gtdt.c | 85 1 file changed, 85 insertions(+) diff --git a/drivers/acpi/acpi_gtdt.c b/drivers/acpi/acpi_gtdt.c new file mode 100644 index 000..54d7644e --- /dev/null +++ b/drivers

[PATCH v6 09/10] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-06-29 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 v6 07/10] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-06-29 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 v6 08/10] acpi: Add memory-mapped timer support in GTDT driver

2016-06-29 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 v6 09/10] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-06-29 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 v6 07/10] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-06-29 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 v6 08/10] acpi: Add memory-mapped timer support in GTDT driver

2016-06-29 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 v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-06-29 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 v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-06-29 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

[PATCH v6 02/10] clocksource/drivers/arm_arch_timer: Add a new enum for spi type

2016-06-29 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 v6 01/10] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-06-29 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 v6 02/10] clocksource/drivers/arm_arch_timer: Add a new enum for spi type

2016-06-29 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 v6 01/10] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-06-29 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 v6 03/10] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-06-29 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* don'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 v6 03/10] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-06-29 Thread fu . wei
From: Fu Wei This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* don'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 1/3] watchdog: skip min and max timeout validity check when max_hw_heartbeat_ms is defined

2016-05-31 Thread fu . wei
d <pan...@redhat.com> Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/watchdog/watchdog_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c index 7c3ba58..65e62d1 100644 --- a/drivers/watchdog/wat

[PATCH 1/3] watchdog: skip min and max timeout validity check when max_hw_heartbeat_ms is defined

2016-05-31 Thread fu . wei
From: Pratyush Anand When max_hw_heartbeat_ms has a none zero value, max_timeout is not used. So it's value can be 0. In such case if a driver uses min_timeout functionality, then check will always fail. This patch fixes above issue. Signed-off-by: Pratyush Anand Signed-off-by: Fu Wei

[PATCH 3/3] sbsa_gwdt: Set WDOG_HW_RUNNING, when watchdog is already running.

2016-05-31 Thread fu . wei
From: Pratyush Anand <pan...@redhat.com> This patch uses the new flag WDOG_HW_RUNNING in driver. According to the definition of this flag, it should be set, if watchdog is running after booting, before it's opened. Signed-off-by: Pratyush Anand <pan...@redhat.com> Signed-off-by

[PATCH 3/3] sbsa_gwdt: Set WDOG_HW_RUNNING, when watchdog is already running.

2016-05-31 Thread fu . wei
From: Pratyush Anand This patch uses the new flag WDOG_HW_RUNNING in driver. According to the definition of this flag, it should be set, if watchdog is running after booting, before it's opened. Signed-off-by: Pratyush Anand Signed-off-by: Fu Wei --- drivers/watchdog/sbsa_gwdt.c | 2 ++ 1

[PATCH 2/3] sbsa_gwdt: Use max_hw_heartbeat_ms instead of max_timeout

2016-05-31 Thread fu . wei
From: Pratyush Anand <pan...@redhat.com> Using max_hw_heartbeat_ms instead of max_timeout gives the flexibility to achieve higher user "timeout". Therefore, use this new infrastructure. Signed-off-by: Pratyush Anand <pan...@redhat.com> Signed-off-by: Fu Wei <fu

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

2016-05-31 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset: (1)Try to fix an issue about min and max timeout validity check: when max_hw_heartbeat_ms is defined, this check should be skipped. (2)Use max_hw_heartbeat_ms instead of max_timeout in SBSA watchdog. (3)Set WDOG_HW_RUNNING

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

2016-05-31 Thread fu . wei
From: Fu Wei This patchset: (1)Try to fix an issue about min and max timeout validity check: when max_hw_heartbeat_ms is defined, this check should be skipped. (2)Use max_hw_heartbeat_ms instead of max_timeout in SBSA watchdog. (3)Set WDOG_HW_RUNNING, when SBSA watchdog

[PATCH 2/3] sbsa_gwdt: Use max_hw_heartbeat_ms instead of max_timeout

2016-05-31 Thread fu . wei
From: Pratyush Anand Using max_hw_heartbeat_ms instead of max_timeout gives the flexibility to achieve higher user "timeout". Therefore, use this new infrastructure. Signed-off-by: Pratyush Anand Signed-off-by: Fu Wei --- drivers/watchdog/sbsa_gwdt.c | 4 ++-- 1 file changed, 2

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

2016-05-24 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 v5 2/6] clocksource/drivers/arm_arch_timer: Add a new enum for spi type

2016-05-24 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 v5 3/6] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-05-24 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* don'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 v5 6/6] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-05-24 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 | 147 +-- 1 file

[PATCH v5 5/6] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-05-24 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 v5 5/6] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-05-24 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 v5 3/6] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-05-24 Thread fu . wei
From: Fu Wei This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* don'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 v5 6/6] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-05-24 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 | 147 +-- 1 file changed, 142 insertions(+), 5 deletions(-) diff

[PATCH v5 4/6] acpi: Add GTDT table parse driver into ACPI driver

2016-05-24 Thread fu . wei
From: Fu Wei <fu@linaro.org> 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 filling the structs which provided by parameters(pointer of them). (2)memory-mapped

[PATCH v5 4/6] acpi: Add GTDT table parse driver into ACPI driver

2016-05-24 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 filling the structs which provided by parameters(pointer of them). (2)memory-mapped timer: provide a kernel APIs

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

2016-05-24 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 v5 0/6] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-05-24 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

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

2016-05-24 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 v5 1/6] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-05-24 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] Documentation:Update Documentation/zh_CN/arm64/booting.txt

2016-04-28 Thread Fu Wei
Hi Jonathan, On 04/28/2016 09:16 PM, Jonathan Corbet wrote: On Thu, 21 Apr 2016 17:42:28 +0100 Will Deacon wrote: -C: 1926e54f115725a9248d0c4c65c22acaf94de4c4 +C: 55f058e7574c3615dea4615573a19bdb258696c6 Just curious, but what are these SHAs supposed to

Re: [PATCH] Documentation:Update Documentation/zh_CN/arm64/booting.txt

2016-04-28 Thread Fu Wei
Hi Jonathan, On 04/28/2016 09:16 PM, Jonathan Corbet wrote: On Thu, 21 Apr 2016 17:42:28 +0100 Will Deacon wrote: -C: 1926e54f115725a9248d0c4c65c22acaf94de4c4 +C: 55f058e7574c3615dea4615573a19bdb258696c6 Just curious, but what are these SHAs supposed to represent? Neither of them

Re: [PATCH] Documentation:Update Documentation/zh_CN/arm64/booting.txt

2016-04-28 Thread Fu Wei
Hi Will On 04/22/2016 12:42 AM, Will Deacon wrote: On Thu, Apr 21, 2016 at 09:45:40PM +0800, w...@redhat.com wrote: From: Fu Wei <w...@redhat.com> This is a update of Chinese documentation: Documentation/zh_CN/arm64/booting.txt It is based on the modifications of Documentation

Re: [PATCH] Documentation:Update Documentation/zh_CN/arm64/booting.txt

2016-04-28 Thread Fu Wei
Hi Will On 04/22/2016 12:42 AM, Will Deacon wrote: On Thu, Apr 21, 2016 at 09:45:40PM +0800, w...@redhat.com wrote: From: Fu Wei This is a update of Chinese documentation: Documentation/zh_CN/arm64/booting.txt It is based on the modifications of Documentation/arm64/booting.txt

[PATCH v10] acpi, apei, arm64: APEI initial support for aarch64.

2016-04-14 Thread fu . wei
k (CMC). (2)move HEST type (ACPI_HEST_TYPE_IA32_CORRECTED_CHECK) checking to a generic place. (3)select HAVE_ACPI_APEI when EFI and ACPI is set on ARM64, because arch_apei_get_mem_attribute is using efi_mem_attributes on ARM64. [Fu Wei: improve && upstream] Signed-off-by: Tomasz Nowicki <tomasz.nowi...@linaro.org&

[PATCH v10] acpi, apei, arm64: APEI initial support for aarch64.

2016-04-14 Thread fu . wei
CTED_CHECK) checking to a generic place. (3)select HAVE_ACPI_APEI when EFI and ACPI is set on ARM64, because arch_apei_get_mem_attribute is using efi_mem_attributes on ARM64. [Fu Wei: improve && upstream] Signed-off-by: Tomasz Nowicki Tested-by: Jonathan (Zhixiong) Zhang Signed-off-by: Fu Wei

[PATCH v9] acpi, apei, arm64: APEI initial support for aarch64.

2016-04-05 Thread fu . wei
k (CMC). (2)move HEST type (ACPI_HEST_TYPE_IA32_CORRECTED_CHECK) checking to a generic place. (3)select HAVE_ACPI_APEI when EFI and ACPI is set on ARM64, because arch_apei_get_mem_attribute is using efi_mem_attributes on ARM64. [Fu Wei: improve && upstream] Signed-off-by: Tomasz Nowicki <tomasz.nowi...@linaro.org&

[PATCH v9] acpi, apei, arm64: APEI initial support for aarch64.

2016-04-05 Thread fu . wei
CTED_CHECK) checking to a generic place. (3)select HAVE_ACPI_APEI when EFI and ACPI is set on ARM64, because arch_apei_get_mem_attribute is using efi_mem_attributes on ARM64. [Fu Wei: improve && upstream] Signed-off-by: Tomasz Nowicki Tested-by: Jonathan (Zhixiong) Zhang Signed-off-by: Fu Wei

Re: [PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-04-05 Thread Fu Wei
ection of the main ACPI menu option, but I don't > see that ACPI implies EFI in Kconfig. > > Also, I agree with Ard, EFI should not be selected conditionally for ARM64 > for ACPI_APEI. > > We need EFI only for ARM64 so how about: > + select HAVE_ACPI_APEI if (ACPI &&a

Re: [PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-04-05 Thread Fu Wei
in Kconfig. > > Also, I agree with Ard, EFI should not be selected conditionally for ARM64 > for ACPI_APEI. > > We need EFI only for ARM64 so how about: > + select HAVE_ACPI_APEI if (ACPI && EFI) > in arch/arm64/Kconfig and leave ACPI_APEI as is? I also agree wit

Re: [PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-30 Thread Fu Wei
to > help improving the system] > > url: > https://github.com/0day-ci/linux/commits/fu-wei-linaro-org/acpi-apei-arm64-APEI-initial-support-for-aarch64/20160329-154730 > base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux > for-next/core > config: arm64-ally

Re: [PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-30 Thread Fu Wei
he system] > > url: > https://github.com/0day-ci/linux/commits/fu-wei-linaro-org/acpi-apei-arm64-APEI-initial-support-for-aarch64/20160329-154730 > base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux > for-next/core > config: arm64-allyesconfig (attached as

Re: [PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-30 Thread Fu Wei
ecking to >> a generic place. >> (3)select EFI when ACPI_APEI is set on ARM64, >> because arch_apei_get_mem_attribute is using efi_mem_attributes on ARM64. >> >> [Fu Wei: improve && upstream] >> >> Signed-off-by: Tomasz Nowicki <tomasz.nowi...@linaro.org> >> Te

Re: [PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-30 Thread Fu Wei
set on ARM64, >> because arch_apei_get_mem_attribute is using efi_mem_attributes on ARM64. >> >> [Fu Wei: improve && upstream] >> >> Signed-off-by: Tomasz Nowicki >> Tested-by: Jonathan (Zhixiong) Zhang >> Signed-off-by: Fu Wei >> Acked-by: Hanjun Gu

Re: [PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-30 Thread Fu Wei
CPI Platform Error Interface (APEI)" select MISC_FILESYSTEMS select PSTORE select EFI if ARM64 select UEFI_CPER depends on HAVE_ACPI_APEI config ARM64 def_bool y select ACPI_CCA_REQUIRED if ACPI select ACPI_GENERIC

Re: [PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-30 Thread Fu Wei
select PSTORE select EFI if ARM64 select UEFI_CPER depends on HAVE_ACPI_APEI config ARM64 def_bool y select ACPI_CCA_REQUIRED if ACPI select ACPI_GENERIC_GSI if ACPI select ACPI_REDUCED_HARDWARE_ONLY if ACPI select HAVE_ACPI_APE

Re: [RESEND PATCH v4 1/5] clocksource: move some enums and marcos to header file for arm_arch_timer

2016-03-29 Thread Fu Wei
rs/arm_arch_timer: Move enums and defines to header file > >> From: Fu Wei <fu@linaro.org> >> >> The patch sorts out the code for arm_arch_timer: > > What does it sort out? Nothing, AFAICT. > > You miss to explain WHY you are doing this. The list belo

Re: [RESEND PATCH v4 1/5] clocksource: move some enums and marcos to header file for arm_arch_timer

2016-03-29 Thread Fu Wei
generic clocksource code > >clocksource/drivers/arm_arch_timer: > >Is the proper prefix > > 2) Sentences start with upper case letters > > 3) What exactly are 'marcos' ? > > So a useful subject line would be; > > clocksource/drivers/arm_arch_ti

[PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-29 Thread fu . wei
k (CMC). (2)move HEST type (ACPI_HEST_TYPE_IA32_CORRECTED_CHECK) checking to a generic place. (3)select EFI when ACPI_APEI is set on ARM64, because arch_apei_get_mem_attribute is using efi_mem_attributes on ARM64. [Fu Wei: improve && upstream] Signed-off-by: Tomasz Nowicki <tomasz.nowi...@linaro.org> Te

[PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-29 Thread fu . wei
CTED_CHECK) checking to a generic place. (3)select EFI when ACPI_APEI is set on ARM64, because arch_apei_get_mem_attribute is using efi_mem_attributes on ARM64. [Fu Wei: improve && upstream] Signed-off-by: Tomasz Nowicki Tested-by: Jonathan (Zhixiong) Zhang Signed-off-by: Fu Wei Acked-by:

[PATCH] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2016-03-28 Thread fu . wei
From: Fu Wei <fu@linaro.org> This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann <a...@arndb.de> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpa...@amd.com>

[PATCH] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2016-03-28 Thread fu . wei
From: Fu Wei This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann Signed-off-by: Suravee Suthikulpanit Signed-off-by: Fu Wei Reviewed-by: Guenter Roeck --- Changelog: v1 :Re-upstream

Re: [PATCH v14 3/4] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2016-03-28 Thread Fu Wei
Hi Pratyush, Guenter, On 28 March 2016 at 22:11, Pratyush Anand <pan...@redhat.com> wrote: > On 28/03/2016:06:46:20 AM, Guenter Roeck wrote: >> On 03/28/2016 06:12 AM, Fu Wei wrote: >> >Hi Wim, Guenter: >> > >> >Great thanks for reviewing and applying

Re: [PATCH v14 3/4] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2016-03-28 Thread Fu Wei
Hi Pratyush, Guenter, On 28 March 2016 at 22:11, Pratyush Anand wrote: > On 28/03/2016:06:46:20 AM, Guenter Roeck wrote: >> On 03/28/2016 06:12 AM, Fu Wei wrote: >> >Hi Wim, Guenter: >> > >> >Great thanks for reviewing and applying this patchset :-) >

Re: [PATCH v14 3/4] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2016-03-28 Thread Fu Wei
for a while, then disappeared. So any thing I can do for this patch? Do I need to resubmit it? Maybe I miss it in some repo? Could you help me ? Great thanks ! :-) On 29 February 2016 at 16:46, <fu@linaro.org> wrote: > From: Fu Wei <fu@linaro.org> > > This can be a example o

Re: [PATCH v14 3/4] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2016-03-28 Thread Fu Wei
for a while, then disappeared. So any thing I can do for this patch? Do I need to resubmit it? Maybe I miss it in some repo? Could you help me ? Great thanks ! :-) On 29 February 2016 at 16:46, wrote: > From: Fu Wei > > This can be a example of adding SBSA Generic Watchdog device node > i

Re: [PATCH v4 0/5] acpi, clocksource, kvm: add GTDT and ARM memory-mapped timer support

2016-03-20 Thread Fu Wei
Hi Rafael, On 18 March 2016 at 12:22, Fu Wei <fu@linaro.org> wrote: > Hi Rafael, > > Great thanks for your feedback! > > On 18 March 2016 at 08:41, Rafael J. Wysocki <r...@rjwysocki.net> wrote: >> On Thursday, March 17, 2016 10:07:30 AM Timur Tabi w

Re: [PATCH v4 0/5] acpi, clocksource, kvm: add GTDT and ARM memory-mapped timer support

2016-03-20 Thread Fu Wei
Hi Rafael, On 18 March 2016 at 12:22, Fu Wei wrote: > Hi Rafael, > > Great thanks for your feedback! > > On 18 March 2016 at 08:41, Rafael J. Wysocki wrote: >> On Thursday, March 17, 2016 10:07:30 AM Timur Tabi wrote: >>> fu@linaro.org wrote: >>> &g

[RESEND PATCH v4 0/5] acpi, clocksource: add GTDT and ARM memory-mapped timer support

2016-03-20 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patchset: (1)Move some enums and marcos to header file for arm_arch_timer, improve the pr_* code by defining "pr_fmt(fmt)" in arm_arch_timer.c (2)Introduce ACPI GTDT parser: drivers/acpi/gtdt.c Parse all kinds of tim

[RESEND PATCH v4 0/5] acpi, clocksource: add GTDT and ARM memory-mapped timer support

2016-03-20 Thread fu . wei
From: Fu Wei This patchset: (1)Move some enums and marcos to header file for arm_arch_timer, improve the pr_* code by defining "pr_fmt(fmt)" in arm_arch_timer.c (2)Introduce ACPI GTDT parser: drivers/acpi/gtdt.c Parse all kinds of timer in GTDT table of ACPI:

[RESEND PATCH v4 4/5] clocksource: a little improvment for printk in arm_arch_timer.c

2016-03-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> This patch defines pr_fmt(fmt) for all pr_* functions. Signed-off-by: Fu Wei <fu@linaro.org> --- drivers/clocksource/arm_arch_timer.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/drivers

[RESEND PATCH v4 4/5] clocksource: a little improvment for printk in arm_arch_timer.c

2016-03-19 Thread fu . wei
From: Fu Wei This patch defines pr_fmt(fmt) for all pr_* functions. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource

[RESEND PATCH v4 2/5] ACPI: add GTDT table parse driver into ACPI driver

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

[RESEND PATCH v4 2/5] ACPI: add GTDT table parse driver into ACPI driver

2016-03-19 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 v7] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-19 Thread fu . wei
k (CMC). (2)move HEST type (ACPI_HEST_TYPE_IA32_CORRECTED_CHECK) checking to a generic place. Signed-off-by: Tomasz Nowicki <tomasz.nowi...@linaro.org> Tested-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Fu Wei <fu@linaro.org> Acked-by: Hanjun Guo <hanjun@linaro.org&g

[PATCH v7] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-19 Thread fu . wei
CTED_CHECK) checking to a generic place. Signed-off-by: Tomasz Nowicki Tested-by: Jonathan (Zhixiong) Zhang Signed-off-by: Fu Wei Acked-by: Hanjun Guo Tested-by: Tyler Baicar --- Changelog: v7: Add comment for arch_apei_flush_tlb_one in arch/arm64/include/asm/acpi.h v6: https://lists.linaro.org/p

[RESEND PATCH v4 3/5] clocksource: simplify ACPI code in arm_arch_timer.c

2016-03-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

[RESEND PATCH v4 3/5] clocksource: simplify ACPI code in arm_arch_timer.c

2016-03-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

[RESEND PATCH v4 1/5] clocksource: move some enums and marcos to header file for arm_arch_timer

2016-03-19 Thread fu . wei
From: Fu Wei <fu@linaro.org> The patch sorts out the code for arm_arch_timer: (1)move enum ppi_nr to the header file (2)move "ARCH_*_TIMER" marcos to the header file (3)add enum spi_nr in the header file, and use it in the driver (4)a

[RESEND PATCH v4 1/5] clocksource: move some enums and marcos to header file for arm_arch_timer

2016-03-19 Thread fu . wei
From: Fu Wei The patch sorts out the code for arm_arch_timer: (1)move enum ppi_nr to the header file (2)move "ARCH_*_TIMER" marcos to the header file (3)add enum spi_nr in the header file, and use it in the driver (4)add ARCH_WD_TIMER and ARCH_TIMER_MEM_MAX_FRAME marc

Re: [PATCH v4 0/5] acpi, clocksource, kvm: add GTDT and ARM memory-mapped timer support

2016-03-19 Thread Fu Wei
a Forum, hosted by The Linux Foundation. -- Best regards, Fu Wei Software Engineer Red Hat Software (Beijing) Co.,Ltd.Shanghai Branch Ph: +86 21 61221326(direct) Ph: +86 186 2020 4684 (mobile) Room 1512, Regus One Corporate Avenue,Level 15, One Corporate Avenue,222 Hubin Road,Huangpu District, Shanghai,China 200021

Re: [PATCH v4 0/5] acpi, clocksource, kvm: add GTDT and ARM memory-mapped timer support

2016-03-19 Thread Fu Wei
I am very interested in this series, if that counts. :-) Thank you for your feedback, do you have any suggestion for v4? > > > -- > Sent by an employee of the Qualcomm Innovation Center, Inc. > The Qualcomm Innovation Center, Inc. is a member of the > Code Aurora Forum, hosted by The L

Re: [PATCH v4 0/5] acpi, clocksource, kvm: add GTDT and ARM memory-mapped timer support

2016-03-19 Thread Fu Wei
Hi Rafael, Great thanks for your feedback! On 18 March 2016 at 08:41, Rafael J. Wysocki <r...@rjwysocki.net> wrote: > On Thursday, March 17, 2016 10:07:30 AM Timur Tabi wrote: >> fu@linaro.org wrote: >> > From: Fu Wei <fu@linaro.org> >> > >>

Re: [PATCH v4 0/5] acpi, clocksource, kvm: add GTDT and ARM memory-mapped timer support

2016-03-19 Thread Fu Wei
Hi Rafael, Great thanks for your feedback! On 18 March 2016 at 08:41, Rafael J. Wysocki wrote: > On Thursday, March 17, 2016 10:07:30 AM Timur Tabi wrote: >> fu@linaro.org wrote: >> > From: Fu Wei >> > >> > This patchset: >> >

[RESEND PATCH v4 5/5] clocksource: add memory-mapped timer support in arm_arch_timer.c

2016-03-18 Thread fu . wei
From: Fu Wei <fu@linaro.org> 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 <fu@linaro.org> --- drivers/clocksource/arm_arch_t

[RESEND PATCH v4 5/5] clocksource: add memory-mapped timer support in arm_arch_timer.c

2016-03-18 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

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-08 Thread Fu Wei
tion-v8.dtsi ASAP. Thanks > If this is too much hassle I could also send a fix after -rc1 (as the > breakage is not really critical). > > Cheers, > Andre. > -- Best regards, Fu Wei Software Engineer Red Hat Software (Beijing) Co.,Ltd.Shanghai Branch Ph: +86 21 61221326(direct) Ph: +86 186 2020 4684 (mobile) Room 1512, Regus One Corporate Avenue,Level 15, One Corporate Avenue,222 Hubin Road,Huangpu District, Shanghai,China 200021

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-08 Thread Fu Wei
8.dtsi, not into the > GICv2-only .dts. > So whoever now provides the watchdog patch, can it be rebased on top of > the foundation model .dts rework, so that the new node ends up in the > .dtsi file? I can rebase this patch to make a watchdog DT patch for foundation-v8.dtsi ASAP. Thanks >

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