Skip to contentSkip to conversation

APIC handling on x86-64

DISCUSSION Jan Beulich 3 participants 3 messages Mar 21, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

Xen's io_apic.c will program logical/phys dest mode appropriately (although it's taken from i386 io_apic.c, those parts of the i386 file are identical to x86/64 io_apic.c).

Good - I didn't check this explicitly.

Quoted 4 lines

I'd also like to fix send_IPI_mask_sequence() to use physical destination mode. It scares me a bit that 2.6.16 native i386 bigsmp mode uses physical flat model, but uses send_IPI_mask_sequence with logical delivery. Seems weird to me.

Haven't been able to download 2.6.16, yet (the WLANs I'm currently moving in seem to be rather unreliable, and I have no copy of the unmodified sources of any of the RCs around), but in any case our bigsmp kernel already appears to be using consistent physical mode.

Quoted 1 line

Both this and the summit fix will be after 3.0.2 now.

We'll have to pick them up anyway (if you get around to do it before I return from BrainShare, where I can't really do any significant work, and namely no testing).

Jan

#1 lore raw
Quoted 5 lines · Jan Beulich
Quoted 1 line

Both this and the summit fix will be after 3.0.2 now.

We'll have to pick them up anyway (if you get around to do it before I return from BrainShare, where I can't really do any significant work, and namely no testing).

Testing is the scary thing for me. I have no access to Summit or ES7000 boxes, and I don't know what external testing is being done on those systems and on what schedule. For all I know, bugs could be introduced and not fixed for an arbitrary time. If I know there is testing infrastructure I would like to move closer to x86/64's genapic code (which uses generic mechanisms to determine what APIC mode to use) and keep the minimal amount possible of default/bigsmp/summit/es7000 specific subarchitecture code. Still, some incremental progress on that path is definitely achievable.

-- Keir

#2 lore raw
Quoted 9 lines · Keir Fraser

Testing is the scary thing for me. I have no access to Summit or ES7000 boxes, and I don't know what external testing is being done on those systems and on what schedule. For all I know, bugs could be introduced and not fixed for an arbitrary time. If I know there is testing infrastructure I would like to move closer to x86/64's genapic code (which uses generic mechanisms to determine what APIC mode to use) and keep the minimal amount possible of default/bigsmp/summit/es7000 specific subarchitecture code. Still, some incremental progress on that path is definitely achievable.

We have not seen this issue on our 2-node 460 or any of our other summit boxes. However we do have a couple of summit boxes we could use for testing if you have some code to throw at us.

Thanks,
Paul Larson

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel