Re: [PATCH] riscv: virt: Allow PCI address 0

2020-02-18 Thread Palmer Dabbelt
On Sun, 02 Feb 2020 07:41:25 PST (-0800), bmeng...@gmail.com wrote: Hi Palmer, On Sat, Nov 23, 2019 at 6:41 AM Palmer Dabbelt wrote: On Fri, 22 Nov 2019 07:27:52 PST (-0800), bmeng...@gmail.com wrote: > When testing e1000 with the virt machine, e1000's I/O space cannot > be accessed.

Re: [PATCH] riscv: virt: Allow PCI address 0

2020-02-02 Thread Bin Meng
Hi Palmer, On Sat, Nov 23, 2019 at 6:41 AM Palmer Dabbelt wrote: > > On Fri, 22 Nov 2019 07:27:52 PST (-0800), bmeng...@gmail.com wrote: > > When testing e1000 with the virt machine, e1000's I/O space cannot > > be accessed. Debugging shows that the I/O BAR (BAR1) is correctly > > written with

Re: [PATCH] riscv: virt: Allow PCI address 0

2019-11-22 Thread Palmer Dabbelt
On Fri, 22 Nov 2019 07:27:52 PST (-0800), bmeng...@gmail.com wrote: When testing e1000 with the virt machine, e1000's I/O space cannot be accessed. Debugging shows that the I/O BAR (BAR1) is correctly written with address 0 plus I/O enable bit, but QEMU's "info pci" shows that: Bus 0, device

[PATCH] riscv: virt: Allow PCI address 0

2019-11-22 Thread Bin Meng
When testing e1000 with the virt machine, e1000's I/O space cannot be accessed. Debugging shows that the I/O BAR (BAR1) is correctly written with address 0 plus I/O enable bit, but QEMU's "info pci" shows that: Bus 0, device 1, function 0: Ethernet controller: PCI device 8086:100e ...