On 21.11.2019 12:43, Chao Gao wrote:
> On Thu, Nov 21, 2019 at 11:02:10AM +0100, Jan Beulich wrote:
>> On 21.11.2019 10:47, Julien Grall wrote:
>>> On 20/11/2019 23:05, Chao Gao wrote:
--- a/xen/arch/arm/smpboot.c
+++ b/xen/arch/arm/smpboot.c
@@ -39,6 +39,7 @@
cpumask_t cpu_on
On Thu, Nov 21, 2019 at 11:02:10AM +0100, Jan Beulich wrote:
>On 21.11.2019 10:47, Julien Grall wrote:
>> On 20/11/2019 23:05, Chao Gao wrote:
>>> --- a/xen/arch/arm/smpboot.c
>>> +++ b/xen/arch/arm/smpboot.c
>>> @@ -39,6 +39,7 @@
>>> cpumask_t cpu_online_map;
>>> cpumask_t cpu_present_map;
>>>
On 21.11.2019 00:05, Chao Gao wrote:
> --- a/xen/arch/x86/cpu/common.c
> +++ b/xen/arch/x86/cpu/common.c
> @@ -337,7 +337,11 @@ void __init early_cpu_init(void)
> }
>
> if (!(c->x86_vendor & (X86_VENDOR_AMD | X86_VENDOR_HYGON)))
> + {
> park_offline_cpus = opt_mce;
>
On 21.11.2019 10:47, Julien Grall wrote:
> On 20/11/2019 23:05, Chao Gao wrote:
>> --- a/xen/arch/arm/smpboot.c
>> +++ b/xen/arch/arm/smpboot.c
>> @@ -39,6 +39,7 @@
>> cpumask_t cpu_online_map;
>> cpumask_t cpu_present_map;
>> cpumask_t cpu_possible_map;
>> +cpumask_var_t cpu_parked_map;
>
>
Hi,
On 20/11/2019 23:05, Chao Gao wrote:
It helps to distinguish parked CPUs from those are really offlined or
hot-added. We need to know the parked CPUs in order to do a special
check against them to ensure that all CPUs, except those are really
offlined or hot-added, have the same ucode versio
It helps to distinguish parked CPUs from those are really offlined or
hot-added. We need to know the parked CPUs in order to do a special
check against them to ensure that all CPUs, except those are really
offlined or hot-added, have the same ucode version.
Signed-off-by: Chao Gao
---
Note that c