From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Cc: sstabellini@kernel.org, anthony@xenproject.org, paul@xen.org,
peter.maydell@linaro.org, alex.bennee@linaro.org,
edgar.iglesias@amd.com, xen-devel@lists.xenproject.org
Subject: [PATCH v2 0/4] hw/arm: xenpvh: Enable PCI for ARM PVH
Date: Mon, 23 Sep 2024 16:55:16 +0200 [thread overview]
Message-ID: <20240923145520.1323504-1-edgar.iglesias@gmail.com> (raw)
From: "Edgar E. Iglesias" <edgar.iglesias@amd.com>
Enable PCI on the ARM PVH machine. First we add a way to control the use
of buffered IOREQ's since those are not supported on Xen/ARM.
Finally we enable the PCI support.
I've published some instructions on how to try this including the work in
progress Xen side of the PVH PCI support:
https://github.com/edgarigl/docs/blob/master/xen/pvh/virtio-pci-dom0less.md
Cheers,
Edgar
ChangeLog:
v1 -> v2:
* Change handle_ioreq from int to uint8_t.
* Fallback to legacy API if buffered ioreqs are enabled and also if
the new API is not supported. Clarify with comments.
Edgar E. Iglesias (4):
hw/xen: Expose handle_bufioreq in xen_register_ioreq
hw/xen: xenpvh: Disable buffered IOREQs for ARM
hw/xen: xenpvh: Add pci-intx-irq-base property
hw/arm: xenpvh: Enable PCI for ARM PVH
hw/arm/xen-pvh.c | 17 ++++++
hw/i386/xen/xen-hvm.c | 4 +-
hw/i386/xen/xen-pvh.c | 3 +
hw/xen/xen-hvm-common.c | 101 ++++++++++++++++++++------------
hw/xen/xen-pvh-common.c | 40 ++++++++++++-
include/hw/xen/xen-hvm-common.h | 3 +
include/hw/xen/xen-pvh-common.h | 3 +
include/hw/xen/xen_native.h | 3 +-
8 files changed, 133 insertions(+), 41 deletions(-)
--
2.43.0
next reply other threads:[~2024-09-23 14:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-23 14:55 Edgar E. Iglesias [this message]
2024-09-23 14:55 ` [PATCH v2 1/4] hw/xen: Expose handle_bufioreq in xen_register_ioreq Edgar E. Iglesias
2024-09-24 22:50 ` Stefano Stabellini
2024-09-23 14:55 ` [PATCH v2 2/4] hw/xen: xenpvh: Disable buffered IOREQs for ARM Edgar E. Iglesias
2024-09-24 22:52 ` Stefano Stabellini
2024-09-23 14:55 ` [PATCH v2 3/4] hw/xen: xenpvh: Add pci-intx-irq-base property Edgar E. Iglesias
2024-09-23 14:55 ` [PATCH v2 4/4] hw/arm: xenpvh: Enable PCI for ARM PVH Edgar E. Iglesias
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=20240923145520.1323504-1-edgar.iglesias@gmail.com \
--to=edgar.iglesias@gmail.com \
--cc=alex.bennee@linaro.org \
--cc=anthony@xenproject.org \
--cc=edgar.iglesias@amd.com \
--cc=paul@xen.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.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).