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

Aksh Garg posted 4 patches 2 months ago
There is a newer version of this series
Documentation/PCI/index.rst      |   1 +
Documentation/PCI/pci-doe-ep.rst | 297 ++++++++++++++
drivers/pci/Kconfig              |  14 +
drivers/pci/Makefile             |   1 +
drivers/pci/doe-ep.c             | 671 +++++++++++++++++++++++++++++++
drivers/pci/doe.c                |  11 -
include/linux/pci-doe.h          | 107 ++++-
include/linux/pci-epc.h          |   4 +
8 files changed, 1090 insertions(+), 16 deletions(-)
create mode 100644 Documentation/PCI/pci-doe-ep.rst
create mode 100644 drivers/pci/doe-ep.c
[RFC PATCH 0/4] PCI: Add DOE support for endpoint
Posted by Aksh Garg 2 months 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 1 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.

Posting this as an RFC patch series to get feedback on the design and
implementation.

Aksh Garg (4):
  PCI: Add documentation for DOE endpoint support
  PCI/DOE: Move common definitions to the header file
  PCI/DOE: Add DOE mailbox support for endpoint functions
  PCI: Document APIs for endpoint DOE implementation

 Documentation/PCI/index.rst      |   1 +
 Documentation/PCI/pci-doe-ep.rst | 297 ++++++++++++++
 drivers/pci/Kconfig              |  14 +
 drivers/pci/Makefile             |   1 +
 drivers/pci/doe-ep.c             | 671 +++++++++++++++++++++++++++++++
 drivers/pci/doe.c                |  11 -
 include/linux/pci-doe.h          | 107 ++++-
 include/linux/pci-epc.h          |   4 +
 8 files changed, 1090 insertions(+), 16 deletions(-)
 create mode 100644 Documentation/PCI/pci-doe-ep.rst
 create mode 100644 drivers/pci/doe-ep.c

-- 
2.34.1
Re: [RFC PATCH 0/4] PCI: Add DOE support for endpoint
Posted by Manivannan Sadhasivam 1 month, 2 weeks ago
On Fri, Feb 13, 2026 at 06:05:59PM +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 1 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.
> 
> Posting this as an RFC patch series to get feedback on the design and
> implementation.
> 

Just left some comments inline. In the next non-RFC version, please post the
EPC and handler changes as well.

It is OK if you can post them separately so that we can merge the common bits
first.

- Mani

> Aksh Garg (4):
>   PCI: Add documentation for DOE endpoint support
>   PCI/DOE: Move common definitions to the header file
>   PCI/DOE: Add DOE mailbox support for endpoint functions
>   PCI: Document APIs for endpoint DOE implementation
> 
>  Documentation/PCI/index.rst      |   1 +
>  Documentation/PCI/pci-doe-ep.rst | 297 ++++++++++++++
>  drivers/pci/Kconfig              |  14 +
>  drivers/pci/Makefile             |   1 +
>  drivers/pci/doe-ep.c             | 671 +++++++++++++++++++++++++++++++
>  drivers/pci/doe.c                |  11 -
>  include/linux/pci-doe.h          | 107 ++++-
>  include/linux/pci-epc.h          |   4 +
>  8 files changed, 1090 insertions(+), 16 deletions(-)
>  create mode 100644 Documentation/PCI/pci-doe-ep.rst
>  create mode 100644 drivers/pci/doe-ep.c
> 
> -- 
> 2.34.1
> 
> 

-- 
மணிவண்ணன் சதாசிவம்
Re: [RFC PATCH 0/4] PCI: Add DOE support for endpoint
Posted by Niklas Cassel 2 months ago
Hello Aksh,

On Fri, Feb 13, 2026 at 06:05:59PM +0530, Aksh Garg wrote:

(snip)

>  create mode 100644 Documentation/PCI/pci-doe-ep.rst

I think it would make much more sense to create this file as:
Documentation/PCI/endpoint/pci-endpoint-doe.rst
(To match the existing naming scheme.)


>  create mode 100644 drivers/pci/doe-ep.c

I think it would make much more sense to create this file as:
drivers/pci/endpoint/pci-ep-doe.c
(To match the existing naming scheme.)


Kind regards,
Niklas