2018-03-20 12:25:05

by Shiju Jose

[permalink] [raw]
Subject: [PATCH]arm64:defconfig:enable ACPI_APEI_SEA

Enable ACPI APEI SEA option for arm64, to handle
ARMv8 SEA(Synchronous External Abort).

Signed-off-by: Shiju Jose <[email protected]>
Cc: Tyler Baicar <[email protected]>
Cc: James Morse <[email protected]>
Cc: Dongjiu Geng <[email protected]>
Cc: Xie XiuQi <[email protected]>
Cc: Qiang Zheng <[email protected]>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 634b373..5ddf25c 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -574,6 +574,7 @@ CONFIG_ACPI_APEI_GHES=y
CONFIG_ACPI_APEI_PCIEAER=y
CONFIG_ACPI_APEI_MEMORY_FAILURE=y
CONFIG_ACPI_APEI_EINJ=y
+CONFIG_ACPI_APEI_SEA=y
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
--
1.9.1




2018-03-21 01:50:57

by Dongjiu Geng

[permalink] [raw]
Subject: Re: [PATCH]arm64:defconfig:enable ACPI_APEI_SEA

Hi Shiju,
The configuration "CONFIG_ACPI_APEI_SEA" is needed to manually enable?
In the "drivers/acpi/apei/Kconfig" file, the default value of ACPI_APEI_SEA is "y"

config ACPI_APEI_SEA
bool "APEI Synchronous External Abort logging/recovering support"
depends on ARM64 && ACPI_APEI_GHES
default y
help
This option should be enabled if the system supports
firmware first handling of SEA (Synchronous External Abort).
SEA happens with certain faults of data abort or instruction
abort synchronous exceptions on ARMv8 systems. If a system
supports firmware first handling of SEA, the platform analyzes
and handles hardware error notifications from SEA, and it may then
form a HW error record for the OS to parse and handle. This
option allows the OS to look for such hardware error record, and
take appropriate action.


On 2018/3/20 20:23, Shiju Jose wrote:
> Enable ACPI APEI SEA option for arm64, to handle
> ARMv8 SEA(Synchronous External Abort).
>
> Signed-off-by: Shiju Jose <[email protected]>
> Cc: Tyler Baicar <[email protected]>
> Cc: James Morse <[email protected]>
> Cc: Dongjiu Geng <[email protected]>
> Cc: Xie XiuQi <[email protected]>
> Cc: Qiang Zheng <[email protected]>
> ---
> arch/arm64/configs/defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 634b373..5ddf25c 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -574,6 +574,7 @@ CONFIG_ACPI_APEI_GHES=y
> CONFIG_ACPI_APEI_PCIEAER=y
> CONFIG_ACPI_APEI_MEMORY_FAILURE=y
> CONFIG_ACPI_APEI_EINJ=y
> +CONFIG_ACPI_APEI_SEA=y
> CONFIG_EXT2_FS=y
> CONFIG_EXT3_FS=y
> CONFIG_EXT4_FS_POSIX_ACL=y
>


2018-03-21 10:52:47

by Shiju Jose

[permalink] [raw]
Subject: RE: [PATCH]arm64:defconfig:enable ACPI_APEI_SEA

Hi Gengdongjiu,

Ok got it. Please ignore this patch.

Thanks,
Shiju

> -----Original Message-----
> From: gengdongjiu
> Sent: 21 March 2018 01:49
> To: Shiju Jose; xuwei (O)
> Cc: [email protected]; [email protected]; [email protected];
> Xiexiuqi; Zhengqiang (turing); Linuxarm; [email protected];
> [email protected]
> Subject: Re: [PATCH]arm64:defconfig:enable ACPI_APEI_SEA
>
> Hi Shiju,
> The configuration "CONFIG_ACPI_APEI_SEA" is needed to manually
> enable?
> In the "drivers/acpi/apei/Kconfig" file, the default value of
> ACPI_APEI_SEA is "y"
>
> config ACPI_APEI_SEA
> bool "APEI Synchronous External Abort logging/recovering
> support"
> depends on ARM64 && ACPI_APEI_GHES
> default y
> help
> This option should be enabled if the system supports
> firmware first handling of SEA (Synchronous External Abort).
> SEA happens with certain faults of data abort or instruction
> abort synchronous exceptions on ARMv8 systems. If a system
> supports firmware first handling of SEA, the platform
> analyzes
> and handles hardware error notifications from SEA, and it may
> then
> form a HW error record for the OS to parse and handle. This
> option allows the OS to look for such hardware error record,
> and
> take appropriate action.
>
>
> On 2018/3/20 20:23, Shiju Jose wrote:
> > Enable ACPI APEI SEA option for arm64, to handle
> > ARMv8 SEA(Synchronous External Abort).
> >
> > Signed-off-by: Shiju Jose <[email protected]>
> > Cc: Tyler Baicar <[email protected]>
> > Cc: James Morse <[email protected]>
> > Cc: Dongjiu Geng <[email protected]>
> > Cc: Xie XiuQi <[email protected]>
> > Cc: Qiang Zheng <[email protected]>
> > ---
> > arch/arm64/configs/defconfig | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm64/configs/defconfig
> > b/arch/arm64/configs/defconfig index 634b373..5ddf25c 100644
> > --- a/arch/arm64/configs/defconfig
> > +++ b/arch/arm64/configs/defconfig
> > @@ -574,6 +574,7 @@ CONFIG_ACPI_APEI_GHES=y
> > CONFIG_ACPI_APEI_PCIEAER=y CONFIG_ACPI_APEI_MEMORY_FAILURE=y
> > CONFIG_ACPI_APEI_EINJ=y
> > +CONFIG_ACPI_APEI_SEA=y
> > CONFIG_EXT2_FS=y
> > CONFIG_EXT3_FS=y
> > CONFIG_EXT4_FS_POSIX_ACL=y
> >