Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp344632imu; Thu, 3 Jan 2019 21:41:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN4sV8cP/3rX6j1ciUXvdDfcCiDCw/LWdwi2MjVa2x86pXfA/F1X/8ITfRCap3CnrHN6rWFC X-Received: by 2002:a63:b4c:: with SMTP id a12mr508627pgl.131.1546580497139; Thu, 03 Jan 2019 21:41:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546580497; cv=none; d=google.com; s=arc-20160816; b=Hq0Catt32hnTWGAvvnuV9OOPdR4ZnJ1rTe5O+35nJVupjBoy04xuiyAaFnhq9yqEf+ K7wbpZCnDkJ1Lo1I/Pt7g2HX2eP/EB1LYb6ZM5oGZmJ6JGUFX9ln3FJjhwYEHWn61irt eR+k/+KlAhx0no9s2cWYsymuKL2r5MIaYlGxdeb6Qd8VzVZz67Q5Yy92msPVONMYJLfw gixPhHo6MuraM5wgk6XQkQOewh3yF/t2KJQxVfUOtaRDdmW5SQAgD7ab9mglhkMGZ+8j h9JSuftpydF8KdpTiPFF2Fep01Eda4lnQ6F4QR8fjzWOy0ncqmLCuMcSIGEGV8rOKU1e bJYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ehPb0GzU6smVLmt7d/d26x67OgjyGk2roMrXMkPaIao=; b=tbsqkbKsoYOmcRm6Iy7o9EyZ/9Gv630Fd/Cv/fUv2F+VNoG2FBpnarDyMdeAu/Svzp mDjmcdPVgTBhbhr0A7L4l927omNZf8f0IqoLL3ID5Iyf/lqJSbzlhfmdYL+0vEWVtQgH hto2hgXl5Orx0DOOIod6DUJA1oGnL+rmqrHt6G9rs7DGr3oY4dN8rcItAkg7AKqYXGHK ikGRBYcEKLOGzj2pZClYGUgbIVgI4zVPUlqSFY71A+/G65UuZ+k8krUJ2+N2VFJ5E1Mn cmGPuMPgC5rOpRpRpSKGpS4I/0yltNr37oUQYYibVWoWU0KJ6dkBVz2H8KZcG9ZEzF7x 8Riw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14si54782765pgo.511.2019.01.03.21.41.21; Thu, 03 Jan 2019 21:41:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727430AbfADBG1 (ORCPT + 99 others); Thu, 3 Jan 2019 20:06:27 -0500 Received: from dcvr.yhbt.net ([64.71.152.64]:50684 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726003AbfADBG1 (ORCPT ); Thu, 3 Jan 2019 20:06:27 -0500 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 8C4DF1F6A9; Fri, 4 Jan 2019 01:06:26 +0000 (UTC) Date: Fri, 4 Jan 2019 01:06:26 +0000 From: Eric Wong To: Joonas Lahtinen Cc: Daniel Vetter , David Airlie , David Woodhouse , Jani Nikula , Joerg Roedel , Rodrigo Vivi , iommu@lists.linux-foundation.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: iommu_intel or i915 regression in 4.18, 4.19.12 and drm-tip Message-ID: <20190104010626.e6yqdqkmdcqjepke@dcvr> References: <20181227114948.ev4b3jte3ubsc5us@dcvr> <154642214920.6261.102817444136744919@jlahtine-desk.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <154642214920.6261.102817444136744919@jlahtine-desk.ger.corp.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Joonas Lahtinen wrote: > Quoting Eric Wong (2018-12-27 13:49:48) > > I just got a used Thinkpad X201 (Core i5 M 520, Intel QM57 > > chipset) and hit some kernel panics while trying to view > > image/animation-intensive stuff in Firefox (X11) unless I use > > "iommu_intel=igfx_off". > > > > With Debian stable backport kernels, "linux-image-4.17.0-0.bpo.3-amd64" > > (4.17.17-1~bpo9+1) has no problems. But "linux-image-4.18.0-0.bpo.3-amd64" > > (4.18.20-2~bpo9+1) gives a blank screen before I can login via agetty > > and run startx. > Most confusing about this is that 4.17 would have worked to begin with, > without intel_iommu=igfx_off (unless it was the default for older > kernel?) Yeah, so the Debian bpo 4.17(.17) kernel did not set CONFIG_INTEL_IOMMU_DEFAULT_ON, so I didn't encounter problems. My self-built kernels all set CONFIG_INTEL_IOMMU_DEFAULT_ON. Booting the Debian 4.17 kernel with "intel_iommu=on" gives the same hanging problem I hit with self-built 4.19.{12,13} kernels. I'm not sure how far back the problem goes (maybe forever), since I only got this hardware. Not sure what's the problem with Debian 4.18, either; but (self-built) 4.19.13 is fine w/o CONFIG_INTEL_IOMMU_DEFAULT_ON. Debian backports doesn't have kernels for 4.19 or 4.20, yet. > Did you maybe update other parts of the system while updating the > kernel? Definitely not; just the kernel + headers ("make bindeb-pkg)". > If you could attach full boot dmesg from working and non-working kernel + > have config file of both kernel's in Bugzilla. That'd be a good start! Sorry, I get anxiety attacks when it comes to logins and forms. Anyways, I managed to get the Debian kernel dmesg output uploaded with and without iommu_intel=on: https://bugs.freedesktop.org/attachment.cgi?bugid=109219