Re: [PATCH v5 09/10] vpci/msi: Free MSI resources when init_msi() fails

2025-06-06 Thread Roger Pau Monné
On Fri, Jun 06, 2025 at 08:38:49AM +, Chen, Jiqian wrote: > On 2025/6/5 23:19, Roger Pau Monné wrote: > > On Mon, May 26, 2025 at 05:45:58PM +0800, Jiqian Chen wrote: > >> When init_msi() fails, current logic return fail and free MSI-related > >> resources in vpci_deassign_device(). But the pre

Re: [PATCH v5 09/10] vpci/msi: Free MSI resources when init_msi() fails

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

Re: [PATCH v5 09/10] vpci/msi: Free MSI resources when init_msi() fails

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

[PATCH v5 09/10] vpci/msi: Free MSI resources when init_msi() fails

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