[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121016.134304.86248639.d.hatayama@jp.fujitsu.com>
Date: Tue, 16 Oct 2012 13:43:04 +0900 (JST)
From: HATAYAMA Daisuke <d.hatayama@...fujitsu.com>
To: fenghua.yu@...el.com
Cc: mingo@...e.hu, tglx@...utronix.de, hpa@...or.com,
torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
asit.k.mallick@...el.com, tony.luck@...el.com,
arjan@...ux.intel.com, suresh.b.siddha@...el.com,
len.brown@...el.com, srivatsa.bhat@...ux.vnet.ibm.com,
rdunlap@...otime.net, gong.chen@...ux.intel.com,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
x86@...nel.org
Subject: Re: [PATCH v9 08/12] x86, hotplug: Wake up CPU0 via NMI instead of
INIT, SIPI, SIPI
From: Fenghua Yu <fenghua.yu@...el.com>
Subject: [PATCH v9 08/12] x86, hotplug: Wake up CPU0 via NMI instead of INIT, SIPI, SIPI
Date: Fri, 12 Oct 2012 09:09:45 -0700
<cut>
> @@ -1037,6 +1101,8 @@ void __init native_smp_prepare_cpus(unsigned int max_cpus)
> */
> setup_local_APIC();
>
> + cpu0_logical_apicid = GET_APIC_LOGICAL_ID(apic_read(APIC_LDR));
> +
In x2apic mode, logical apicid occupies a whole 32-bit length of LDR,
but GET_APIC_LOGICAL_ID returns high 31-24 bits only, and this is only
for xapic mode.
Thanks.
HATAYAMA, Daisuke
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists