On Fri, Jul 04, 2025 at 03:08:01PM +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 remove resources if hiding success, so those > resources must be removed in cleanup function of Rebar. > > To do that, implement cleanup function for Rebar. > > Signed-off-by: Jiqian Chen <jiqian.c...@amd.com>
Reviewed-by: Roger Pau Monné <roger....@citrix.com> Thanks, Roger.