From: Andrea Bolognani <abologna@redhat.com>
To: Alistair Francis <Alistair.Francis@wdc.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"qemu-riscv@nongnu.org" <qemu-riscv@nongnu.org>
Cc: "alistair23@gmail.com" <alistair23@gmail.com>
Subject: Re: [Qemu-devel] [PATCH v6 0/5] Connect a PCIe host and graphics support to RISC-V
Date: Wed, 31 Oct 2018 15:51:25 +0100 [thread overview]
Message-ID: <3f834825634e34ad107fe9e7af1b417cb47fc1f1.camel@redhat.com> (raw)
In-Reply-To: <cover.1540937826.git.alistair.francis@wdc.com>
On Tue, 2018-10-30 at 22:17 +0000, Alistair Francis wrote:
> V6:
> - Fix the interrupt issue for the GPEX device
I gave this a spin.
With the pcie.0 <- pcie-root-port <- virtio-net-pci setup I get
qemu-system-riscv64: -device pcie-root-port,port=0x8,chassis=1,\
id=pci.1,bus=pcie.0,multifunction=on,addr=0x1: MSI-X is not \
supported by interrupt controller
just like last time, which as I mentioned is a problem for libvirt
because we follow the recommendations outlined in qemu/docs/pcie.txt
and never plug devices into pcie.0 directly.
Even after working around that issue by manually placing the device
at 0000:00:01.0, it still doesn't work: I see
pci 0000:00:01.0: BAR 6: assigned [mem 0x00000000-0x0003ffff pref]
pci 0000:00:01.0: BAR 4: assigned [mem 0x00040000-0x00043fff 64bit pref]
pci 0000:00:01.0: BAR 0: no space for [io size 0x0020]
pci 0000:00:01.0: BAR 0: failed to assign [io size 0x0020]
...
virtio_net virtio3: virtio: device uses modern interface but does not have VIRTIO_F_VERSION_1
virtio_net: probe of virtio3 failed with error -22
in dmesg and, while the device shows up in the output of lspci(8),
it's nowhere to be seen when running 'ip addr' and friends.
Let me know if you need me to try anything else :)
--
Andrea Bolognani / Red Hat / Virtualization
next prev parent reply other threads:[~2018-10-31 14:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-30 22:17 [Qemu-devel] [PATCH v6 0/5] Connect a PCIe host and graphics support to RISC-V Alistair Francis
2018-10-30 22:17 ` [Qemu-devel] [PATCH v6 1/5] hw/riscv/virt: Increase the number of interrupts Alistair Francis
2018-10-30 22:17 ` [Qemu-devel] [PATCH v6 2/5] hw/riscv/virt: Connect the gpex PCIe Alistair Francis
2018-11-05 13:23 ` Bin Meng
2018-11-05 19:47 ` Alistair Francis
2018-11-06 6:45 ` Bin Meng
2018-11-07 21:46 ` Alistair Francis
2018-10-30 22:18 ` [Qemu-devel] [PATCH v6 3/5] riscv: Enable VGA and PCIE_VGA Alistair Francis
2018-10-30 22:18 ` [Qemu-devel] [PATCH v6 4/5] hw/riscv/sifive_u: Connect the Xilinx PCIe Alistair Francis
2018-10-30 22:18 ` [Qemu-devel] [PATCH v6 5/5] hw/riscv/virt: Connect a VirtIO net PCIe device Alistair Francis
2018-10-31 14:51 ` Andrea Bolognani [this message]
2018-10-31 20:10 ` [Qemu-devel] [PATCH v6 0/5] Connect a PCIe host and graphics support to RISC-V Alistair Francis
2018-11-01 8:20 ` Andrea Bolognani
2018-11-07 21:47 ` Alistair Francis
2018-11-13 15:52 ` Andrea Bolognani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3f834825634e34ad107fe9e7af1b417cb47fc1f1.camel@redhat.com \
--to=abologna@redhat.com \
--cc=Alistair.Francis@wdc.com \
--cc=alistair23@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).