Re: [PATCH v3 00/10] PCI: endpoint: pci-epf-vntb / NTB: epf: Enable per-doorbell bit handling
From: Koichiro Den
Date: Wed Mar 25 2026 - 04:47:27 EST
On Wed, Mar 25, 2026 at 07:23:37AM +0100, Niklas Cassel wrote:
> Hello Koichiro,
>
> On Tue, Mar 24, 2026 at 12:43:53AM +0900, Koichiro Den wrote:
> >
> > - configfs knobs mutability and bounds checking, including (but not limited to)
> > db_count.
> > In my opinion, allowing updates after .bind() looks questionable, and
> > returning -EBUSY once bound seems more appropriate. I'm leaning toward
> > handling this as a separate hardening series.
>
> This is in line with what we did for pci-epf-test, see commit:
> ffcc4850a161 ("PCI: endpoint: pci-epf-test: Allow overriding default BAR sizes")
>
> but we return EOPNOTSUPP instead of EBUSY.
Yes, I remember you were discussing this with Mani in another thread. For
consistency, we should use -EOPNOTSUPP here as well. Thanks for the reminder.
Best regards,
Koichiro
>
>
> Kind regards,
> Niklas