Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp507402imu; Fri, 4 Jan 2019 01:52:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN73ybFL8qbsQMqNzjpHxxD0zkikwZ2fwKvViEOxeY0RGNKOYIaG1uYMexR+Zx90Keai4Vmp X-Received: by 2002:a63:184a:: with SMTP id 10mr47698621pgy.81.1546595559592; Fri, 04 Jan 2019 01:52:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546595559; cv=none; d=google.com; s=arc-20160816; b=VjvYFpB2mH8ie0JxBVd9Q5LiBFtGH61l+wlSNnyULX25AobVOzT3yzmnRwLAhLHttM vHfFyjhoeOj5hVrgLa5cuD0Z+3iUQti9jfsxXlPWZ/ckiFYCOsJgi2vdYg8cjbQRhcYO sfu8mhvN6bIPeiSJpk3fVyVhjMbtLstyWT4/XqY7A6qhrbFlVfDFYVtBDTk2ffzpu4jN BaE7Z/wwYOhSVrhV4PB2qHwtNf0wJzBndfxyuUcEoZw7z4Tz2WuA0MZGRsETjwXN9zJn iB5l1qkII3NHmYFKitLa2boCrMe61B9TUX0RcpLriinQD68Fiy/ERK+QlI7er9JZWso5 H/iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:organization:from:to :content-transfer-encoding:mime-version; bh=Jm9+rAZW4LSiXHBEILe8GOF8ddhFwIw5b5OnTi9l9B0=; b=y2ZFyFuz5/kD4HkwGXGSiw93PyFLjF8iK94gNiszaAmUaIiS0y7SC95o4svu9XeDJN oioniVAykMC4M7DVnIV/JpvMPFGkUrT6xSa3uZmafVaSbiWOB9l+19Ezd9JSiuRCMlqU dcCr8B4crFfsNwePX8OmfSxrS4v4RRLJKChH4ba2+UPoOkaqv+ET/ZXp5dO1fWe0iz6b NXkj7nlpzEcuf6WATDCOfyl0DUhkZ8STKrNTvf5ytP0xYEnY1LrlwAy973etnz0cvGwl W9FIFCY6tIVnzAD/uuOV2Fk5DAk6X+Q3ybde8SpwtiVdk+lhckPxyZAswolVqUKEmn7D kM2w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k72si9466165pge.310.2019.01.04.01.52.10; Fri, 04 Jan 2019 01:52:39 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727138AbfADIj3 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 4 Jan 2019 03:39:29 -0500 Received: from mga06.intel.com ([134.134.136.31]:22552 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726105AbfADIj2 (ORCPT ); Fri, 4 Jan 2019 03:39:28 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jan 2019 00:39:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,437,1539673200"; d="scan'208";a="123233546" Received: from jlahtine-desk.ger.corp.intel.com (HELO localhost) ([10.252.6.61]) by FMSMGA003.fm.intel.com with ESMTP; 04 Jan 2019 00:39:24 -0800 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Eric Wong From: Joonas Lahtinen Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo In-Reply-To: <20190104010626.e6yqdqkmdcqjepke@dcvr> 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 References: <20181227114948.ev4b3jte3ubsc5us@dcvr> <154642214920.6261.102817444136744919@jlahtine-desk.ger.corp.intel.com> <20190104010626.e6yqdqkmdcqjepke@dcvr> Message-ID: <154659116310.4596.13613897418163029789@jlahtine-desk.ger.corp.intel.com> User-Agent: alot/0.6 Subject: Re: iommu_intel or i915 regression in 4.18, 4.19.12 and drm-tip Date: Fri, 04 Jan 2019 10:39:23 +0200 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Eric Wong (2019-01-04 03:06:26) > 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. So it's the case that IOMMU never worked on your machine. My recommendation would be to simply use intel_iommu=igfx_off if you need IOMMU. Old hardware is known to have issues with IOMMU, and retroactively enabling IOMMU on those machines just brings them up :/ Regards, Joonas > 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