Re: [PATCH v2 18/18] virtio: pci: Make use of dm_pci_map_bar()

2022-08-29 Thread Felix Yan
On 8/28/22 19:49, Xiang W wrote: Please try my patch and let me know the test results diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c index 880a12cc28..cfde4007f5 100644 --- a/drivers/virtio/virtio_pci_modern.c +++ b/drivers/virtio/virtio_pci_modern.c @@ -46

Re: [PATCH v2 18/18] virtio: pci: Make use of dm_pci_map_bar()

2022-08-28 Thread Xiang W
在 2022-08-25星期四的 11:01 +0300,Felix Yan写道: > Hi, > > Today I discovered a failure which bisected to this commit. > > When running QEMU with libvirt, which created some pcie devices, U-boot > fails on autoboot with: > > Unhandled exception: Load access fault > EPC: bff7c46e RA: bf

Re: [PATCH v2 18/18] virtio: pci: Make use of dm_pci_map_bar()

2022-08-25 Thread Felix Yan
Hi, Today I discovered a failure which bisected to this commit. When running QEMU with libvirt, which created some pcie devices, U-boot fails on autoboot with: Unhandled exception: Load access fault EPC: bff7c46e RA: bff7c46c TVAL: 40200014 EPC: 8002446e RA: 00

Re: [PATCH v2 18/18] virtio: pci: Make use of dm_pci_map_bar()

2022-04-13 Thread Bin Meng
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote: > > 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 > --- > drivers/virtio/virtio_pci_modern.c | 18

[PATCH v2 18/18] virtio: pci: Make use of dm_pci_map_bar()

2022-03-29 Thread Andrew Scull
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 --- drivers/virtio/virtio_pci_modern.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-)