Skip to content

PPTT_ref zero when read from mpam_acpi_table #49

@jentlestea1

Description

@jentlestea1

diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index bdb3580..a7a5d73 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -930,6 +930,8 @@ struct acpi_mpam_header
u32 overflow_flags;
u32 error_interrupt;
u32 error_flags;

  • u32 not_ready_max;

  • u32 offset;
    };
    acpi_mpam_header includes not_ready_max and offset, PPTT_ref will be zero when parsing acpi table from mpam_acpi_table, because mpam driver travel every mpam cache/memory node according with it's length.
    node_hdr = (struct acpi_mpam_header *)table_offset;
    while (table_offset < table_end) {
    switch (node_hdr->type) {

    case ACPI_MPAM_TYPE_CACHE:
        ret = acpi_mpam_parse_cache(node_hdr, pptt);
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions