All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
To: Jan Beulich <jbeulich@suse.com>,
	Grygorii Strashko <grygorii_strashko@epam.com>
Cc: "Anthony PERARD" <anthony.perard@vates.tech>,
	"Juergen Gross" <jgross@suse.com>,
	"Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Roger Pau Monné" <roger.pau@citrix.com>,
	"Oleksii Kurochko" <oleksii.kurochko@gmail.com>,
	"Alejandro.GarciaVallejo@amd.com"
	<Alejandro.GarciaVallejo@amd.com>,
	"Jason Andryuk" <Jason.Andryuk@amd.com>,
	"Teddy Astie" <teddy.astie@vates.tech>,
	xen-devel@lists.xenproject.org
Subject: Re: [RFC PATCH for-4.22] x86/hvm: Introduce force_x2apic flag
Date: Tue, 11 Nov 2025 13:36:07 +0100	[thread overview]
Message-ID: <DE5VC2FANSAP.1K7VQ62XM33JQ@amd.com> (raw)
In-Reply-To: <1d1170cb-debc-4063-b98c-263c7b9e62d8@suse.com>

On Thu Oct 30, 2025 at 8:46 AM CET, Jan Beulich wrote:
> On 30.10.2025 00:08, Grygorii Strashko wrote:
>> On 29.10.25 20:26, Teddy Astie wrote:
>>> --- a/xen/arch/x86/include/asm/domain.h
>>> +++ b/xen/arch/x86/include/asm/domain.h
>>> @@ -509,6 +509,8 @@ struct arch_domain
>>>   #define has_pirq(d)        (!!((d)->arch.emulation_flags & X86_EMU_USE_PIRQ))
>>>   #define has_vpci(d)        (!!((d)->arch.emulation_flags & X86_EMU_VPCI))
>>>   
>>> +#define has_force_x2apic(d) ((d)->arch.hvm.force_x2apic)
>> 
>> Would it be possible for you to consider having Kconfig option to make
>> such configuration global, static?
>
> Especially considering the post-commit-message remarks I don't think this can be
> other than a per-guest setting.
>
> Jan

It'd certainly be of use to us to compile out the entirety of xAPIC emulation
in favour of x2APIC.

Granted, it imposes restrictions on what guests are able to run and how, but
that might be acceptable in the interest of a leaner hypervisor.

It is fairly annoying there's no architectural means to signal it.

Cheers,
Alejandro


  reply	other threads:[~2025-11-11 12:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-29 18:26 [RFC PATCH for-4.22] x86/hvm: Introduce force_x2apic flag Teddy Astie
2025-10-29 18:52 ` Roger Pau Monné
2025-10-29 20:06   ` Teddy Astie
2025-10-30  8:24     ` Roger Pau Monné
2025-10-30  7:49   ` Jan Beulich
2025-10-29 23:08 ` Grygorii Strashko
2025-10-30  7:46   ` Jan Beulich
2025-11-11 12:36     ` Alejandro Vallejo [this message]
2025-10-30  7:54 ` Jan Beulich
2025-10-31 14:33   ` Teddy Astie
2025-11-06  8:17     ` Jan Beulich
2025-11-11 12:31 ` Alejandro Vallejo
2025-11-11 13:32 ` Andrew Cooper
2025-11-12 10:35 ` Teddy Astie
2025-11-12 11:02   ` Andrew Cooper

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=DE5VC2FANSAP.1K7VQ62XM33JQ@amd.com \
    --to=alejandro.garciavallejo@amd.com \
    --cc=Jason.Andryuk@amd.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=grygorii_strashko@epam.com \
    --cc=jbeulich@suse.com \
    --cc=jgross@suse.com \
    --cc=oleksii.kurochko@gmail.com \
    --cc=roger.pau@citrix.com \
    --cc=teddy.astie@vates.tech \
    --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.