Re: [Xen-devel] [PATCH 2/2] x86: Don't use BAD_APICID for non-APICID fields

2015-03-24 Thread Boris Ostrovsky
On 03/24/2015 04:07 AM, Jan Beulich wrote: On 23.03.15 at 20:54, wrote: BAD_APICID is used by cpuinfo_x86's phys_proc_id, cpu_core_id and compute_unit_id even though these fields don't hold an APIC ID itself but rather its derivative. Provide appropriate macros for each of those three (and mak

Re: [Xen-devel] [PATCH 2/2] x86: Don't use BAD_APICID for non-APICID fields

2015-03-24 Thread Jan Beulich
>>> On 23.03.15 at 20:54, wrote: > BAD_APICID is used by cpuinfo_x86's phys_proc_id, cpu_core_id > and compute_unit_id even though these fields don't hold an APIC ID > itself but rather its derivative. > > Provide appropriate macros for each of those three (and make them > unsigned). > > This al

[Xen-devel] [PATCH 2/2] x86: Don't use BAD_APICID for non-APICID fields

2015-03-23 Thread Boris Ostrovsky
BAD_APICID is used by cpuinfo_x86's phys_proc_id, cpu_core_id and compute_unit_id even though these fields don't hold an APIC ID itself but rather its derivative. Provide appropriate macros for each of those three (and make them unsigned). This also fixes regression introduced by commit 2090f14c5