[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <222b3a4a-6706-ed11-a8cf-9e6f516cc7fe@intel.com>
Date: Fri, 12 Apr 2019 08:36:34 +0800
From: "Zhao, Yakui" <yakui.zhao@...el.com>
To: Borislav Petkov <bp@...en8.de>
Cc: linux-kernel@...r.kernel.org, x86@...nel.org, tglx@...utronix.de,
Jason Chen CJ <jason.cj.chen@...el.com>
Subject: Re: [RFC PATCH v3 2/4] x86: Add the support of ACRN guest
On 2019年04月11日 21:49, Borislav Petkov wrote:
> On Wed, Apr 10, 2019 at 05:15:48PM +0800, Zhao, Yakui wrote:
>> Currently the x2apic is not enabled in the first step.
>> Next step it needs to check the cpu info reported by ACRN hypervisor to
>> determine whether the x2apic should be supported.
>
> What "cpu info"? CPUID or something ACRN-specific?
It is based on CPUID.
The low-level ACRN hypervisor can return the different output of CPUID
when several linux guests executes the CPUID instruction. Then it can
control whether x2apic is supported in one linux guest.
So we will leverage the X86_FEATURE_X2APIC bit from CPUID to indicate
whether the x2apic is supported in linux guest when ACRN hypervisor is
detected.
Is this fine to you?
Thanks
>
Powered by blists - more mailing lists