[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH][SVM] fix spinlock panic



Hi!

Attached patch enables irq when initializing SVM so it's safe to take locks.
This fixes a panic like this:

(XEN) Xen BUG at spinlock.c:24
[...]
(XEN) Xen call trace:
(XEN)    [<ffff828c8011b839>] check_lock+0x3d/0x49
(XEN)    [<ffff828c8011b9a4>] _spin_lock+0x11/0x2d
(XEN)    [<ffff828c80111d4e>] alloc_heap_pages+0xcf/0x43d
(XEN)    [<ffff828c80113775>] alloc_domheap_pages+0x115/0x160
(XEN)    [<ffff828c80113810>] alloc_xenheap_pages+0x50/0xd7
(XEN)    [<ffff828c801a4163>] alloc_host_save_area+0x18/0x45
(XEN)    [<ffff828c801a21b0>] start_svm+0x6b/0x1f5
(XEN)    [<ffff828c80184b5d>] init_amd+0x92b/0x96e
(XEN)    [<ffff828c801852cf828c80163108>] smp_store_cpu_info+0x3b/0xbd
(XEN)    [<ffff828c8016328b>] smp_callin+0x101/0x217
(XEN)    [<ffff828c80164314>] start_secondary+0xb0/0x419


Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

Attachment: xen_svm_irq.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.