在 2022/8/12 6:17, Pallavi Kadam 写道:
Current code was always checking the 'prev_bar & PCI_TYPE_64BIT' though only the first BAR slot of a 64-bit BAR contains flags. Also for certain PCIe devices, BAR values were not continuous. This patch fixes this incorrectness and maps the BAR addresses correctly. Reported-by: Qiao Liu <[email protected]> Suggested-by: Dmitry Kozlyuk <[email protected]> Signed-off-by: Dmitry Kozlyuk <[email protected]> Tested-by: Pallavi Kadam <[email protected]> ---
Acked-by: Qiao Liu <[email protected]>

