xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] (xen) for stable/for-ingo-v3.5.v3 for v3.5
@ 2012-04-16 18:40 Konrad Rzeszutek Wilk
  2012-04-16 18:40 ` [PATCH 1/3] x86/apic: Replace io_apic_ops with x86_io_apic_ops Konrad Rzeszutek Wilk
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-04-16 18:40 UTC (permalink / raw)
  To: linux-kernel, mingo; +Cc: xen-devel, suresh.b.siddha, hpa

Hey Ingo,

Please git pull the following branch for v3.5:

git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-ingo-v3.5.v3

It has the proper fix for the IO-APIC having 0xfffff... contents when booting under Xen.

Compared to the patch you have already in the tree (136d249ef7dbf0fefa292082cc40be1ea864cbd6
 x86/ioapic: Add io_apic_ops driver layer to allow interception) it does three things:

 1) Exposes the io_apic baremetal functions and uses the x86_io_apic_ops function table
    instead of keeping it in the io_apic. This makes the code fit within the rest of
    x86_ops functions.

 2) Use the x86_io_apic_ops to re-direct the (*read) to the Xen emulated one.

 3) Removes the work-around.

Please note, that the existing interface (136d249) can be used to do 2) as well. But the
1) makes the code more uniform by putting the function table redirection in the same
location.

Thank you!

Konrad Rzeszutek Wilk (3):
      x86/apic: Replace io_apic_ops with x86_io_apic_ops.
      xen/x86: Implement x86_apic_ops
      Revert "xen/x86: Workaround 'x86/ioapic: Add register level checks to detect bogus io-apic entries'"

 arch/x86/include/asm/io_apic.h  |   35 +++++++++++++++++++----------
 arch/x86/include/asm/x86_init.h |    9 ++++++-
 arch/x86/kernel/apic/io_apic.c  |   46 +++-----------------------------------
 arch/x86/kernel/setup.c         |    2 +-
 arch/x86/kernel/x86_init.c      |    8 ++++++
 arch/x86/xen/Makefile           |    2 +-
 arch/x86/xen/apic.c             |   17 ++++++++++++++
 arch/x86/xen/enlighten.c        |    2 +
 arch/x86/xen/mmu.c              |    4 +--
 arch/x86/xen/xen-ops.h          |    4 +++
 10 files changed, 69 insertions(+), 60 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-16 19:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16 18:40 [GIT PULL] (xen) for stable/for-ingo-v3.5.v3 for v3.5 Konrad Rzeszutek Wilk
2012-04-16 18:40 ` [PATCH 1/3] x86/apic: Replace io_apic_ops with x86_io_apic_ops Konrad Rzeszutek Wilk
2012-04-16 18:40 ` [PATCH 2/3] xen/x86: Implement x86_apic_ops Konrad Rzeszutek Wilk
2012-04-16 18:40 ` [PATCH 3/3] Revert "xen/x86: Workaround 'x86/ioapic: Add register level checks to detect bogus io-apic entries'" Konrad Rzeszutek Wilk
2012-04-16 19:19 ` [GIT PULL] (xen) for stable/for-ingo-v3.5.v3 for v3.5 Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).