Re: [PATCH v5 08/10] vpci/rebar: Free Rebar resources when init_rebar() fails

2025-06-06 Thread Roger Pau Monné
On Fri, Jun 06, 2025 at 08:32:35AM +, Chen, Jiqian wrote: > On 2025/6/5 23:14, Roger Pau Monné wrote: > > On Mon, May 26, 2025 at 05:45:57PM +0800, Jiqian Chen wrote: > >> When init_rebar() fails, current logic return fail and free Rebar-related > >> resources in vpci_deassign_device(). But the

Re: [PATCH v5 08/10] vpci/rebar: Free Rebar resources when init_rebar() fails

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

Re: [PATCH v5 08/10] vpci/rebar: Free Rebar resources when init_rebar() fails

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

[PATCH v5 08/10] vpci/rebar: Free Rebar resources when init_rebar() fails

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