Re: [PATCH v5 06/10] vpci: Hide extended capability when it fails to initialize

2025-06-06 Thread Roger Pau Monné
On Fri, Jun 06, 2025 at 08:30:42AM +, Chen, Jiqian wrote: > On 2025/6/5 22:47, Roger Pau Monné wrote: > > On Mon, May 26, 2025 at 05:45:55PM +0800, Jiqian Chen wrote: > >> @@ -209,11 +301,11 @@ static int vpci_init_capabilities(struct pci_dev > >> *pdev) > >> pdev->domain,

Re: [PATCH v5 06/10] vpci: Hide extended capability when it fails to initialize

2025-06-06 Thread Chen, Jiqian
On 2025/6/5 22:47, Roger Pau Monné wrote: > On Mon, May 26, 2025 at 05:45:55PM +0800, Jiqian Chen wrote: >> When vpci fails to initialize a extended capability of device, it >> just returns an error and vPCI gets disabled for the whole device. >> >> So, add function to hide extended capability when

Re: [PATCH v5 06/10] vpci: Hide extended capability when it fails to initialize

2025-06-05 Thread Roger Pau Monné
On Mon, May 26, 2025 at 05:45:55PM +0800, Jiqian Chen wrote: > When vpci fails to initialize a extended capability of device, it > just returns an error and vPCI gets disabled for the whole device. > > So, add function to hide extended capability when initialization > fails. And remove the failed