From: Grygorii Strashko <grygorii_strashko@epam.com>
To: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: "Jan Beulich" <jbeulich@suse.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Anthony PERARD" <anthony.perard@vates.tech>,
"Michal Orzel" <michal.orzel@amd.com>,
"Julien Grall" <julien@xen.org>,
"Stefano Stabellini" <sstabellini@kernel.org>
Subject: Re: [XEN][PATCH v2 0/4] x86: pvh: allow to disable 32-bit (COMPAT) interface support
Date: Thu, 18 Dec 2025 18:20:29 +0200 [thread overview]
Message-ID: <a4646368-2c91-4d57-846f-e7de51395627@epam.com> (raw)
In-Reply-To: <20251119192916.1009549-1-grygorii_strashko@epam.com>
Hi All,
I'm planning to send v3 - so would be appreciated for any other comments.
On 19.11.25 21:30, Grygorii Strashko wrote:
> From: Grygorii Strashko <grygorii_strashko@epam.com>
>
> Hi
>
> This series introduces possibility to disable 32-bit (COMPAT) interface support
> in the following case:
> - Only PVH domains are used
> - Guests (OS) are started by using direct Direct Kernel Boot
> - Guests (OS) are 64-bit and Guest early boot code, which is running not
> in 64-bit mode, does not access Xen interfaces
> (hypercalls, shared_info, ..)
>
> If above criterias are met the COMPAT HVM interface become unreachable and can be disabled.
> Coverage reports analyze and adding guard (debug) exceptions in hvm_hypercall/hvm_do_multicall_call
> and hvm_latch_shinfo_size() confirm that COMPAT HVM interface is unused for safety use-case.
>
> Changes in v2 described in each patch:
> - patch "x86: constify has_32bit_shinfo() if !CONFIG_COMPAT" squashed in patch 2.
>
> v1:
> https://patchwork.kernel.org/project/xen-devel/cover/20251111175413.3540690-1-grygorii_strashko@epam.com/
>
> Grygorii Strashko (4):
> x86: hvm: dm: factor out compat code under ifdefs
> x86: hvm: compat: introduce is_hcall_compat() helper
> x86: hvm: factor out COMPAT code under ifdefs
> x86: pvh: allow to disable 32-bit interface support
>
> xen/arch/x86/hvm/Kconfig | 19 ++++++++++++++++++-
> xen/arch/x86/hvm/dm.c | 2 ++
> xen/arch/x86/hvm/hvm.c | 24 ++++++++++++++++++++----
> xen/arch/x86/hvm/hypercall.c | 22 +++++++++++++++++-----
> xen/arch/x86/hypercall.c | 6 +-----
> xen/arch/x86/include/asm/domain.h | 9 +++++++--
> xen/common/kernel.c | 2 +-
> xen/include/hypercall-defs.c | 9 +++++++--
> xen/include/xen/sched.h | 9 +++++++++
> 9 files changed, 82 insertions(+), 20 deletions(-)
>
--
Best regards,
-grygorii
next prev parent reply other threads:[~2025-12-18 16:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-19 19:30 [XEN][PATCH v2 0/4] x86: pvh: allow to disable 32-bit (COMPAT) interface support Grygorii Strashko
2025-11-19 19:30 ` [XEN][PATCH v2 1/4] x86: hvm: dm: factor out compat code under ifdefs Grygorii Strashko
2025-11-19 19:30 ` [XEN][PATCH v2 3/4] x86: hvm: factor out COMPAT " Grygorii Strashko
2025-12-02 19:26 ` Jason Andryuk
2025-12-04 18:39 ` Grygorii Strashko
2025-12-04 18:47 ` Grygorii Strashko
2025-12-18 16:47 ` Jürgen Groß
2025-11-19 19:30 ` [XEN][PATCH v2 2/4] x86: hvm: compat: introduce is_hcall_compat() helper Grygorii Strashko
2025-12-02 18:41 ` Jason Andryuk
2025-11-19 19:30 ` [XEN][PATCH v2 4/4] x86: pvh: allow to disable 32-bit interface support Grygorii Strashko
2025-12-02 19:56 ` Jason Andryuk
2025-12-18 16:20 ` Grygorii Strashko [this message]
2025-12-18 16:33 ` [XEN][PATCH v2 0/4] x86: pvh: allow to disable 32-bit (COMPAT) " Jan Beulich
2025-12-19 0:33 ` Stefano Stabellini
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=a4646368-2c91-4d57-846f-e7de51395627@epam.com \
--to=grygorii_strashko@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger.pau@citrix.com \
--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 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.