Re: [Xen-devel] [PATCH] x86/SMP: CPU0's scratch mask is needed earlier

2016-12-19 Thread Andrew Cooper
On 19/12/16 09:45, Jan Beulich wrote: > When putting together commit 3b61726458 ("x86: introduce and use > scratch CPU mask") I failed to remember that AMD IOMMU setups needs the > scratch mask prior to smp_prepare_cpus() having run. Use a static mask > for the boot CPU instead. > > Note that the d

[Xen-devel] [PATCH] x86/SMP: CPU0's scratch mask is needed earlier

2016-12-19 Thread Jan Beulich
When putting together commit 3b61726458 ("x86: introduce and use scratch CPU mask") I failed to remember that AMD IOMMU setups needs the scratch mask prior to smp_prepare_cpus() having run. Use a static mask for the boot CPU instead. Note that the definition of scratch_cpu0mask could also be put i