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: 2006851 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 5EEF8DF2A2 for ; Sat, 19 Jan 2013 16:26:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 45FBDE5DC5 for ; Sat, 19 Jan 2013 08:26:47 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-bk0-f50.google.com (mail-bk0-f50.google.com [209.85.214.50]) by gabe.freedesktop.org (Postfix) with ESMTP id 99F74E6107 for ; Sat, 19 Jan 2013 08:25:42 -0800 (PST) Received: by mail-bk0-f50.google.com with SMTP id jf3so2420006bkc.23 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=potwcfQiXTboVmu2nbKyjc8GNNSMmbYnpq13sp9w2xH+agH0vPQ1Wmm2bB9++NbK95 m8e6NHVK3y0Iw5at3DqvCuD7oVz0Bi0EFzDBNV8pXu0cTTwB/Hd9I49jMzkUhIxFfAq/ zRrsD+0alsHpgF5mdiHAvbKZQrrs6LbkQQ9xd5Pvnn2wIJ6h+Yxo1F9d7ycPh4lDUDae keN/+hREb95iHIfGCwNOTYZdV89QJpngOB4hknkSHeDcgk7qzeroMU3uKnl5kMNHmZg2 8XaGiB+V6u8OYiWoBgaO1PhXmOOOKyeSjeM0CaiYNDtFiMyyTwEzCDi5N85Pa2JGEfvX bSQg== 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: From: Daniel Vetter To: Mihai Moldovan X-Gm-Message-State: ALoCoQnPPUUjalGZel101IE4ymjenJTURek3/pz67JX2YHFxBImnFxXwfVuaWaAnXLQu2qpBq066 Cc: intel-gfx , LKML , dri-devel Subject: Re: [Intel-gfx] i915-related and general system freezes with specific kernel config // IOMMU X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=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)