]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/apic: implement io apic read with hypercall
authorLin Ming <mlin@ss.pku.edu.cn>
Mon, 30 Apr 2012 16:16:27 +0000 (00:16 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 11 May 2012 18:24:12 +0000 (14:24 -0400)
commit2520bfc847fc802ddf3e4a556e617e84f8b6b2e8
tree656bab70579ac88c540f7e573c1302129fd8a091
parent4c2ae603f04e24ea54f652d12c18361b93d09982
xen/apic: implement io apic read with hypercall

Implements xen_io_apic_read with hypercall, so it returns proper
IO-APIC information instead of fabricated one.

Fallback to return an emulated IO_APIC values if hypercall fails.

[v2: fallback to return an emulated IO_APIC values if hypercall fails]
Signed-off-by: Lin Ming <mlin@ss.pku.edu.cn>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/apic.c