Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remapping and x2apic support

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Suresh Siddha <suresh.b.siddha@...>
Cc: Ingo Molnar <mingo@...>, hpa@zytor.com <hpa@...>, tglx@linutronix.de <tglx@...>, akpm@linux-foundation.org <akpm@...>, arjan@linux.intel.com <arjan@...>, andi@firstfloor.org <andi@...>, ebiederm@xmission.com <ebiederm@...>, jbarnes@virtuousgeek.org <jbarnes@...>, steiner@sgi.com <steiner@...>, linux-kernel@vger.kernel.org <linux-kernel@...>, jeremy@goop.org <jeremy@...>
Date: Friday, July 11, 2008 - 11:16 pm

1. wonder if x2apic can be use with uniprocessor.

in APIC_init_uniprocessor, it will try to enable x2apic, but later

apic_write(APIC_ID, SET_APIC_ID(boot_cpu_physical_apicid));

but SET_APIC_ID is still for xapic version. so need to GET_APIC_ID,
SET_APIC_ID for different
genapic like 32bit.

2 check_x2apic is called in setup_arch, but it only set apic_ops,
and genapic still not changed, aka apic_flat...
wonder if you need to call setup_apic_routing to set genapic.

otherwise read_apic_id could have use the one from apic_flat....need
to shift......

3.or move read_apic_id to apic_ops intead...together with GET_APIC_ID too.
but 32bit version seems like to put GET_APIC_ID with genapic...

which one is better? 2 or 3

YH
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remappin..., Eric W. Biederman, (Thu Jul 10, 4:05 pm)
Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remappin..., Eric W. Biederman, (Thu Jul 10, 6:54 pm)
Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remappin..., Eric W. Biederman, (Thu Jul 10, 6:52 pm)
Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remappin..., Eric W. Biederman, (Thu Jul 10, 11:15 pm)
Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remappin..., Eric W. Biederman, (Thu Jul 10, 5:07 pm)
Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remappin..., Yinghai Lu, (Fri Jul 11, 11:16 pm)
Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remappin..., Eric W. Biederman, (Fri Jul 11, 11:52 pm)
Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remappin..., Eric W. Biederman, (Sat Jul 12, 3:02 am)
Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remappin..., Eric W. Biederman, (Sat Jul 12, 4:11 am)
Re: [patch 00/26] x64, x2apic/intr-remap: Interrupt-remappin..., Eric W. Biederman, (Sat Jul 12, 5:46 am)