From: "Alex Bennée" <alex.bennee@linaro.org>
To: Eric Auger <eric.auger@redhat.com>
Cc: eric.auger.pro@gmail.com, pbonzini@redhat.com,
qemu-arm@nongnu.org, qemu-devel@nongnu.org, mst@redhat.com,
david@gibson.dropbear.id.au, clg@kaod.org, eesposit@redhat.com,
Coiby.Xu@gmail.com, stefanha@redhat.com,
jean-philippe@linaro.org
Subject: Re: [PATCH v6 3/3] tests/qtest/libqos: Add generic pci host bridge in arm-virt machine
Date: Mon, 09 May 2022 14:59:23 +0100 [thread overview]
Message-ID: <87bkw6u7np.fsf@linaro.org> (raw)
In-Reply-To: <20220504152025.1785704-4-eric.auger@redhat.com>
Eric Auger <eric.auger@redhat.com> writes:
> Up to now the virt-machine node contains a virtio-mmio node.
> However no driver produces any PCI interface node. Hence, PCI
> tests cannot be run with aarch64 binary.
>
> Add a GPEX driver node that produces a pci interface node. This latter
> then can be consumed by all the pci tests. One of the first motivation
> was to be able to run the virtio-iommu-pci tests.
>
> We still face an issue with pci hotplug tests as hotplug cannot happen
> on the pcie root bus and require a generic root port. This will be
> addressed later on.
>
> We force cpu=max along with aarch64/virt machine as some PCI tests
> require high MMIO regions to be available.
Where would I be able to force disable-legacy=off for the PCI device
from? Building on this for GPIO I run into the following:
subprocess_run_one_test: /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/vhost-user-gpio-pci/vhost-user-gpio/vhost-user-gpio-tests/read-guest-mem/memfile/subprocess
vhost_user_test_setup: -M virt, -cpu max -device vhost-user-gpio-pci,id=gpio0,addr=04.0,chardev=chr-vhost-user-test
vu_gpio_get_protocol_features: 0x202
qemu-system-aarch64: -device vhost-user-gpio-pci,id=gpio0,addr=04.0,chardev=chr-vhost-user-test: Device doesn't support modern mode, and legacy mode is disabled
Set disable-legacy to off
Broken pipe
and I think this needs to be applied to the root bus device?
Anyway otherwise it looks OK to me:
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
next prev parent reply other threads:[~2022-05-09 14:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-04 15:20 [PATCH v6 0/3] qtests/libqos: Allow PCI tests to be run with virt-machine Eric Auger
2022-05-04 15:20 ` [PATCH v6 1/3] tests/qtest/libqos/pci: Introduce pio_limit Eric Auger
2022-05-04 15:20 ` [PATCH v6 2/3] tests/qtest/libqos: Skip hotplug tests if pci root bus is not hotpluggable Eric Auger
2022-05-04 15:20 ` [PATCH v6 3/3] tests/qtest/libqos: Add generic pci host bridge in arm-virt machine Eric Auger
2022-05-09 13:59 ` Alex Bennée [this message]
2022-05-09 14:33 ` Eric Auger
2022-05-09 8:18 ` [PATCH v6 0/3] qtests/libqos: Allow PCI tests to be run with virt-machine Eric Auger
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=87bkw6u7np.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=Coiby.Xu@gmail.com \
--cc=clg@kaod.org \
--cc=david@gibson.dropbear.id.au \
--cc=eesposit@redhat.com \
--cc=eric.auger.pro@gmail.com \
--cc=eric.auger@redhat.com \
--cc=jean-philippe@linaro.org \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.