From: Frank Li Date: Thu, 18 Apr 2024 16:04:27 +0000 (-0400) Subject: PCI: Add PCIE_MSG_CODE_PME_TURN_OFF message macro X-Git-Tag: microblaze-v6.13~601^2~4^2~16 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=9972b17712e434f1284bc85d77a2fdbb33db6c51;p=linux-2.6-microblaze.git PCI: Add PCIE_MSG_CODE_PME_TURN_OFF message macro Add PCIE_MSG_CODE_PME_TURN_OFF macros to enable a PCIe host driver to send PME_Turn_Off messages. Link: https://lore.kernel.org/linux-pci/20240418-pme_msg-v8-4-a54265c39742@nxp.com Signed-off-by: Frank Li Signed-off-by: Krzysztof WilczyƄski Signed-off-by: Bjorn Helgaas Reviewed-by: Manivannan Sadhasivam --- diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 95c95d981241..84b711cad267 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -30,6 +30,9 @@ #define PCIE_MSG_TYPE_R_LOCAL 4 #define PCIE_MSG_TYPE_R_GATHER 5 +/* Power Management Messages; PCIe r6.0, sec 2.2.8.2 */ +#define PCIE_MSG_CODE_PME_TURN_OFF 0x19 + /* INTx Mechanism Messages; PCIe r6.0, sec 2.2.8.1 */ #define PCIE_MSG_CODE_ASSERT_INTA 0x20 #define PCIE_MSG_CODE_ASSERT_INTB 0x21