[Linux-kernel-mentees] [PATCH] PCI: Add _DSM Function definiton for Latency Tolerance Reporting

Puranjay Mohan puranjay12 at gmail.com
Sun Jul 19 09:21:09 UTC 2020


PCI Firmware spec rev 3.2 defines function index 6 for LTR _DSM
Add a define for usage in LTR mechanism.

Signed-off-by: Puranjay Mohan <puranjay12 at gmail.com>
---
 include/linux/pci-acpi.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/pci-acpi.h b/include/linux/pci-acpi.h
index 5ba475ca9078..2889bf7f2a39 100644
--- a/include/linux/pci-acpi.h
+++ b/include/linux/pci-acpi.h
@@ -110,6 +110,7 @@ extern const guid_t pci_acpi_dsm_guid;
 
 /* _DSM Definitions for PCI */
 #define DSM_PCI_PRESERVE_BOOT_CONFIG		0x05
+#define DSM_PCI_LTR				0x06
 #define DSM_PCI_DEVICE_NAME			0x07
 #define DSM_PCI_POWER_ON_RESET_DELAY		0x08
 #define DSM_PCI_DEVICE_READINESS_DURATIONS	0x09
-- 
2.27.0



More information about the Linux-kernel-mentees mailing list