Re: [PATCH v5 10/10] vpci/msix: Free MSIX resources when init_msix() fails

2025-06-06 Thread Roger Pau Monné
On Fri, Jun 06, 2025 at 08:44:02AM +, Chen, Jiqian wrote: > On 2025/6/5 23:34, Roger Pau Monné wrote: > > On Mon, May 26, 2025 at 05:45:59PM +0800, Jiqian Chen wrote: > >> When init_msix() fails, current logic return fail and free MSIX-related > >> resources in vpci_deassign_device(). But the p

Re: [PATCH v5 10/10] vpci/msix: Free MSIX resources when init_msix() fails

2025-06-06 Thread Chen, Jiqian
On 2025/6/5 23:34, Roger Pau Monné wrote: > On Mon, May 26, 2025 at 05:45:59PM +0800, Jiqian Chen wrote: >> When init_msix() fails, current logic return fail and free MSIX-related >> resources in vpci_deassign_device(). But the previous new changes will >> hide MSIX capability and return success, i

Re: [PATCH v5 10/10] vpci/msix: Free MSIX resources when init_msix() fails

2025-06-05 Thread Roger Pau Monné
On Mon, May 26, 2025 at 05:45:59PM +0800, Jiqian Chen wrote: > When init_msix() fails, current logic return fail and free MSIX-related > resources in vpci_deassign_device(). But the previous new changes will > hide MSIX capability and return success, it can't reach > vpci_deassign_device() to remov

[PATCH v5 10/10] vpci/msix: Free MSIX resources when init_msix() fails

2025-05-26 Thread Jiqian Chen
When init_msix() fails, current logic return fail and free MSIX-related resources in vpci_deassign_device(). But the previous new changes will hide MSIX capability and return success, it can't reach vpci_deassign_device() to remove resources if hiding success, so those resources must be removed in