Skip to content

Commit 6d788e6

Browse files
aeglrafaeljw
authored andcommitted
ACPICA: MRRM: Some cleanups
ACPICA commit 022e2e4169841f429dbda677a4780830bf4c2177 1) Added source specification to MRRM table comment in actbl2.h 2) Shorten typedef from ACPI_TABLE_MRRM_MEM_RANGE_ENTRY to struct acpi_mrrm_mem_range_entry 3) Add new typedefs to source/tools/acpisrc/astable.c 4) Fix cut and paste errors in acpi_dm_table_info_mrrm0[] definition 5) Fix indent and source code style errors in actbl2.h 6) The base/length fields in the memory range structure are system memory addresses, not "MMIO". Update the acpi_dm_table_info_mrrm0[] strings. 7) Add main/sub table comments to acpi_dm_dump_mrrm() and dt_compile_mrrm() Link: acpica/acpica@022e2e41 Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent ced6337 commit 6d788e6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

include/acpi/actbl2.h

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,6 +1741,8 @@ struct acpi_msct_proximity {
17411741
/*******************************************************************************
17421742
*
17431743
* MRRM - Memory Range and Region Mapping (MRRM) table
1744+
* Conforms to "Intel Resource Director Technology Architecture Specification"
1745+
* Version 1.1, January 2025
17441746
*
17451747
******************************************************************************/
17461748

@@ -1756,13 +1758,13 @@ struct acpi_table_mrrm {
17561758
#define ACPI_MRRM_FLAGS_REGION_ASSIGNMENT_OS (1<<0)
17571759

17581760
/*******************************************************************************
1759-
*
1760-
* Memory Range entry - Memory Range entry in MRRM table
1761-
*
1762-
******************************************************************************/
1761+
*
1762+
* Memory Range entry - Memory Range entry in MRRM table
1763+
*
1764+
******************************************************************************/
17631765

1764-
struct acpi_table_mrrm_mem_range_entry {
1765-
ACPI_SUBTABLE_HEADER_16 header;
1766+
struct acpi_mrrm_mem_range_entry {
1767+
struct acpi_subtable_header_16 header;
17661768
u32 reserved0; /* Reserved */
17671769
u64 addr_base; /* Base addr of the mem range */
17681770
u64 addr_len; /* Length of the mem range */

0 commit comments

Comments
 (0)