aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2017-09-19 22:00:30 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-10-03 19:43:05 -0400
commit81b7cb92958f50da1e0997de3289c09031c044c5 (patch)
treefb0a59367bd3428b6a97afd86031042ca912fe8b
parent979fba9452b8111a83f555becea0a63c377e4e73 (diff)
ACPICA: Header support for the PDTT ACPI table
ACPICA commit 9951c78746b52da7d23da4531fcfba6bf8c95b6a This is an ACPI 6.2 table. Link: https://github.com/acpica/acpica/commit/9951c78746b5 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--include/acpi/actbl1.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
index 6b8714a428b6..7a89e6de94da 100644
--- a/include/acpi/actbl1.h
+++ b/include/acpi/actbl1.h
@@ -69,6 +69,7 @@
69#define ACPI_SIG_HEST "HEST" /* Hardware Error Source Table */ 69#define ACPI_SIG_HEST "HEST" /* Hardware Error Source Table */
70#define ACPI_SIG_MADT "APIC" /* Multiple APIC Description Table */ 70#define ACPI_SIG_MADT "APIC" /* Multiple APIC Description Table */
71#define ACPI_SIG_MSCT "MSCT" /* Maximum System Characteristics Table */ 71#define ACPI_SIG_MSCT "MSCT" /* Maximum System Characteristics Table */
72#define ACPI_SIG_PDTT "PDTT" /* Processor Debug Trigger Table */
72#define ACPI_SIG_PPTT "PPTT" /* Processor Properties Topology Table */ 73#define ACPI_SIG_PPTT "PPTT" /* Processor Properties Topology Table */
73#define ACPI_SIG_SBST "SBST" /* Smart Battery Specification Table */ 74#define ACPI_SIG_SBST "SBST" /* Smart Battery Specification Table */
74#define ACPI_SIG_SLIT "SLIT" /* System Locality Distance Information Table */ 75#define ACPI_SIG_SLIT "SLIT" /* System Locality Distance Information Table */
@@ -1282,6 +1283,35 @@ struct acpi_nfit_flush_address {
1282 1283
1283/******************************************************************************* 1284/*******************************************************************************
1284 * 1285 *
1286 * PDTT - Processor Debug Trigger Table (ACPI 6.2)
1287 * Version 0
1288 *
1289 ******************************************************************************/
1290
1291struct acpi_table_pdtt {
1292 struct acpi_table_header header; /* Common ACPI table header */
1293 u8 trigger_count;
1294 u8 reserved[3];
1295 u32 array_offset;
1296};
1297
1298/*
1299 * PDTT Communication Channel Identifier Structure.
1300 * The number of these structures is defined by trigger_count above,
1301 * starting at array_offset.
1302 */
1303struct acpi_pdtt_channel {
1304 u16 sub_channel_id;
1305};
1306
1307/* Mask and Flags for above */
1308
1309#define ACPI_PDTT_SUBCHANNEL_ID_MASK 0x00FF
1310#define ACPI_PDTT_RUNTIME_TRIGGER (1<<8)
1311#define ACPI_PPTT_WAIT_COMPLETION (1<<9)
1312
1313/*******************************************************************************
1314 *
1285 * PPTT - Processor Properties Topology Table (ACPI 6.2) 1315 * PPTT - Processor Properties Topology Table (ACPI 6.2)
1286 * Version 1 1316 * Version 1
1287 * 1317 *