From: Andy Shevchenko Subject: Re: [PATCH] video: fbdev: atyfb: only use ioremap_uc() on i386 and ia64 Date: Wed, 13 Nov 2019 11:31:54 +0200 Message-ID: <20191113093154.GB32742@smile.fi.intel.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann Cc: Christoph Hellwig , Luis Chamberlain , 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 List-Id: dri-devel@lists.freedesktop.org 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. -- With Best Regards, Andy Shevchenko