git: c363da4ae81b - main - Add the Arm SPE interrupt to acpidump

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Tue, 01 Feb 2022 12:05:28 UTC
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=c363da4ae81b319223ae06adb96c5ecd9260b45e

commit c363da4ae81b319223ae06adb96c5ecd9260b45e
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2022-02-01 11:43:13 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2022-02-01 11:43:13 +0000

    Add the Arm SPE interrupt to acpidump
    
    To support the Arm Statistical Profiling Extension (SPE) ACPI 6.3 added
    a place to hold the SPE interrupt. Add to acpidump to show when printing
    the Arm Generic Interrupt data.
    
    Sponsored by:   The FreeBSD Foundation
---
 usr.sbin/acpi/acpidump/acpi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c
index 0e91a85f6a90..31baa3601338 100644
--- a/usr.sbin/acpi/acpidump/acpi.c
+++ b/usr.sbin/acpi/acpidump/acpi.c
@@ -556,6 +556,7 @@ acpi_print_madt(ACPI_SUBTABLE_HEADER *mp)
 		    (uintmax_t)gicc->GicrBaseAddress);
 		printf("\tMPIDR=%jx\n", (uintmax_t)gicc->ArmMpidr);
 		printf("\tEfficency Class=%d\n", (u_int)gicc->EfficiencyClass);
+		printf("\tSPE INTR=%d\n", gicc->SpeInterrupt);
 		break;
 	case ACPI_MADT_TYPE_GENERIC_DISTRIBUTOR:
 		gicd = (ACPI_MADT_GENERIC_DISTRIBUTOR *)mp;