Re: [PATCH v8 0/5] PCI: dwc: Add common pme_turn_off message by using outbound iATU

From: Krzysztof Wilczyński
Date: Fri May 17 2024 - 13:12:25 EST


> Involve an new and common mathod to send pme_turn_off() message. Previously
> pme_turn_off() implement by platform related special register to trigge
> it.
>
> But Yoshihiro give good idea by using iATU to send out message. Previously
> Yoshihiro provide patches to raise INTx message by dummy write to outbound
> iATU.
>
> Use similar mathod to send out pme_turn_off message.
>
> Previous two patches is picked from Yoshihiro' big patch serialise.
> PCI: dwc: Change arguments of dw_pcie_prog_outbound_atu()
> PCI: Add INTx Mechanism Messages macros
>
> PCI: Add PME_TURN_OFF message macro
> dt-bindings: PCI: dwc: Add 'msg" register region, Add "msg" region to use
> to map PCI msg.
>
> PCI: dwc: Add common pme_turn_off message method
> Using common pme_turn_off() message if platform have not define their.

Applied to controller/dwc, thank you!

[01/05] PCI: Add INTx Mechanism Messages macros
https://git.kernel.org/pci/pci/c/182e6ef0df77
[02/05] PCI: dwc: Consolidate args of dw_pcie_prog_outbound_atu() into a structure
https://git.kernel.org/pci/pci/c/523d5018701d
[03/05] PCI: dwc: Add outbound MSG TLPs support
https://git.kernel.org/pci/pci/c/a683a0065ac1
[04/05] PCI: Add PCIE_MSG_CODE_PME_TURN_OFF message macro
https://git.kernel.org/pci/pci/c/a61a1c5932b0
[05/05] PCI: dwc: Add generic MSG TLP support for sending PME_Turn_Off when system suspend
https://git.kernel.org/pci/pci/c/33af7f463b68

Krzysztof