Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp167092ybl; Mon, 2 Dec 2019 09:03:34 -0800 (PST) X-Google-Smtp-Source: APXvYqxfXXKs1tOgSCms3BFnTiDV7nanYA3ZpH11xu58GUO1NwrvyHsq/bAgMae0e2C82rA6n5f7 X-Received: by 2002:a7b:c055:: with SMTP id u21mr30674332wmc.55.1575306213880; Mon, 02 Dec 2019 09:03:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575306213; cv=none; d=google.com; s=arc-20160816; b=KinMiHoQQdQzpGZzEsU20H3olsxKmNZondlAHnUTyC83PBsgZDTS0ZHVaJ63WeDFhN WOZakKIDuo5mke3W+FZg7g5xyrIKVhkMqeVCcV4hzQ//VjarXjt8vqPEcHvy6+zbjgiN Es/lGp8XRTKNnKZ5UvNbJsUrL5M4YGJH5Q4KSPON8BJnOtqTleG1YZDASU3pIB9ph1fC MMipx2i7wsyIvJsQvAQ6YU7gStNxr5ojREEyhyiLTfVJRtFgKjwnsm1y6sBVQvWIyukU KH+VdtM6hSeAjwHwoO7IE7NzkwvZjF7TGdHpyjxVSTdO4Q/sXpra6CW/IOw2PUBjKeNr KAAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=G2ll8x21H3OwfR6X73OWEUXv71XKn2fRqBpOxb8mfV8=; b=lQttUNUmR8nn6NQUZczGCnmlvHx6S03j53vb1QXhJVmfAG+SV9tzKfdU8gcmEHRVH8 qZTPsrRKbwWhUzBIExJARL5v/7Je/kVqiS9R2CQq3XNVyhvNQ+riTMCWgVtgDiEhwffR Jt1qBIeYFjOjMq1NmdRySFIl+JWieWbEhfVn7aOkGYVjrAhXiAoVBdJq5375AL81vLkE eEowNUFmNq4/EcLTu4jDgqB1Tu9h6U2ST78pfeAusFPDuZ+Oetfal4GOVghgDiP2sEFN IJ6PHw3goZujVRK6P0Qbsf2FhfQrBwPQHx0oAVjHMhZFe5c03VLUAZeai2GrvP9rWQMT uuPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=jin1Ceu8; 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 dk13si16919369edb.422.2019.12.02.09.02.57; Mon, 02 Dec 2019 09:03:33 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=jin1Ceu8; 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 S1727698AbfLBRAQ (ORCPT + 99 others); Mon, 2 Dec 2019 12:00:16 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:39990 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727493AbfLBRAQ (ORCPT ); Mon, 2 Dec 2019 12:00:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=G2ll8x21H3OwfR6X73OWEUXv71XKn2fRqBpOxb8mfV8=; b=jin1Ceu89T016/r57qJ2013T1 hr1+t0iWlp+orW8JGDLHPv23c8AqgtSjLpocGr/ZnxxnFPEr74z/yAfYrJYh6c097LzAzkhZb+CRW iZpTGwMLzjCXcK90KmToPX6phwgXBVCTTpAIDVhcL4kmMwKb23mqiUrL5xWRAoJD3Kkk//jAYfqFH zt0ZtF+d8xP5Kp8S2ve+ptn9bOC1kWdkBeaI6set11hILW3ZWuNX8VguaykW67r3nZZrfRPhPvOmJ G4M94kGTyCgt81ywBOrEXIo6VSlxxmeRzQi/yhZf+S6Gq6nvcYSVJXMPb148ryREcJHx4jwPvMbOw MCiah4RJQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1ibp3T-0000jZ-A1; Mon, 02 Dec 2019 17:00:11 +0000 Date: Mon, 2 Dec 2019 09:00:11 -0800 From: Christoph Hellwig To: Kai-Heng Feng Cc: joro@8bytes.org, Alex Deucher , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] iommu/amd: Disable IOMMU on Stoney Ridge systems Message-ID: <20191202170011.GC30032@infradead.org> References: <20191129142154.29658-1-kai.heng.feng@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191129142154.29658-1-kai.heng.feng@canonical.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 29, 2019 at 10:21:54PM +0800, Kai-Heng Feng wrote: > Serious screen flickering when Stoney Ridge outputs to a 4K monitor. > > According to Alex Deucher, IOMMU isn't enabled on Windows, so let's do > the same here to avoid screen flickering on 4K monitor. Disabling the IOMMU entirely seem pretty severe. Isn't it enough to identity map the GPU device?