Skip to content

Commit

Permalink
ACPI 6.3: MADT: add support for statistical profiling in GICC
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
  • Loading branch information
Erik Schmauss committed Feb 13, 2019
1 parent a484994 commit 31b1840
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion source/common/dmtbinfo2.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,8 @@ ACPI_DMTABLE_INFO AcpiDmTableInfoMadt11[] =
{ACPI_DMT_UINT64, ACPI_MADT11_OFFSET (GicrBaseAddress), "Redistributor Base Address", 0},
{ACPI_DMT_UINT64, ACPI_MADT11_OFFSET (ArmMpidr), "ARM MPIDR", 0},
{ACPI_DMT_UINT8, ACPI_MADT11_OFFSET (EfficiencyClass), "Efficiency Class", 0},
{ACPI_DMT_UINT24, ACPI_MADT11_OFFSET (Reserved2[0]), "Reserved", 0},
{ACPI_DMT_UINT8, ACPI_MADT11_OFFSET (Reserved2[0]), "Reserved", 0},
{ACPI_DMT_UINT16, ACPI_MADT11_OFFSET (SpeInterrupt), "SPE Overflow Interrupt", 0},
ACPI_DMT_TERMINATOR
};

Expand Down
5 changes: 3 additions & 2 deletions source/include/actbl2.h
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ typedef struct acpi_madt_local_x2apic_nmi
} ACPI_MADT_LOCAL_X2APIC_NMI;


/* 11: Generic Interrupt (ACPI 5.0 + ACPI 6.0 changes) */
/* 11: Generic Interrupt - GICC (ACPI 5.0 + ACPI 6.0 + ACPI 6.3 changes) */

typedef struct acpi_madt_generic_interrupt
{
Expand All @@ -892,7 +892,8 @@ typedef struct acpi_madt_generic_interrupt
UINT64 GicrBaseAddress;
UINT64 ArmMpidr;
UINT8 EfficiencyClass;
UINT8 Reserved2[3];
UINT8 Reserved2[1];
UINT16 SpeInterrupt; /* ACPI 6.3 */

} ACPI_MADT_GENERIC_INTERRUPT;

Expand Down

0 comments on commit 31b1840

Please sign in to comment.