[PATCH v3 0/4] PCI: Add DOE support for endpoint

Aksh Garg posted 4 patches 1 month, 3 weeks ago
There is a newer version of this series
Documentation/PCI/endpoint/index.rst          |   1 +
.../PCI/endpoint/pci-endpoint-doe.rst         | 318 ++++++++++
drivers/pci/doe.c                             |  11 -
drivers/pci/endpoint/Kconfig                  |  14 +
drivers/pci/endpoint/Makefile                 |   1 +
drivers/pci/endpoint/pci-ep-doe.c             | 552 ++++++++++++++++++
drivers/pci/endpoint/pci-epc-core.c           |  71 +++
drivers/pci/pci.h                             |  47 ++
include/linux/pci-doe.h                       |   8 +
include/linux/pci-epc.h                       |  24 +
10 files changed, 1036 insertions(+), 11 deletions(-)
create mode 100644 Documentation/PCI/endpoint/pci-endpoint-doe.rst
create mode 100644 drivers/pci/endpoint/pci-ep-doe.c
[PATCH v3 0/4] PCI: Add DOE support for endpoint
Posted by Aksh Garg 1 month, 3 weeks ago
This patch series introduces the framework for supporting the Data
Object Exchange (DOE) feature for PCIe endpoint devices. Please refer
to the documentation added in patch 4 for details on the feature and
implementation architecture.

The implementation provides a common framework for all PCIe endpoint
controllers, not specific to any particular SoC vendor.

This patch series is the non-RFC version of the RFC series at 
https://lore.kernel.org/all/20260213123603.420941-1-a-garg7@ti.com/

The changes since v1 are documented in the respective patch description.

Changes from v2 to v3:
- Rebased on 7.1-rc1.

v2: https://lore.kernel.org/all/20260401073022.215805-1-a-garg7@ti.com/

Aksh Garg (4):
  PCI/DOE: Move common definitions to the header file
  PCI: endpoint: Add DOE mailbox support for endpoint functions
  PCI: endpoint: Add API for DOE initialization and setup in EPC core
  Documentation: PCI: Add documentation for DOE endpoint support

 Documentation/PCI/endpoint/index.rst          |   1 +
 .../PCI/endpoint/pci-endpoint-doe.rst         | 318 ++++++++++
 drivers/pci/doe.c                             |  11 -
 drivers/pci/endpoint/Kconfig                  |  14 +
 drivers/pci/endpoint/Makefile                 |   1 +
 drivers/pci/endpoint/pci-ep-doe.c             | 552 ++++++++++++++++++
 drivers/pci/endpoint/pci-epc-core.c           |  71 +++
 drivers/pci/pci.h                             |  47 ++
 include/linux/pci-doe.h                       |   8 +
 include/linux/pci-epc.h                       |  24 +
 10 files changed, 1036 insertions(+), 11 deletions(-)
 create mode 100644 Documentation/PCI/endpoint/pci-endpoint-doe.rst
 create mode 100644 drivers/pci/endpoint/pci-ep-doe.c

-- 
2.34.1
Re: [PATCH v3 0/4] PCI: Add DOE support for endpoint
Posted by Manivannan Sadhasivam 1 month ago
On Mon, Apr 27, 2026 at 10:47:21AM +0530, Aksh Garg wrote:
> This patch series introduces the framework for supporting the Data
> Object Exchange (DOE) feature for PCIe endpoint devices. Please refer
> to the documentation added in patch 4 for details on the feature and
> implementation architecture.
> 
> The implementation provides a common framework for all PCIe endpoint
> controllers, not specific to any particular SoC vendor.
> 
> This patch series is the non-RFC version of the RFC series at 
> https://lore.kernel.org/all/20260213123603.420941-1-a-garg7@ti.com/
> 
> The changes since v1 are documented in the respective patch description.
> 

Thanks for the work! I left some comments, but the series look good from the
initial look. Once you add the callers as I suggested, I'll do a more thorough
review.

- Mani

> Changes from v2 to v3:
> - Rebased on 7.1-rc1.
> 
> v2: https://lore.kernel.org/all/20260401073022.215805-1-a-garg7@ti.com/
> 
> Aksh Garg (4):
>   PCI/DOE: Move common definitions to the header file
>   PCI: endpoint: Add DOE mailbox support for endpoint functions
>   PCI: endpoint: Add API for DOE initialization and setup in EPC core
>   Documentation: PCI: Add documentation for DOE endpoint support
> 
>  Documentation/PCI/endpoint/index.rst          |   1 +
>  .../PCI/endpoint/pci-endpoint-doe.rst         | 318 ++++++++++
>  drivers/pci/doe.c                             |  11 -
>  drivers/pci/endpoint/Kconfig                  |  14 +
>  drivers/pci/endpoint/Makefile                 |   1 +
>  drivers/pci/endpoint/pci-ep-doe.c             | 552 ++++++++++++++++++
>  drivers/pci/endpoint/pci-epc-core.c           |  71 +++
>  drivers/pci/pci.h                             |  47 ++
>  include/linux/pci-doe.h                       |   8 +
>  include/linux/pci-epc.h                       |  24 +
>  10 files changed, 1036 insertions(+), 11 deletions(-)
>  create mode 100644 Documentation/PCI/endpoint/pci-endpoint-doe.rst
>  create mode 100644 drivers/pci/endpoint/pci-ep-doe.c
> 
> -- 
> 2.34.1
> 

-- 
மணிவண்ணன் சதாசிவம்