linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] PCI: dwc: Add common pme_turn_off message by using outbound iATU
@ 2024-02-02 15:11 Frank Li
  2024-02-02 15:11 ` [PATCH v3 1/6] PCI: Add INTx Mechanism Messages macros Frank Li
                   ` (5 more replies)
  0 siblings, 6 replies; 28+ messages in thread
From: Frank Li @ 2024-02-02 15:11 UTC (permalink / raw)
  To: Bjorn Helgaas, Jingoo Han, Gustavo Pimentel,
	Manivannan Sadhasivam, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, imx
  Cc: linux-pci, linux-kernel, devicetree, Frank Li, Yoshihiro Shimoda,
	Serge Semin

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.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Changes in v3:
- fix 'MSG"
- Add pcie spec ref in head file
- using function name dw_pci_pme_turn_off()
- Using PCIE_ prefix macro
- Link to v2: https://lore.kernel.org/r/20240201-pme_msg-v2-0-6767052fe6a4@nxp.com

Changes in v2:
  - Add my sign off at PCI: dwc: Add outbound MSG TLPs support
  - Add Bjorn review tag at  Add INTx Mechanism Messages macros
  - using PME_Turn_Off match PCIe spec
  - ref to pcie spec v6.1
  - using section number.

- Link to v1: https://lore.kernel.org/r/20240130-pme_msg-v1-0-d52b0add5c7c@nxp.com

---
Frank Li (3):
      PCI: Add PCIE_MSG_CODE_PME_TURN_OFF message macro
      dt-bindings: PCI: dwc: Add 'msg' register region
      PCI: dwc: Add common send PME_Turn_Off message method

Yoshihiro Shimoda (3):
      PCI: Add INTx Mechanism Messages macros
      PCI: dwc: Consolidate args of dw_pcie_prog_outbound_atu() into a structure
      PCI: dwc: Add outbound MSG TLPs support

 .../devicetree/bindings/pci/snps,dw-pcie.yaml      |   4 +
 drivers/pci/controller/dwc/pcie-designware-ep.c    |  21 +++--
 drivers/pci/controller/dwc/pcie-designware-host.c  | 104 +++++++++++++++++----
 drivers/pci/controller/dwc/pcie-designware.c       |  62 ++++++------
 drivers/pci/controller/dwc/pcie-designware.h       |  22 ++++-
 drivers/pci/pci.h                                  |  20 ++++
 6 files changed, 169 insertions(+), 64 deletions(-)
---
base-commit: e08fc59eee9991afa467d406d684d46d543299a9
change-id: 20240130-pme_msg-dd2d81ee9886

Best regards,
-- 
Frank Li <Frank.Li@nxp.com>


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2024-03-07 22:28 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-02 15:11 [PATCH v3 0/6] PCI: dwc: Add common pme_turn_off message by using outbound iATU Frank Li
2024-02-02 15:11 ` [PATCH v3 1/6] PCI: Add INTx Mechanism Messages macros Frank Li
2024-02-02 15:11 ` [PATCH v3 2/6] PCI: dwc: Consolidate args of dw_pcie_prog_outbound_atu() into a structure Frank Li
2024-02-02 15:11 ` [PATCH v3 3/6] PCI: dwc: Add outbound MSG TLPs support Frank Li
2024-02-02 15:11 ` [PATCH v3 4/6] PCI: Add PCIE_MSG_CODE_PME_TURN_OFF message macro Frank Li
2024-02-02 15:11 ` [PATCH v3 5/6] dt-bindings: PCI: dwc: Add 'msg' register region Frank Li
2024-02-02 22:44   ` Serge Semin
2024-02-05 17:43     ` Frank Li
2024-02-05 18:30     ` Rob Herring
2024-02-05 19:13       ` Frank Li
2024-02-06 22:47         ` Frank Li
2024-02-07 12:37           ` Serge Semin
2024-02-07 16:02             ` Frank Li
2024-02-09  9:52               ` Serge Semin
2024-02-12 22:24                 ` Frank Li
2024-02-13 21:54                   ` Frank Li
2024-02-14  6:14                 ` Manivannan Sadhasivam
2024-02-14 19:54                   ` Frank Li
2024-02-28 16:03                   ` Rob Herring
2024-02-28 16:23                     ` Frank Li
2024-02-29  0:39                       ` Rob Herring
2024-02-29 11:26                         ` Serge Semin
2024-02-29 15:44                           ` Frank Li
2024-03-01 11:35                             ` Serge Semin
2024-03-01 16:08                           ` Rob Herring
2024-03-04 18:48                             ` Serge Semin
2024-03-07 22:28                               ` Frank Li
2024-02-02 15:11 ` [PATCH v3 6/6] PCI: dwc: Add common send PME_Turn_Off message method Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).