Commit f0d73664 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki

ACPICA: Tables: Add full support for the PCCT table, update table definition.

Updates the PCCT table definition in the actbl3.h header.
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 77455222
...@@ -374,16 +374,22 @@ struct acpi_mpst_shared { ...@@ -374,16 +374,22 @@ struct acpi_mpst_shared {
struct acpi_table_pcct { struct acpi_table_pcct {
struct acpi_table_header header; /* Common ACPI table header */ struct acpi_table_header header; /* Common ACPI table header */
u32 flags; u32 flags;
u32 latency; u64 reserved;
u32 reserved;
}; };
/* Values for Flags field above */ /* Values for Flags field above */
#define ACPI_PCCT_DOORBELL 1 #define ACPI_PCCT_DOORBELL 1
/* Values for subtable type in struct acpi_subtable_header */
enum acpi_pcct_type {
ACPI_PCCT_TYPE_GENERIC_SUBSPACE = 0,
ACPI_PCCT_TYPE_RESERVED = 1 /* 1 and greater are reserved */
};
/* /*
* PCCT subtables * PCCT Subtables, correspond to Type in struct acpi_subtable_header
*/ */
/* 0: Generic Communications Subspace */ /* 0: Generic Communications Subspace */
...@@ -396,6 +402,9 @@ struct acpi_pcct_subspace { ...@@ -396,6 +402,9 @@ struct acpi_pcct_subspace {
struct acpi_generic_address doorbell_register; struct acpi_generic_address doorbell_register;
u64 preserve_mask; u64 preserve_mask;
u64 write_mask; u64 write_mask;
u32 latency;
u32 max_access_rate;
u16 min_turnaround_time;
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment