From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: warn_slowpath_common in drivers/pci/search.c:44 on linux-3.4.0 Date: Tue, 29 May 2012 10:35:53 +0200 Message-ID: <20120529083552.GN2604@amd.com> References: <20120526082551.GA2723@ritirata.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-pci-owner@vger.kernel.org To: Bjorn Helgaas Cc: Antonio Quartulli , linux-pci@vger.kernel.org, iommu@lists.linux-foundation.org List-Id: iommu@lists.linux-foundation.org Hi Antonio, On Sat, May 26, 2012 at 09:09:52AM -0600, Bjorn Helgaas wrote: > On Sat, May 26, 2012 at 2:25 AM, Antonio Quartulli wrote: > > [ =A0 =A01.054279] WARNING: at drivers/pci/search.c:44 pci_find_ups= tream_pcie_bridge+0x5e/0x70() > > [ =A0 =A01.054385] Hardware name: Latitude E5420 > > [ =A0 =A01.054457] Modules linked in: > > [ =A0 =A01.054568] Pid: 1, comm: swapper/0 Not tainted 3.4.0ordex+ = #3 > > [ =A0 =A01.054643] Call Trace: > > [ =A0 =A01.054716] =A0[] warn_slowpath_common+0x7= a/0xb0 > > [ =A0 =A01.054793] =A0[] warn_slowpath_null+0x15/= 0x20 > > [ =A0 =A01.054869] =A0[] pci_find_upstream_pcie_b= ridge+0x5e/0x70 > > [ =A0 =A01.054949] =A0[] intel_iommu_device_group= +0x77/0x100 > > [ =A0 =A01.055027] =A0[] add_iommu_group+0x35/0x6= 0 > > [ =A0 =A01.055113] =A0[] ? bus_set_iommu+0x50/0x5= 0 > > [ =A0 =A01.055191] =A0[] bus_for_each_dev+0x56/0x= 90 > > [ =A0 =A01.055267] =A0[] bus_set_iommu+0x3b/0x50 > > [ =A0 =A01.055344] =A0[] intel_iommu_init+0xab0/0= xb3f > > [ =A0 =A01.055421] =A0[] ? sys_mkdirat+0x76/0xd0 > > [ =A0 =A01.055499] =A0[] ? memblock_find_dma_rese= rve+0x13d/0x13d > > [ =A0 =A01.055578] =A0[] pci_iommu_init+0x13/0x3e > > [ =A0 =A01.055655] =A0[] do_one_initcall+0x3a/0x1= 70 > > [ =A0 =A01.055732] =A0[] kernel_init+0x148/0x1cc > > [ =A0 =A01.055807] =A0[] ? do_early_param+0x86/0x= 86 > > [ =A0 =A01.055884] =A0[] kernel_thread_helper+0x4= /0x10 > > [ =A0 =A01.055963] =A0[] ? finish_task_switch+0x8= 0/0x110 > > [ =A0 =A01.056040] =A0[] ? retint_restore_args+0x= e/0xe > > [ =A0 =A01.056126] =A0[] ? start_kernel+0x30b/0x3= 0b > > [ =A0 =A01.056203] =A0[] ? gs_change+0xb/0xb Hmm, this looks like pci_find_upstream_pcie_bridge() found a PCIe devic= e in the chain which is not a bridge. Can you please post the output of 'lspci -vvv' and 'lspci -t'? Thanks, Joerg --=20 AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr.= 43632 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from va3ehsobe002.messaging.microsoft.com ([216.32.180.12]:58050 "EHLO va3outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752542Ab2E2Ifr convert rfc822-to-8bit (ORCPT ); Tue, 29 May 2012 04:35:47 -0400 Date: Tue, 29 May 2012 10:35:53 +0200 From: Joerg Roedel To: Bjorn Helgaas CC: Antonio Quartulli , , Subject: Re: warn_slowpath_common in drivers/pci/search.c:44 on linux-3.4.0 Message-ID: <20120529083552.GN2604@amd.com> References: <20120526082551.GA2723@ritirata.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" In-Reply-To: Sender: linux-pci-owner@vger.kernel.org List-ID: Hi Antonio, On Sat, May 26, 2012 at 09:09:52AM -0600, Bjorn Helgaas wrote: > On Sat, May 26, 2012 at 2:25 AM, Antonio Quartulli wrote: > > [    1.054279] WARNING: at drivers/pci/search.c:44 pci_find_upstream_pcie_bridge+0x5e/0x70() > > [    1.054385] Hardware name: Latitude E5420 > > [    1.054457] Modules linked in: > > [    1.054568] Pid: 1, comm: swapper/0 Not tainted 3.4.0ordex+ #3 > > [    1.054643] Call Trace: > > [    1.054716]  [] warn_slowpath_common+0x7a/0xb0 > > [    1.054793]  [] warn_slowpath_null+0x15/0x20 > > [    1.054869]  [] pci_find_upstream_pcie_bridge+0x5e/0x70 > > [    1.054949]  [] intel_iommu_device_group+0x77/0x100 > > [    1.055027]  [] add_iommu_group+0x35/0x60 > > [    1.055113]  [] ? bus_set_iommu+0x50/0x50 > > [    1.055191]  [] bus_for_each_dev+0x56/0x90 > > [    1.055267]  [] bus_set_iommu+0x3b/0x50 > > [    1.055344]  [] intel_iommu_init+0xab0/0xb3f > > [    1.055421]  [] ? sys_mkdirat+0x76/0xd0 > > [    1.055499]  [] ? memblock_find_dma_reserve+0x13d/0x13d > > [    1.055578]  [] pci_iommu_init+0x13/0x3e > > [    1.055655]  [] do_one_initcall+0x3a/0x170 > > [    1.055732]  [] kernel_init+0x148/0x1cc > > [    1.055807]  [] ? do_early_param+0x86/0x86 > > [    1.055884]  [] kernel_thread_helper+0x4/0x10 > > [    1.055963]  [] ? finish_task_switch+0x80/0x110 > > [    1.056040]  [] ? retint_restore_args+0xe/0xe > > [    1.056126]  [] ? start_kernel+0x30b/0x30b > > [    1.056203]  [] ? gs_change+0xb/0xb Hmm, this looks like pci_find_upstream_pcie_bridge() found a PCIe device in the chain which is not a bridge. Can you please post the output of 'lspci -vvv' and 'lspci -t'? Thanks, Joerg -- AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632