On 8/14/25 12:03, Roger Pau Monne wrote: > It's possible for the BAR rangeset to contain stale data when used in > modify_bars() if previous calls to modify_bars() resulted in errors. > > Fix by always purging the rangeset before usage, thus getting rid of any > previous stale data. Remove the ASSERT that checked whether the rangeset > was empty, it was incorrect. > > Fixes: 52ebde3cfae2 ('vpci/header: program p2m with guest BAR view') > Signed-off-by: Roger Pau Monné <roger....@citrix.com>
Reviewed-by: Stewart Hildebrand <stewart.hildebr...@amd.com>