mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
Add code to parse the arm64 specific MPAM table, looking up the cache level from the PPTT and feeding the end result into the MPAM driver. This happens in two stages. Platform devices are created first for the MSC devices. Once the driver probes it calls acpi_mpam_parse_resources() to discover the RIS entries the MSC contains. For now the MPAM hook mpam_ris_create() is stubbed out, but will update the MPAM driver with optional discovered data about the RIS entries. CC: Carl Worth <carl@os.amperecomputing.com> Link: https://developer.arm.com/documentation/den0065/3-0bet/?lang=en Reviewed-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Reviewed-by: Gavin Shan <gshan@redhat.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Reviewed-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Reviewed-by: Fenghua Yu <fenghuay@nvidia.com> Tested-by: Fenghua Yu <fenghuay@nvidia.com> Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Tested-by: Peter Newman <peternewman@google.com> Tested-by: Carl Worth <carl@os.amperecomputing.com> Tested-by: Gavin Shan <gshan@redhat.com> Tested-by: Zeng Heng <zengheng4@huawei.com> Tested-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Ben Horgan <ben.horgan@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
26 lines
514 B
Text
26 lines
514 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# ACPI Configuration for ARM64
|
|
#
|
|
|
|
config ACPI_IORT
|
|
bool
|
|
|
|
config ACPI_GTDT
|
|
bool
|
|
|
|
config ACPI_AGDI
|
|
bool "Arm Generic Diagnostic Dump and Reset Device Interface"
|
|
depends on ARM_SDE_INTERFACE
|
|
help
|
|
Arm Generic Diagnostic Dump and Reset Device Interface (AGDI) is
|
|
a standard that enables issuing a non-maskable diagnostic dump and
|
|
reset command.
|
|
|
|
If set, the kernel parses AGDI table and listens for the command.
|
|
|
|
config ACPI_APMT
|
|
bool
|
|
|
|
config ACPI_MPAM
|
|
bool
|