ACK: [PATCH v3 5/6] ACPI: Add in MADT subtable description for GIC ITS subtable
Alex Hung
alex.hung at canonical.com
Wed Jan 20 03:22:44 UTC 2016
On 2016-01-19 08:26 AM, Al Stone wrote:
> The GIC ITS subtable was added to the spec in ACPI 6.0. However, there
> was no struct definition for the subtable so that it could be parsed if
> it existed. This patch just adds in the struct for later use.
>
> Signed-off-by: Al Stone <al.stone at linaro.org>
> ---
> src/lib/include/fwts_acpi.h | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/src/lib/include/fwts_acpi.h b/src/lib/include/fwts_acpi.h
> index 0b4bad9..a8a8276 100644
> --- a/src/lib/include/fwts_acpi.h
> +++ b/src/lib/include/fwts_acpi.h
> @@ -415,6 +415,7 @@ typedef enum {
> FWTS_ACPI_MADT_GIC_D_GOC_DISTRIBUTOR,
> FWTS_ACPI_MADT_GIC_V2M_MSI_FRAME,
> FWTS_ACPI_MADT_GIC_R_REDISTRIBUTOR,
> + FWTS_ACPI_MADT_GIC_ITS,
> FWTS_ACPI_MADT_RESERVED
> } fwts_acpi_madt_type;
>
> @@ -557,6 +558,15 @@ typedef struct {
> uint32_t discovery_range_length;
> } __attribute__ ((packed)) fwts_acpi_madt_gicr;
>
> +/* New in ACPI 6.0, GIC ITS structure, 5.2.12.18 */
> +/* Type 15, FWTS_ACPI_MADT_GIC_ITS */
> +typedef struct {
> + uint16_t reserved;
> + uint32_t its_id;
> + uint64_t physical_base_address;
> + uint32_t reserved2;
> +} __attribute__ ((packed)) fwts_acpi_madt_gic_its;
> +
> /*
> * ACPI TCPA (Trusted Computing Platform Alliance Capabilities Table)
> * http://www.kuro5hin.org/story/2002/10/27/16622/530,
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list