PCI: dwc: Add outbound MSG TLPs support
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 18 Apr 2024 16:04:26 +0000 (12:04 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 9 Jul 2024 23:20:08 +0000 (18:20 -0500)
commitcd02e4b684fd3244bd55425e683e26a4003a2925
tree3786bb131c0c740052be858a5c29e8f6ff7a7a2a
parentaa85ef61d841dc5506861f71c28c351e17a9f472
PCI: dwc: Add outbound MSG TLPs support

Add "code" and "routing" into struct dw_pcie_ob_atu_cfg for triggering
INTx IRQs by iATU in the PCIe endpoint mode in near the future.
PCIE_ATU_INHIBIT_PAYLOAD is set to issue TLP type of Msg instead of
MsgD. This implementation supports the data-less messages only for now.

Link: https://lore.kernel.org/linux-pci/20240418-pme_msg-v8-3-a54265c39742@nxp.com
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
drivers/pci/controller/dwc/pcie-designware.c
drivers/pci/controller/dwc/pcie-designware.h