acpi: madt: Add support for ACPI 6.3
diff mbox series

Message ID 20190220110356.28133-1-alex.hung@canonical.com
State Accepted
Headers show
Series
  • acpi: madt: Add support for ACPI 6.3
Related show

Commit Message

Alex Hung Feb. 20, 2019, 11:03 a.m. UTC
ACPI 6.3 introduces a new FADT/MADT version combination.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/acpi/madt/madt.c | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Colin Ian King Feb. 20, 2019, 11:06 a.m. UTC | #1
On 20/02/2019 11:03, Alex Hung wrote:
> ACPI 6.3 introduces a new FADT/MADT version combination.
> 
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/acpi/madt/madt.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/src/acpi/madt/madt.c b/src/acpi/madt/madt.c
> index d61ae6f6..dc51760d 100644
> --- a/src/acpi/madt/madt.c
> +++ b/src/acpi/madt/madt.c
> @@ -222,6 +222,14 @@ static struct acpi_madt_subtable_lengths spec_info[] = {
>  		.lengths = { 8, 12, 10, 8, 6, 12, 16, SUBTABLE_VARIABLE,
>  			     16, 16, 12, 80, 24, 24, 16, 20 }
>  	},
> +	{ /* for ACPI 6.3 */
> +		.major_version = 6,
> +		.minor_version = 3,
> +		.madt_version = 5,
> +		.num_types = 16,
> +		.lengths = { 8, 12, 10, 8, 6, 12, 16, SUBTABLE_VARIABLE,
> +			     16, 16, 12, 80, 24, 24, 16, 20 }
> +	},
>  	{ /* terminator */
>  		.major_version = 0,
>  		.minor_version = 0,
> 

thanks Alex

Acked-by: Colin Ian King <colin.king@canonical.com>
ivanhu Feb. 22, 2019, 1:27 p.m. UTC | #2
On 2/20/19 7:03 PM, Alex Hung wrote:
> ACPI 6.3 introduces a new FADT/MADT version combination.
>
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/acpi/madt/madt.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/src/acpi/madt/madt.c b/src/acpi/madt/madt.c
> index d61ae6f6..dc51760d 100644
> --- a/src/acpi/madt/madt.c
> +++ b/src/acpi/madt/madt.c
> @@ -222,6 +222,14 @@ static struct acpi_madt_subtable_lengths spec_info[] = {
>  		.lengths = { 8, 12, 10, 8, 6, 12, 16, SUBTABLE_VARIABLE,
>  			     16, 16, 12, 80, 24, 24, 16, 20 }
>  	},
> +	{ /* for ACPI 6.3 */
> +		.major_version = 6,
> +		.minor_version = 3,
> +		.madt_version = 5,
> +		.num_types = 16,
> +		.lengths = { 8, 12, 10, 8, 6, 12, 16, SUBTABLE_VARIABLE,
> +			     16, 16, 12, 80, 24, 24, 16, 20 }
> +	},
>  	{ /* terminator */
>  		.major_version = 0,
>  		.minor_version = 0,


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

Patch
diff mbox series

diff --git a/src/acpi/madt/madt.c b/src/acpi/madt/madt.c
index d61ae6f6..dc51760d 100644
--- a/src/acpi/madt/madt.c
+++ b/src/acpi/madt/madt.c
@@ -222,6 +222,14 @@  static struct acpi_madt_subtable_lengths spec_info[] = {
 		.lengths = { 8, 12, 10, 8, 6, 12, 16, SUBTABLE_VARIABLE,
 			     16, 16, 12, 80, 24, 24, 16, 20 }
 	},
+	{ /* for ACPI 6.3 */
+		.major_version = 6,
+		.minor_version = 3,
+		.madt_version = 5,
+		.num_types = 16,
+		.lengths = { 8, 12, 10, 8, 6, 12, 16, SUBTABLE_VARIABLE,
+			     16, 16, 12, 80, 24, 24, 16, 20 }
+	},
 	{ /* terminator */
 		.major_version = 0,
 		.minor_version = 0,