aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorGravatar Catalin Marinas <catalin.marinas@arm.com> 2019-07-01 15:53:35 +0100
committerGravatar Catalin Marinas <catalin.marinas@arm.com> 2019-07-01 15:53:35 +0100
commit0c61efd322b75ed3143e3d130ebecbebf561adf5 (patch)
treef0b4bf299f04065fe1dbcac77cc4a2f1ccff9a9f /arch/arm64
parentx86/entry: Simplify _TIF_SYSCALL_EMU handling (diff)
parentperf: arm_spe: Enable ACPI/Platform automatic module loading (diff)
downloadlinux-0c61efd322b75ed3143e3d130ebecbebf561adf5.tar.gz
linux-0c61efd322b75ed3143e3d130ebecbebf561adf5.tar.bz2
linux-0c61efd322b75ed3143e3d130ebecbebf561adf5.zip
Merge branch 'for-next/perf' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux
* 'for-next/perf' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux: perf: arm_spe: Enable ACPI/Platform automatic module loading arm_pmu: acpi: spe: Add initial MADT/SPE probing ACPI/PPTT: Add function to return ACPI 6.3 Identical tokens ACPI/PPTT: Modify node flag detection to find last IDENTICAL MAINTAINERS: Add maintainer entry for the imx8 DDR PMU driver drivers/perf: imx_ddr: Add DDR performance counter support to perf dt-bindings: perf: imx8-ddr: add imx8qxp ddr performance monitor
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/include/asm/acpi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/acpi.h b/arch/arm64/include/asm/acpi.h
index 7628efbe6c12..d10399b9f998 100644
--- a/arch/arm64/include/asm/acpi.h
+++ b/arch/arm64/include/asm/acpi.h
@@ -41,6 +41,9 @@
(!(entry) || (entry)->header.length < ACPI_MADT_GICC_MIN_LENGTH || \
(unsigned long)(entry) + (entry)->header.length > (end))
+#define ACPI_MADT_GICC_SPE (ACPI_OFFSET(struct acpi_madt_generic_interrupt, \
+ spe_interrupt) + sizeof(u16))
+
/* Basic configuration for ACPI */
#ifdef CONFIG_ACPI
pgprot_t __acpi_get_mem_attribute(phys_addr_t addr);