From patchwork Sat Jan 19 16:25:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 2006841 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id ADA763FE1F for ; Sat, 19 Jan 2013 16:26:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8284FE5F3D for ; Sat, 19 Jan 2013 08:26:01 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by gabe.freedesktop.org (Postfix) with ESMTP id 96A1DE60FD for ; Sat, 19 Jan 2013 08:25:42 -0800 (PST) Received: by mail-bk0-f41.google.com with SMTP id jg9so2465185bkc.28 for ; Sat, 19 Jan 2013 08:25:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=6NLDl7/8xiPN3Yy6z+ABDTBBiEh4TJB6gMKt+MaCKqw=; b=RCCFc5JfeLzq8xOEM9S1ZiMSILx+RFU2QNwNrV47tVDyKr/1WM03J0ETxHvn4FP+TK 1t3GAtUkGjZjXh+Cq2rWdwy3ejEY7Vq9cKtS/fMcRrb7BgIqJ8CpSoqUqXStiVx/bP49 DvpzA2xB0XS8vl3Yzwx7QxMAkXVr1R8r0wCW8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=6NLDl7/8xiPN3Yy6z+ABDTBBiEh4TJB6gMKt+MaCKqw=; b=NUI8AgZi5SoAO/wZ+0eBrsVbjgKSzNVmevjz2O2SKzx8/88IkgZzVKlq8soRRwAgbU nhAKEzvrpRJWt+uDkXj7aFoVixkQw/88ENYwa/G8mQOnxkvti0jp4Rfl2g7Yxrxb9Fjc o3lYhqxduym1tyIYljRYG8/tsvuZa+aIGS0IpLK7uoTyWw3svHoTcHsoxrkzLxsSyCly J2INT9CPT/MmGF4gaggm7EzK+v5L8D6y9HntJ3NH2p4++k0dz0kjMWWR0f8pQJBVwOon QxWhmzcmUYsXFdJmJVZ9esosOdPWWLrpLE8lHHBbJgjezbVGppYr658XShlBb395SdZu fjKw== MIME-Version: 1.0 X-Received: by 10.204.130.75 with SMTP id r11mr1592480bks.138.1358612741142; Sat, 19 Jan 2013 08:25:41 -0800 (PST) Received: by 10.204.35.136 with HTTP; Sat, 19 Jan 2013 08:25:41 -0800 (PST) X-Originating-IP: [178.83.130.250] In-Reply-To: <50FAC61A.9060503@ionic.de> References: <50F9DF53.4090601@ionic.de> <50FAC61A.9060503@ionic.de> Date: Sat, 19 Jan 2013 17:25:41 +0100 Message-ID: Subject: Re: i915-related and general system freezes with specific kernel config // IOMMU From: Daniel Vetter To: Mihai Moldovan X-Gm-Message-State: ALoCoQnKqBFcLCLdoL0zQWHsyGntFZJJeAQSrLpPF9Mq1G5W8KOjC441334tN8cquZu8BtGLoHm5 Cc: intel-gfx , David Woodhouse , LKML , dri-devel X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org On Sat, Jan 19, 2013 at 5:13 PM, Mihai Moldovan wrote: >> [...] and we've never added the proper >> quirks. See https://bugzilla.kernel.org/show_bug.cgi?id=51921 for a >> proposed patch to fix this (i.e. automatically set >> intel_iommu=igfx_off for affected platfroms). Testing highly welcome. > > From a quick glance, I don't think this patch will work as-is, my PCI ID 2e12 is > missing. > I'll add it to the relevant section. The quirk matches your pci host bridge, which should have id 2e10, not the gfx, which has id 2e12. > But even if it worked, I'd still have the "box freezes randomly" issue (mostly > within 5 to 60 minutes of uptime). :( > The only way to get rid of this is disabling Intel IOMMU as a whole via kernel > parameters intel_iommu=off iommu=off. Hm, can you try enabling the related iommu quirk: Cheers, Daniel diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index b9d0911..e834395 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@ -4251,6 +4251,7 @@ static void quirk_iommu_rwbf(struct pci_dev *dev) } DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2a40, quirk_iommu_rwbf); +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e10, quirk_iommu_rwbf); #define GGC 0x52 #define GGC_MEMORY_SIZE_MASK (0xf << 8)