From: Roger Pau Monne <roger.pau@citrix.com>
To: <xen-devel@lists.xenproject.org>
Cc: Roger Pau Monne <roger.pau@citrix.com>,
Jan Beulich <jbeulich@suse.com>,
Andrew Cooper <andrew.cooper3@citrix.com>, Wei Liu <wl@xen.org>,
George Dunlap <george.dunlap@citrix.com>,
Julien Grall <julien@xen.org>,
Stefano Stabellini <sstabellini@kernel.org>,
Paul Durrant <paul@xen.org>
Subject: [PATCH 0/3] x86/hvm: add support for extended destination ID
Date: Thu, 20 Jan 2022 16:23:16 +0100 [thread overview]
Message-ID: <20220120152319.7448-1-roger.pau@citrix.com> (raw)
Hello,
The follow patch series is a very initial implementation of the extended
destination ID for vIO-APIC and vMSI for HVM/PVH guests. This is already
supported by QEMU/KVM and HyperV in order to target APIC IDs for
device interrupts up to 32768 without the need of interrupt remapping.
Note the feature is only exposed to guests with vPCI at the moment (see
patch 2 for the details). In practice this means it's only exposed to a
PVH dom0, and the maximum vCPU count for HVM/PVH is still not increased,
as that would also require some changes to QEMU and the ACPI tables for
domUs (both HVM and PVH).
Thanks, Roger.
Roger Pau Monne (3):
xen/vioapic: add support for the extended destination ID field
x86/vmsi: add support for extended destination ID in address field
HACK: allow adding an offset to the x2APIC ID
xen/arch/x86/cpuid.c | 12 +++++++++++-
xen/arch/x86/hvm/dom0_build.c | 3 ++-
xen/arch/x86/hvm/irq.c | 3 ++-
xen/arch/x86/hvm/vioapic.c | 3 ++-
xen/arch/x86/hvm/vlapic.c | 14 ++++++++++++--
xen/arch/x86/hvm/vmsi.c | 13 ++++++++++---
xen/arch/x86/include/asm/hvm/hvm.h | 5 +++--
xen/arch/x86/include/asm/hvm/vlapic.h | 2 ++
xen/arch/x86/include/asm/msi.h | 1 +
xen/arch/x86/traps.c | 3 +++
xen/drivers/passthrough/x86/hvm.c | 10 +++++++---
xen/include/public/arch-x86/cpuid.h | 6 ++++++
xen/include/public/arch-x86/hvm/save.h | 4 +++-
xen/include/public/domctl.h | 1 +
14 files changed, 65 insertions(+), 15 deletions(-)
--
2.34.1
next reply other threads:[~2022-01-20 15:24 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-20 15:23 Roger Pau Monne [this message]
2022-01-20 15:23 ` [PATCH 1/3] xen/vioapic: add support for the extended destination ID field Roger Pau Monne
2022-01-24 13:20 ` Jan Beulich
2022-01-25 15:13 ` Roger Pau Monné
2022-01-26 12:47 ` Jan Beulich
2022-01-26 19:21 ` David Woodhouse
2022-01-26 13:52 ` David Woodhouse
2022-01-26 14:23 ` Jan Beulich
2022-01-20 15:23 ` [PATCH 2/3] x86/vmsi: add support for extended destination ID in address field Roger Pau Monne
2022-01-24 13:47 ` Jan Beulich
2022-01-26 13:54 ` David Woodhouse
2022-01-26 14:22 ` Roger Pau Monné
2022-02-04 9:23 ` Roger Pau Monné
2022-02-04 9:30 ` Jan Beulich
2022-02-04 9:54 ` Roger Pau Monné
2022-02-04 10:20 ` Jan Beulich
2022-01-20 15:23 ` [PATCH 3/3] HACK: allow adding an offset to the x2APIC ID Roger Pau Monne
2022-01-26 14:03 ` David Woodhouse
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=20220120152319.7448-1-roger.pau@citrix.com \
--to=roger.pau@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=paul@xen.org \
--cc=sstabellini@kernel.org \
--cc=wl@xen.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 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.