From patchwork Fri Apr 11 09:18:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Woodhouse X-Patchwork-Id: 3966861 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4ABD8BFF02 for ; Fri, 11 Apr 2014 09:24:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 866AE2081B for ; Fri, 11 Apr 2014 09:24:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 98631207F9 for ; Fri, 11 Apr 2014 09:24:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756482AbaDKJV3 (ORCPT ); Fri, 11 Apr 2014 05:21:29 -0400 Received: from mga11.intel.com ([192.55.52.93]:10452 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756152AbaDKJV0 (ORCPT ); Fri, 11 Apr 2014 05:21:26 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 11 Apr 2014 02:21:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,841,1389772800"; d="p7s'?scan'208";a="511389908" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga001.fm.intel.com with ESMTP; 11 Apr 2014 02:20:43 -0700 Received: from irsmsx154.ger.corp.intel.com (163.33.192.96) by IRSMSX102.ger.corp.intel.com (163.33.3.155) with Microsoft SMTP Server (TLS) id 14.3.123.3; Fri, 11 Apr 2014 10:18:54 +0100 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.78]) by IRSMSX154.ger.corp.intel.com ([169.254.12.112]) with mapi id 14.03.0123.003; Fri, 11 Apr 2014 10:18:54 +0100 From: "Woodhouse, David" To: Davidlohr Bueso CC: "joro@8bytes.org" , "linux-kernel@vger.kernel.org" , "bhe@redhat.com" , "jiang.liu@linux.intel.com" , "linux-scsi@vger.kernel.org" , "iommu@lists.linux-foundation.org" , "James.Bottomley@hansenpartnership.com" , "bhelgaas@google.com" , "linux-pci@vger.kernel.org" , "scameron@beardog.cce.hp.com" Subject: Re: hpsa driver bug crack kernel down! Thread-Topic: hpsa driver bug crack kernel down! Thread-Index: AQHPVNitc4dwKY4180e5mx3ldqxwrpsME6YA Date: Fri, 11 Apr 2014 09:18:53 +0000 Message-ID: <1397207932.19944.58.camel@shinybook.infradead.org> References: <20140409023935.GE11839@dhcp-16-105.nay.redhat.com> <1397083799.2608.20.camel@buesod1.americas.hpqcorp.net> <1397084904.9519.62.camel@dabdike> <1397085044.9519.63.camel@dabdike> <1397086817.2608.25.camel@buesod1.americas.hpqcorp.net> <1397087425.9519.67.camel@dabdike> <1397089180.2608.27.camel@buesod1.americas.hpqcorp.net> <1397111557.2608.29.camel@buesod1.americas.hpqcorp.net> <20140410071535.GX13491@8bytes.org> <1397119587.19944.14.camel@shinybook.infradead.org> <1397146781.2608.46.camel@buesod1.americas.hpqcorp.net> In-Reply-To: <1397146781.2608.46.camel@buesod1.americas.hpqcorp.net> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: yes X-MS-TNEF-Correlator: MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_TVD_MIME_EPI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Thu, 2014-04-10 at 09:19 -0700, Davidlohr Bueso wrote: > Attaching a dmesg from one of the kernels that boots. It doesn't appear > to have much of the related information... is there any debug config > option I can enable that might give you more data? I'd like the contents of /sys/firmware/acpi/tables/DMAR please. And please could you also apply this patch to both the last-working and first-failing kernels and show me the output in both cases? diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index dd576c0..d52ac03 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@ -683,6 +683,12 @@ static struct intel_iommu *device_to_iommu(int segment, u8 bus, u8 devfn) out: rcu_read_unlock(); + if (iommu) + printk("Device %x:%02x:%02x.%d on IOMMU at %llx\n", segment, bus, + PCI_SLOT(devfn), PCI_FUNC(devfn), drhd->reg_base_addr); + else + printk("Device %x:%02x:%02x.%d on no IOMMU\n", segment, bus, + PCI_SLOT(devfn), PCI_FUNC(devfn)); return iommu; }