
5 Jun
2019
5 Jun
'19
12:05 p.m.
On Tue, Jun 4, 2019 at 8:46 PM Alex Marginean alexm.osslist@gmail.com wrote:
Makes dm_pci_map_bar API available for integrated PCI devices that support Enhanced Allocation instead of the original PCI BAR mechanism.
Signed-off-by: Alex Marginean alexm.osslist@gmail.com
Changes in v2: - fixed parsing for BAR1+ - fixed an issue with EA entry size - don't look up EA capability structure twice - use phys_addr_t for EA addresses - use kernel MACROS for EA registers
drivers/pci/pci-uclass.c | 46 ++++++++++++++++++++++++++++++++++++++++ include/pci.h | 13 ++++++++++++ 2 files changed, 59 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com