Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2257230ybc; Wed, 13 Nov 2019 11:24:52 -0800 (PST) X-Google-Smtp-Source: APXvYqwVEjpBFZx5dRGS2ibnckiG2cn6wTusluc5t3dJcfwrmO+xZDKyF+kpwyTZvd3Rh7Y/CBq2 X-Received: by 2002:aa7:db52:: with SMTP id n18mr5322866edt.169.1573673092789; Wed, 13 Nov 2019 11:24:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573673092; cv=none; d=google.com; s=arc-20160816; b=f4oLw5H8wsUFXm1BgtmtMwzgCFhx01N+l95IzrAr9gy5D7Vv/GowlkQzGkMTV5Vfyp fR63b/4X2/T7CqhvoBCGfmXGsKtewA5HAbufkRYGl+mpGkTfA1U5zEad4kc5DIU2KpvW hh/cdPTUpxSQ6D5OqxKHzeq2o+jto9Gr/pqY3GzPxDOqDfculHcCk3bzamRKJdwrHDqW 0y6k/WaBXJvL544Im171oLZo/MyzIZYQzPgu2bVAnnzbnX/41LE3ZUwdeezWXwM0cguO FLTBfN5GfnKd1i8DkOFYedzFXnPdK9smhssHAf9WVX4ceA6c4TLUPmJJ7TfAz5W+pHB6 yXMQ== 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; bh=ytOa/TRpYZHcXnwihJ6zpPIzYpkWSN253EE1mDAjXKo=; b=IX43MpO+YrpbuDbUt4Lu29srA/69szELPhToAcFkw7tIFKkt2f31UEG25g1O3KZoPD uvuMKaTHAkWgIcfLhOM6wJkYJOupe4BUFltxRLjyz77p0XbN+W7CK1DzMyLrHaZlsqNs 2QA+pzWvnhvwLBX3u2xQPoJYfZov/e2ec6hd7ruLoBSLB1kumQIvomTjY/KGjVyZ87dX UM++5poTkuYknK7HkBx3GFG8odmO7L+ICe+dfZwpE0BxWblwgDj3l4f58zq1gzIjbF9Y j16TJoZ2isD6DltqjL0+mFkB/vk57J9WWyJ4lBvqzc9PmmNYG8zn+ukRS7HZ+A2tmmT+ WyOw== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v1si2069321edm.285.2019.11.13.11.24.28; Wed, 13 Nov 2019 11:24:52 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728262AbfKMSpI (ORCPT + 99 others); Wed, 13 Nov 2019 13:45:08 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:35021 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727054AbfKMSpI (ORCPT ); Wed, 13 Nov 2019 13:45:08 -0500 Received: by mail-pf1-f193.google.com with SMTP id q13so2242802pff.2; Wed, 13 Nov 2019 10:45:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ytOa/TRpYZHcXnwihJ6zpPIzYpkWSN253EE1mDAjXKo=; b=sQyexlwAOOOOJjs6JytY1RmDs1L97RiDZ4+TprM0G9qxAsmXXJ/vdBH953oW7QdsDx nCNQhPIy6ef6r+JRrQqFjaUYwxnXf8Dum7BAYt/z7spYKiqP1l8vIOQ40FpcAKiJ7RL4 /DU38NeMr6Q8p0nLWTzRk80RmpLfp55SvVHVRx/TwN92Bip/AD5XNVE1MV86gN3BJg17 uILcZ45cavMR9WAeTwbbedH2I+9dCNrcrXa0BLGhgLiUer6RF3/1ZfYK+0dPlAbgDqDx xNwlWKSUf4vn4K4I6DDAhtkuOaLuG48ttn5w+ukMyUG76VgW6uxfdSLsWs/vRVulqF3f 313Q== X-Gm-Message-State: APjAAAWwZTnuWB4yOxVq/N5lKqLhof9JpeJP6Y6pcoAlkj9QJ5ndUIEX XGlMa/wt/ZIQTH6fOkVbxTY= X-Received: by 2002:aa7:9d8b:: with SMTP id f11mr6212536pfq.20.1573670707173; Wed, 13 Nov 2019 10:45:07 -0800 (PST) Received: from 42.do-not-panic.com (42.do-not-panic.com. [157.230.128.187]) by smtp.gmail.com with ESMTPSA id 21sm4273627pfa.170.2019.11.13.10.45.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2019 10:45:06 -0800 (PST) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id 68732403DC; Wed, 13 Nov 2019 18:45:05 +0000 (UTC) Date: Wed, 13 Nov 2019 18:45:05 +0000 From: Luis Chamberlain To: Andy Shevchenko Cc: Arnd Bergmann , Christoph Hellwig , Daniel Vetter , Juergen Gross , Tuowen Zhao , AceLan Kao , Mika Westerberg , Roman Gilg , Lee Jones , "Luis R. Rodriguez" , Bartlomiej Zolnierkiewicz , X86 ML , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , linux-ia64@vger.kernel.org, Tony Luck , Fenghua Yu , Maarten Lankhorst , Souptick Joarder , dri-devel , Linux Fbdev development list , Linux Kernel Mailing List Subject: Re: [PATCH] video: fbdev: atyfb: only use ioremap_uc() on i386 and ia64 Message-ID: <20191113184505.GW11244@42.do-not-panic.com> References: <20191111192258.2234502-1-arnd@arndb.de> <20191112105507.GA7122@lst.de> <20191112140631.GA10922@lst.de> <20191112222423.GO11244@42.do-not-panic.com> <20191113072708.GA3213@lst.de> <20191113093154.GB32742@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191113093154.GB32742@smile.fi.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 13, 2019 at 11:31:54AM +0200, Andy Shevchenko wrote: > On Wed, Nov 13, 2019 at 08:38:15AM +0100, Arnd Bergmann wrote: > > On Wed, Nov 13, 2019 at 8:27 AM Christoph Hellwig wrote: > > > > > > On Tue, Nov 12, 2019 at 10:24:23PM +0000, Luis Chamberlain wrote: > > > > I think this would be possible if we could flop ioremap_nocache() to UC > > > > instead of UC- on x86. Otherwise, I can't see how we can remove this by > > > > still not allowing direct MTRR calls. > > > > > > If everything goes well ioremap_nocache will be gone as of 5.5. > > > > As ioremap_nocache() just an alias for ioremap(), I suppose the idea would > > then be to make x86 ioremap be UC instead of UC-, again matching what the > > other architectures do already. > > I think it's right thing to do, i.e. assume that ioremap() always does strong > UC independently on MTRR settings. Agreed wholeheartedly. What are the blockers from making that happen? Do we have any left? Luis