commit | a625bbd11e4b31741b90340f0d17f333c1e2002c | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Thu Apr 21 16:11:15 2022 +0000 |
committer | Tom Rini <trini@konsulko.com> | Tue May 03 18:33:29 2022 -0400 |
tree | 79aa6f8023135bf54ab3c8a2d25ca3f545342f8e | |
parent | 3d41dd4f41a859359fedbf047af35bd8d6fac0b5 [diff] |
virtio: pci: Make use of dm_pci_map_bar() The virtio PCI capabilities describe regions of memory that should be mapped. Map those with dm_pci_map_bar() which will ensure they are valid PCI regions. Signed-off-by: Andrew Scull <ascull@google.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>