[PATCH] apei/ghes: Add ghes_edac support for __ZX__ and _BYO_ systems

Tony W Wang-oc posted 1 patch 1 week, 3 days ago
drivers/acpi/apei/ghes.c | 2 ++
1 file changed, 2 insertions(+)
[PATCH] apei/ghes: Add ghes_edac support for __ZX__ and _BYO_ systems
Posted by Tony W Wang-oc 1 week, 3 days ago
Let ghes_edac to be the preferred driver to load on  __ZX__ and _BYO_ 
systems by extending the platform detection list in ghes.c

Signed-off-by: Tony W Wang-oc <TonyWWang-oc@zhaoxin.com>
Tested-by: Lyle Li <LyleLi@zhaoxin.com>
---
 drivers/acpi/apei/ghes.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index b49a5da46788..f96aede5d9a3 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -1897,6 +1897,8 @@ void __init acpi_ghes_init(void)
  */
 static struct acpi_platform_list plat_list[] = {
 	{"HPE   ", "Server  ", 0, ACPI_SIG_FADT, all_versions},
+	{"__ZX__", "EDK2    ", 3, ACPI_SIG_FADT, greater_than_or_equal},
+	{"_BYO_ ", "BYOSOFT ", 3, ACPI_SIG_FADT, greater_than_or_equal},
 	{ } /* End */
 };
 
-- 
2.25.1
Re: [PATCH] apei/ghes: Add ghes_edac support for __ZX__ and _BYO_ systems
Posted by Borislav Petkov 1 week, 2 days ago
On Wed, Jan 28, 2026 at 10:52:16AM +0800, Tony W Wang-oc wrote:
> Let ghes_edac to be the preferred driver to load on  __ZX__ and _BYO_ 
> systems by extending the platform detection list in ghes.c
> 
> Signed-off-by: Tony W Wang-oc <TonyWWang-oc@zhaoxin.com>
> Tested-by: Lyle Li <LyleLi@zhaoxin.com>
> ---
>  drivers/acpi/apei/ghes.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
> index b49a5da46788..f96aede5d9a3 100644
> --- a/drivers/acpi/apei/ghes.c
> +++ b/drivers/acpi/apei/ghes.c
> @@ -1897,6 +1897,8 @@ void __init acpi_ghes_init(void)
>   */
>  static struct acpi_platform_list plat_list[] = {
>  	{"HPE   ", "Server  ", 0, ACPI_SIG_FADT, all_versions},
> +	{"__ZX__", "EDK2    ", 3, ACPI_SIG_FADT, greater_than_or_equal},
> +	{"_BYO_ ", "BYOSOFT ", 3, ACPI_SIG_FADT, greater_than_or_equal},
>  	{ } /* End */
>  };
>

Acked-by: Borislav Petkov (AMD) <bp@alien8.de>

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Re: [PATCH] apei/ghes: Add ghes_edac support for __ZX__ and _BYO_ systems
Posted by Rafael J. Wysocki 1 week, 2 days ago
On Wed, Jan 28, 2026 at 1:31 PM Borislav Petkov <bp@alien8.de> wrote:
>
> On Wed, Jan 28, 2026 at 10:52:16AM +0800, Tony W Wang-oc wrote:
> > Let ghes_edac to be the preferred driver to load on  __ZX__ and _BYO_
> > systems by extending the platform detection list in ghes.c
> >
> > Signed-off-by: Tony W Wang-oc <TonyWWang-oc@zhaoxin.com>
> > Tested-by: Lyle Li <LyleLi@zhaoxin.com>
> > ---
> >  drivers/acpi/apei/ghes.c | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
> > index b49a5da46788..f96aede5d9a3 100644
> > --- a/drivers/acpi/apei/ghes.c
> > +++ b/drivers/acpi/apei/ghes.c
> > @@ -1897,6 +1897,8 @@ void __init acpi_ghes_init(void)
> >   */
> >  static struct acpi_platform_list plat_list[] = {
> >       {"HPE   ", "Server  ", 0, ACPI_SIG_FADT, all_versions},
> > +     {"__ZX__", "EDK2    ", 3, ACPI_SIG_FADT, greater_than_or_equal},
> > +     {"_BYO_ ", "BYOSOFT ", 3, ACPI_SIG_FADT, greater_than_or_equal},
> >       { } /* End */
> >  };
> >
>
> Acked-by: Borislav Petkov (AMD) <bp@alien8.de>

Applied as 6.20 material, thanks!