From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: xen-swiotlb: WARNING: at kernel/smp.c:421 smp_call_function_many+0x66/0x1a1() Date: Thu, 22 Jul 2010 12:59:28 -0700 Message-ID: <4C48A320.40707@goop.org> References: <1842360857.20100722213215@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1842360857.20100722213215@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sander Eikelenboom Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On 07/22/2010 12:32 PM, Sander Eikelenboom wrote: > Hi Konrad, > > Finally found the time to test the xen-swiotlb again (together with usb3/xhci isoc pathes) > I began with your tree: > git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git devel/merge.2.6.35-rc3 > > and after that i merged in a tree for the xhci part that is based on 2.6.35-rc4: > > git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci.git amd-isoc > > That all went without a problem, booting the resulting kernel in a PV domU gives the warnings below, i hope these can be addressed before the next merge window and xen-swiotlb will make it in ! > Despite the 2 warnings, the usb devices i passed through seem to work ok. > Looks like you need changes: c2ae7934bba9f4e0492497953b60ffe75f9c3f5b 3ada8ba278a91fc73062d1ff6c6cd80bf7a058f3 J > -- > Sander > > > > info: > Xen version: xen-4.0-testing-pre4 (changeset: 21263:57859775f88f) > Dom0 kernel: 2.6.32.16 pvops (commit 006bfe8f594370f36f09d8e8ab13692d34e88533) > > Attached: > - xm dmesg (the part where the domU gets created > - dmesg of the domU > - lspci -vvvknn of the domU > > > > [ 1.471104] ------------[ cut here ]------------ > [ 1.471120] WARNING: at kernel/smp.c:421 smp_call_function_many+0x66/0x1a1() > [ 1.471126] Modules linked in: thermal_sys [last unloaded: scsi_wait_scan] > [ 1.471135] Pid: 153, comm: khubd Not tainted 2.6.35-rc4+konrad+xhci-isoc+ #2 > [ 1.471140] Call Trace: > [ 1.471147] [] ? smp_call_function_many+0x66/0x1a1 > [ 1.471153] [] ? smp_call_function_many+0x66/0x1a1 > [ 1.471159] [] ? warn_slowpath_common+0x78/0xa2 > [ 1.471166] [] ? smp_call_function_many+0x66/0x1a1 > [ 1.471177] [] ? do_flush_tlb_all+0x0/0x43 > [ 1.471182] [] ? do_flush_tlb_all+0x0/0x43 > [ 1.471188] [] ? smp_call_function+0x20/0x25 > [ 1.471195] [] ? on_each_cpu+0x10/0x2e > [ 1.471201] [] ? __purge_vmap_area_lazy+0xf6/0x14f > [ 1.471207] [] ? vm_unmap_aliases+0x168/0x179 > [ 1.471214] [] ? xen_create_contiguous_region+0x3f/0xe6 > [ 1.471221] [] ? xen_swiotlb_alloc_coherent+0x66/0xd3 > [ 1.471227] [] ? xen_restore_fl_direct_end+0x0/0x1 > [ 1.471234] [] ? pool_alloc_page+0x10a/0x194 > [ 1.471240] [] ? dma_pool_alloc+0x76/0x163 > [ 1.471248] [] ? hid_alloc_buffers+0x23/0xf4 > [ 1.471254] [] ? usbhid_start+0x15d/0x49b > [ 1.471260] [] ? sysfs_do_create_link+0xee/0x13c > [ 1.471266] [] ? hid_device_probe+0x93/0xce > [ 1.471274] [] ? really_probe+0x8a/0x12e > [ 1.471279] [] ? __device_attach+0x0/0x39 > [ 1.471285] [] ? bus_for_each_drv+0x46/0x77 > [ 1.471293] [] ? device_attach+0x55/0x66 > [ 1.471298] [] ? bus_probe_device+0x22/0x3b > [ 1.471304] [] ? device_add+0x29c/0x406 > [ 1.471310] [] ? hid_add_device+0x17c/0x1a0 > [ 1.471316] [] ? usbhid_probe+0x40b/0x468 > [ 1.471322] [] ? usb_match_one_id+0x23/0x7f > [ 1.471328] [] ? usb_probe_interface+0xd4/0x11b > [ 1.471334] [] ? really_probe+0x8a/0x12e > [ 1.471340] [] ? __device_attach+0x0/0x39 > [ 1.471346] [] ? bus_for_each_drv+0x46/0x77 > [ 1.471352] [] ? device_attach+0x55/0x66 > [ 1.471358] [] ? bus_probe_device+0x22/0x3b > [ 1.471364] [] ? device_add+0x29c/0x406 > [ 1.471369] [] ? usb_set_configuration+0x5d6/0x655 > [ 1.471376] [] ? generic_probe+0x71/0xc6 > [ 1.471381] [] ? really_probe+0x8a/0x12e > [ 1.471387] [] ? __device_attach+0x0/0x39 > [ 1.471394] [] ? bus_for_each_drv+0x46/0x77 > [ 1.471400] [] ? device_attach+0x55/0x66 > [ 1.471406] [] ? bus_probe_device+0x22/0x3b > [ 1.471411] [] ? device_add+0x29c/0x406 > [ 1.471417] [] ? usb_new_device+0x7b/0xdc > [ 1.471422] [] ? hub_port_connect_change+0x5fc/0x89e > [ 1.471428] [] ? usb_control_msg+0x12f/0x140 > [ 1.471434] [] ? hub_events+0x3cd/0x51d > [ 1.471440] [] ? hub_thread+0x3c/0x158 > [ 1.471446] [] ? autoremove_wake_function+0x0/0x2e > [ 1.471452] [] ? hub_thread+0x0/0x158 > [ 1.471457] [] ? kthread+0x79/0x81 > [ 1.471463] [] ? kernel_thread_helper+0x4/0x10 > [ 1.471468] [] ? int_ret_from_sys_call+0x7/0x1b > [ 1.471476] [] ? retint_restore_args+0x5/0x6 > [ 1.471481] [] ? kernel_thread_helper+0x0/0x10 > [ 1.471486] ---[ end trace 0680a6f27492dd31 ]--- > [ 1.471490] ------------[ cut here ]------------ > [ 1.471495] WARNING: at kernel/smp.c:293 smp_call_function_single+0x6e/0x108() > [ 1.471500] Modules linked in: thermal_sys [last unloaded: scsi_wait_scan] > [ 1.471509] Pid: 153, comm: khubd Tainted: G W 2.6.35-rc4+konrad+xhci-isoc+ #2 > [ 1.471514] Call Trace: > [ 1.471519] [] ? smp_call_function_single+0x6e/0x108 > [ 1.471524] [] ? smp_call_function_single+0x6e/0x108 > [ 1.471530] [] ? warn_slowpath_common+0x78/0xa2 > [ 1.471536] [] ? smp_call_function_single+0x6e/0x108 > [ 1.471542] [] ? do_flush_tlb_all+0x0/0x43 > [ 1.471547] [] ? do_flush_tlb_all+0x0/0x43 > [ 1.471553] [] ? smp_call_function+0x20/0x25 > [ 1.471559] [] ? on_each_cpu+0x10/0x2e > [ 1.471564] [] ? __purge_vmap_area_lazy+0xf6/0x14f > [ 1.471570] [] ? vm_unmap_aliases+0x168/0x179 > [ 1.471576] [] ? xen_create_contiguous_region+0x3f/0xe6 > [ 1.471582] [] ? xen_swiotlb_alloc_coherent+0x66/0xd3 > [ 1.471588] [] ? xen_restore_fl_direct_end+0x0/0x1 > [ 1.471594] [] ? pool_alloc_page+0x10a/0x194 > [ 1.471600] [] ? dma_pool_alloc+0x76/0x163 > [ 1.472021] [] ? hid_alloc_buffers+0x23/0xf4 > [ 1.472021] [] ? usbhid_start+0x15d/0x49b > [ 1.472021] [] ? sysfs_do_create_link+0xee/0x13c > [ 1.472021] [] ? hid_device_probe+0x93/0xce > [ 1.472021] [] ? really_probe+0x8a/0x12e > [ 1.472021] [] ? __device_attach+0x0/0x39 > [ 1.472021] [] ? bus_for_each_drv+0x46/0x77 > [ 1.472021] [] ? device_attach+0x55/0x66 > [ 1.472021] [] ? bus_probe_device+0x22/0x3b > [ 1.472021] [] ? device_add+0x29c/0x406 > [ 1.472021] [] ? hid_add_device+0x17c/0x1a0 > [ 1.472021] [] ? usbhid_probe+0x40b/0x468 > [ 1.472021] [] ? usb_match_one_id+0x23/0x7f > [ 1.472021] [] ? usb_probe_interface+0xd4/0x11b > [ 1.472021] [] ? really_probe+0x8a/0x12e > [ 1.472021] [] ? __device_attach+0x0/0x39 > [ 1.472021] [] ? bus_for_each_drv+0x46/0x77 > [ 1.472021] [] ? device_attach+0x55/0x66 > [ 1.472021] [] ? bus_probe_device+0x22/0x3b > [ 1.472021] [] ? device_add+0x29c/0x406 > [ 1.472021] [] ? usb_set_configuration+0x5d6/0x655 > [ 1.472021] [] ? generic_probe+0x71/0xc6 > [ 1.472021] [] ? really_probe+0x8a/0x12e > [ 1.472021] [] ? __device_attach+0x0/0x39 > [ 1.472021] [] ? bus_for_each_drv+0x46/0x77 > [ 1.472021] [] ? device_attach+0x55/0x66 > [ 1.472021] [] ? bus_probe_device+0x22/0x3b > [ 1.472021] [] ? device_add+0x29c/0x406 > [ 1.472021] [] ? usb_new_device+0x7b/0xdc > [ 1.472021] [] ? hub_port_connect_change+0x5fc/0x89e > [ 1.472021] [] ? usb_control_msg+0x12f/0x140 > [ 1.472021] [] ? hub_events+0x3cd/0x51d > [ 1.472021] [] ? hub_thread+0x3c/0x158 > [ 1.472021] [] ? autoremove_wake_function+0x0/0x2e > [ 1.472021] [] ? hub_thread+0x0/0x158 > [ 1.472021] [] ? kthread+0x79/0x81 > [ 1.472021] [] ? kernel_thread_helper+0x4/0x10 > [ 1.472021] [] ? int_ret_from_sys_call+0x7/0x1b > [ 1.472021] [] ? retint_restore_args+0x5/0x6 > [ 1.472021] [] ? kernel_thread_helper+0x0/0x10 > [ 1.472021] ---[ end trace 0680a6f27492dd32 ]--- > > > > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >