Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db: fix the issue of failed to init pci root bus
dragonball reserves 2048G of mmio space for the pci root bus by default on physical addresses greater than 4G. However, for some machines with smaller physical address widths, such as 39-bit wide physical addresses, dragonball reserves the mmio space when initializing the memory. It is less than 2048G, so this commit dynamically calculates and allocates the mmio size of each pci root bus. Fixes: kata-containers#9509 Signed-off-by: Fupan Li <fupan.lfp@antgroup.com>
- Loading branch information