Re: [Xen-devel] [RFC Patch v4 4/8] hvmloader: boot cpu through broadcast

2018-04-18 Thread Jan Beulich
>>> On 18.04.18 at 13:20, wrote: > On Wed, Apr 18, 2018 at 02:38:48AM -0600, Jan Beulich wrote: > On 06.12.17 at 08:50, wrote: >>> /*static*/ void ap_start(void) >>> { >>> -printf(" - CPU%d ... ", ap_cpuid); >>> +printf(" - CPU%d ... ", ap_cpuid()); >>> cacheattr_init(); >>>

Re: [Xen-devel] [RFC Patch v4 4/8] hvmloader: boot cpu through broadcast

2018-04-18 Thread Chao Gao
On Wed, Apr 18, 2018 at 02:38:48AM -0600, Jan Beulich wrote: On 06.12.17 at 08:50, wrote: >> Intel SDM Extended XAPIC (X2APIC) -> "Initialization by System Software" >> has the following description: >> >> "The ACPI interfaces for the x2APIC are described in Section 5.2, “ACPI >> System >>

Re: [Xen-devel] [RFC Patch v4 4/8] hvmloader: boot cpu through broadcast

2018-04-18 Thread Jan Beulich
>>> On 06.12.17 at 08:50, wrote: > Intel SDM Extended XAPIC (X2APIC) -> "Initialization by System Software" > has the following description: > > "The ACPI interfaces for the x2APIC are described in Section 5.2, “ACPI System > Description Tables,” of the Advanced Configuration and Power Interface

Re: [Xen-devel] [RFC Patch v4 4/8] hvmloader: boot cpu through broadcast

2018-02-26 Thread Roger Pau Monné
On Mon, Feb 26, 2018 at 08:33:23PM +0800, Chao Gao wrote: > On Mon, Feb 26, 2018 at 01:28:07AM -0700, Jan Beulich wrote: > On 24.02.18 at 06:49, wrote: > >> On Fri, Feb 23, 2018 at 04:42:10PM +, Roger Pau Monné wrote: > >>>On Wed, Dec 06, 2017 at 03:50:10PM +0800, Chao Gao wrote: > I

Re: [Xen-devel] [RFC Patch v4 4/8] hvmloader: boot cpu through broadcast

2018-02-26 Thread Chao Gao
On Mon, Feb 26, 2018 at 01:28:07AM -0700, Jan Beulich wrote: On 24.02.18 at 06:49, wrote: >> On Fri, Feb 23, 2018 at 04:42:10PM +, Roger Pau Monné wrote: >>>On Wed, Dec 06, 2017 at 03:50:10PM +0800, Chao Gao wrote: Intel SDM Extended XAPIC (X2APIC) -> "Initialization by System Softwa

Re: [Xen-devel] [RFC Patch v4 4/8] hvmloader: boot cpu through broadcast

2018-02-26 Thread Jan Beulich
>>> On 24.02.18 at 06:49, wrote: > On Fri, Feb 23, 2018 at 04:42:10PM +, Roger Pau Monné wrote: >>On Wed, Dec 06, 2017 at 03:50:10PM +0800, Chao Gao wrote: >>> Intel SDM Extended XAPIC (X2APIC) -> "Initialization by System Software" >>> has the following description: >>> >>> "The ACPI interfa

Re: [Xen-devel] [RFC Patch v4 4/8] hvmloader: boot cpu through broadcast

2018-02-23 Thread Chao Gao
On Fri, Feb 23, 2018 at 04:42:10PM +, Roger Pau Monné wrote: >On Wed, Dec 06, 2017 at 03:50:10PM +0800, Chao Gao wrote: >> Intel SDM Extended XAPIC (X2APIC) -> "Initialization by System Software" >> has the following description: >> >> "The ACPI interfaces for the x2APIC are described in Secti

Re: [Xen-devel] [RFC Patch v4 4/8] hvmloader: boot cpu through broadcast

2018-02-23 Thread Roger Pau Monné
On Wed, Dec 06, 2017 at 03:50:10PM +0800, Chao Gao wrote: > Intel SDM Extended XAPIC (X2APIC) -> "Initialization by System Software" > has the following description: > > "The ACPI interfaces for the x2APIC are described in Section 5.2, “ACPI System > Description Tables,” of the Advanced Configurat

Re: [Xen-devel] [RFC Patch v4 4/8] hvmloader: boot cpu through broadcast

2018-02-23 Thread Jan Beulich
>>> On 22.02.18 at 19:44, wrote: > On Wed, Dec 06, 2017 at 03:50:10PM +0800, Chao Gao wrote: >> +"mov $lock,%edx\n" > > Not really an expert in x86 asm -- shouldn't this be lea instead? No, when MOV can be used it's preferable as having a 1 byte shorter encoding. There are

Re: [Xen-devel] [RFC Patch v4 4/8] hvmloader: boot cpu through broadcast

2018-02-22 Thread Wei Liu
On Wed, Dec 06, 2017 at 03:50:10PM +0800, Chao Gao wrote: > Intel SDM Extended XAPIC (X2APIC) -> "Initialization by System Software" > has the following description: > > "The ACPI interfaces for the x2APIC are described in Section 5.2, “ACPI System > Description Tables,” of the Advanced Configurat

[Xen-devel] [RFC Patch v4 4/8] hvmloader: boot cpu through broadcast

2017-12-05 Thread Chao Gao
Intel SDM Extended XAPIC (X2APIC) -> "Initialization by System Software" has the following description: "The ACPI interfaces for the x2APIC are described in Section 5.2, “ACPI System Description Tables,” of the Advanced Configuration and Power Interface Specification, Revision 4.0a (http://www.acp