From: Dave Hansen <dave.hansen@intel.com>
To: Jon Lange <jlange@microsoft.com>,
"dan.j.williams@intel.com" <dan.j.williams@intel.com>
Cc: Sean Christopherson <seanjc@google.com>,
Paolo Bonzini <pbonzini@redhat.com>,
John Starks <John.Starks@microsoft.com>,
Will Deacon <will@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
"linux-coco@lists.linux.dev" <linux-coco@lists.linux.dev>,
LKML <linux-kernel@vger.kernel.org>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
"Edgecombe, Rick P" <rick.p.edgecombe@intel.com>,
Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: "Paravisor" Feature Enumeration
Date: Mon, 5 Jan 2026 16:46:34 -0800 [thread overview]
Message-ID: <4c8524e5-b3e1-4113-a4e3-d3615465d9a8@intel.com> (raw)
In-Reply-To: <CH8PR21MB52221DBBF4D87FC24013FACFCA87A@CH8PR21MB5222.namprd21.prod.outlook.com>
On 1/5/26 16:10, Jon Lange wrote:
> It's not clear to me what advantages are gained by reflecting ACPI
> information into CPUID. ACPI is already available and is usable
> across architectures, unlike CPUID. What advantage is gained by
> replicating the information into CPUID?
If there is an ACPI approach that is expressive and agile enough to
convey the necessary information, then there's zero reason to replicate
it anywhere, CPUID included.
Like I said in the mail to Dan, I _think_ the current state of the art
for host=>guest enumeration involves ACPI wrapping DeviceTree properties
on ARM which mirror x86 CPUID bits.
> In the LPC session that Dave cites, Dan (I think it was Dan) threw
> out another suggestion: have the hypervisor driver detect the
> paravisor configuration using whatever is appropriate for that
> hypervisor architecture. I find this to be a very attractive
> direction because it eliminates the need to define standards that
> can be supported across hypervisors (and across virtual firmware
> implementations), and reduces it just to a small set of concepts
> that can be fed into the kernel. This could keep the enumeration
> out of the hands of ACPI altogether - thus no slow standards
> development. Are there downsides to this approach that make it
> unattractive?
I think you're saying that we'd have a fixed set of Linux-defined
features. Hypervisor drivers would set the features up. Generic,
architecture and vendor-neutral code would consume the feature enumeration.
That sounds familiar and sane to me. It's generally what we have with
the Linux-defined X86_FEATURE_* bits. Linux defines their behavior and
consumes them in generic code. x86 vendor-specific code sets them.
next prev parent reply other threads:[~2026-01-06 0:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-05 21:42 Dave Hansen
2026-01-06 0:01 ` dan.j.williams
2026-01-06 0:10 ` [EXTERNAL] " Jon Lange
2026-01-06 0:46 ` Dave Hansen [this message]
2026-01-06 0:36 ` Dave Hansen
2026-01-06 1:08 ` Sean Christopherson
2026-01-06 3:24 ` dan.j.williams
2026-01-06 1:44 ` Andrew Cooper
2026-01-06 2:12 ` [EXTERNAL] " Jon Lange
2026-01-06 22:39 ` Andrew Cooper
2026-01-06 23:01 ` Jon Lange
2026-01-07 1:58 ` dan.j.williams
2026-01-07 2:48 ` Jon Lange
2026-01-07 18:42 ` dan.j.williams
2026-01-08 6:53 ` Jon Lange
2026-01-07 12:06 ` Kiryl Shutsemau
2026-01-06 19:17 ` Edgecombe, Rick P
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=4c8524e5-b3e1-4113-a4e3-d3615465d9a8@intel.com \
--to=dave.hansen@intel.com \
--cc=John.Starks@microsoft.com \
--cc=andrew.cooper3@citrix.com \
--cc=dan.j.williams@intel.com \
--cc=jlange@microsoft.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-coco@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pbonzini@redhat.com \
--cc=rick.p.edgecombe@intel.com \
--cc=seanjc@google.com \
--cc=will@kernel.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
all inboxes | Powered by JetHome®