Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ab8cf1b authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki
Browse files

ACPICA: ACPI 6.0: Add changes for LPIT table.

ACPICA commit d527908bb33a3ed515cfb349cbec57121deafcc8

Second subtable type was removed from the July 2014 LPIT
document.

Link: https://github.com/acpica/acpica/commit/d527908b


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 aeb823bb
Loading
Loading
Loading
Loading
+2 −18
Original line number Diff line number Diff line
@@ -824,7 +824,7 @@ struct acpi_ivrs_memory {
 *
 * LPIT - Low Power Idle Table
 *
 * Conforms to "ACPI Low Power Idle Table (LPIT) and _LPD Proposal (DRAFT)"
 * Conforms to "ACPI Low Power Idle Table (LPIT)" July 2014.
 *
 ******************************************************************************/

@@ -846,8 +846,7 @@ struct acpi_lpit_header {

enum acpi_lpit_type {
	ACPI_LPIT_TYPE_NATIVE_CSTATE = 0x00,
	ACPI_LPIT_TYPE_SIMPLE_IO = 0x01,
	ACPI_LPIT_TYPE_RESERVED = 0x02	/* 2 and above are reserved */
	ACPI_LPIT_TYPE_RESERVED = 0x01	/* 1 and above are reserved */
};

/* Masks for Flags field above  */
@@ -870,21 +869,6 @@ struct acpi_lpit_native {
	u64 counter_frequency;
};

/* 0x01: Simple I/O based LPI structure */

struct acpi_lpit_io {
	struct acpi_lpit_header header;
	struct acpi_generic_address entry_trigger;
	u32 trigger_action;
	u64 trigger_value;
	u64 trigger_mask;
	struct acpi_generic_address minimum_idle_state;
	u32 residency;
	u32 latency;
	struct acpi_generic_address residency_counter;
	u64 counter_frequency;
};

/*******************************************************************************
 *
 * MCFG - PCI Memory Mapped Configuration table and subtable