在 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 <qiao....@intel.com>
Suggested-by: Dmitry Kozlyuk <dmitry.kozl...@gmail.com>
Signed-off-by: Dmitry Kozlyuk <dmitry.kozl...@gmail.com>
Tested-by: Pallavi Kadam <pallavi.ka...@intel.com>
---

Acked-by: Qiao Liu <qiao....@intel.com>

Reply via email to