Re: [Xen-devel] [PATCH v1 1/3] x86: identifying the boot cpu

2015-03-12 Thread Boris Ostrovsky
On 03/12/2015 10:55 AM, Uma Sharma wrote: Provide helpers to access the socket and core IDs, resulting from identification phase. Initialize socket and core ID to -1 i.e invalid instead of 0. Signed-off-by: Uma Sharma --- xen/arch/x86/setup.c| 7 +-- xen/arch/x86/smpboot.c

Re: [Xen-devel] [PATCH v1 1/3] x86: identifying the boot cpu

2015-03-12 Thread Jan Beulich
>>> On 12.03.15 at 15:55, wrote: > Provide helpers to access the socket and core IDs, resulting from > identification phase. > Initialize socket and core ID to -1 i.e invalid instead of 0. You still don't say _why_ both of these are needed. > --- a/xen/arch/x86/smpboot.c > +++ b/xen/arch/x86/sm

[Xen-devel] [PATCH v1 1/3] x86: identifying the boot cpu

2015-03-12 Thread Uma Sharma
Provide helpers to access the socket and core IDs, resulting from identification phase. Initialize socket and core ID to -1 i.e invalid instead of 0. Signed-off-by: Uma Sharma --- xen/arch/x86/setup.c| 7 +-- xen/arch/x86/smpboot.c | 3 ++- xen/include/asm-x86/processor