diff mbox series

[2/2] sbbr: adjust signature name for MADT

Message ID 20210624184103.684831-2-ernunes@redhat.com
State Accepted
Headers show
Series [1/2] sbbr: remove SSDT from mandatory list | expand

Commit Message

Erico Nunes June 24, 2021, 6:41 p.m. UTC
The Multiple APIC Description Table (MADT) is a required table in SBBR
version 1.2, but it is present with the signature "APIC" rather than
"MADT".
Adjust the signature name so it doesn't report failure in compliant
systems.

Signed-off-by: Erico Nunes <ernunes@redhat.com>
---
 src/sbbr/acpitables/acpitables.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Hung June 24, 2021, 8:34 p.m. UTC | #1
On 2021-06-24 12:41 p.m., Erico Nunes wrote:
> The Multiple APIC Description Table (MADT) is a required table in SBBR
> version 1.2, but it is present with the signature "APIC" rather than
> "MADT".
> Adjust the signature name so it doesn't report failure in compliant
> systems.
> 
> Signed-off-by: Erico Nunes <ernunes@redhat.com>
> ---
>  src/sbbr/acpitables/acpitables.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/sbbr/acpitables/acpitables.c b/src/sbbr/acpitables/acpitables.c
> index 20b50c1f..d124ee08 100644
> --- a/src/sbbr/acpitables/acpitables.c
> +++ b/src/sbbr/acpitables/acpitables.c
> @@ -201,7 +201,7 @@ static const char *mandatory_acpi_tables[] = {
>  	"XSDT",
>  	"FACP",
>  	"DSDT", /* SSDT is optional */
> -	"MADT",
> +	"APIC", /* MADT */
>  	"GTDT",
>  	"DBG2",
>  	"SPCR",
> 



Acked-by: Alex Hung <alex.hung@canonical.com>
Ivan Hu June 28, 2021, 5:45 a.m. UTC | #2
On 6/25/21 2:41 AM, Erico Nunes wrote:
> The Multiple APIC Description Table (MADT) is a required table in SBBR
> version 1.2, but it is present with the signature "APIC" rather than
> "MADT".
> Adjust the signature name so it doesn't report failure in compliant
> systems.
> 
> Signed-off-by: Erico Nunes <ernunes@redhat.com>
> ---
>  src/sbbr/acpitables/acpitables.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/sbbr/acpitables/acpitables.c b/src/sbbr/acpitables/acpitables.c
> index 20b50c1f..d124ee08 100644
> --- a/src/sbbr/acpitables/acpitables.c
> +++ b/src/sbbr/acpitables/acpitables.c
> @@ -201,7 +201,7 @@ static const char *mandatory_acpi_tables[] = {
>  	"XSDT",
>  	"FACP",
>  	"DSDT", /* SSDT is optional */
> -	"MADT",
> +	"APIC", /* MADT */
>  	"GTDT",
>  	"DBG2",
>  	"SPCR",
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox series

Patch

diff --git a/src/sbbr/acpitables/acpitables.c b/src/sbbr/acpitables/acpitables.c
index 20b50c1f..d124ee08 100644
--- a/src/sbbr/acpitables/acpitables.c
+++ b/src/sbbr/acpitables/acpitables.c
@@ -201,7 +201,7 @@  static const char *mandatory_acpi_tables[] = {
 	"XSDT",
 	"FACP",
 	"DSDT", /* SSDT is optional */
-	"MADT",
+	"APIC", /* MADT */
 	"GTDT",
 	"DBG2",
 	"SPCR",