Re: [PATCH v4 2/2] PCI: dwc: Add debugfs based RASDES support in DWC

From: Manivannan Sadhasivam
Date: Wed Jan 15 2025 - 11:56:00 EST


On Wed, Dec 11, 2024 at 04:38:34PM +0530, Shradha Todi wrote:
>
>
> > -----Original Message-----
> > From: Fan Ni <nifan.cxl@xxxxxxxxx>
> > Sent: 10 December 2024 03:59
> > To: Shradha Todi <shradha.t@xxxxxxxxxxx>
> > Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-pci@xxxxxxxxxxxxxxx; manivannan.sadhasivam@xxxxxxxxxx; lpieralisi@xxxxxxxxxx;
> > kw@xxxxxxxxx; robh@xxxxxxxxxx; bhelgaas@xxxxxxxxxx; jingoohan1@xxxxxxxxx; Jonathan.Cameron@xxxxxxxxxx;
> > a.manzanares@xxxxxxxxxxx; pankaj.dubey@xxxxxxxxxxx; quic_nitegupt@xxxxxxxxxxx; quic_krichai@xxxxxxxxxxx;
> > gost.dev@xxxxxxxxxxx
> > Subject: Re: [PATCH v4 2/2] PCI: dwc: Add debugfs based RASDES support in DWC
> >
> > On Fri, Dec 06, 2024 at 01:14:56PM +0530, Shradha Todi wrote:
> > > Add support to use the RASDES feature of DesignWare PCIe controller
> > > using debugfs entries.
> > >
> > > RASDES is a vendor specific extended PCIe capability which reads the
> > > current hardware internal state of PCIe device. Following primary
> > > features are provided to userspace via debugfs:
> > > - Debug registers
> > > - Error injection
> > > - Statistical counters
> >
> > I think this patch can break into several to make it easier to review.
> > For example, it can be divided by the three features list above, with the documentation change coming last as a
> separate
> > patch.
> >
>
> Sure Fan. I have no issues in breaking this into smaller patches. Though I think the documentation
> should go along with the implementation rather than a separate patch?
> Anyway, I'll wait for some time for further review comments or if anyone has any objection to
> splitting the patches before going for the next revision.
>

I don't mind splitting the patches, but as you said, the documentation should go
in the same patch that adds driver support.

- Mani

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