[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191113093154.GB32742@smile.fi.intel.com>
Date: Wed, 13 Nov 2019 11:31:54 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Christoph Hellwig <hch@....de>,
Luis Chamberlain <mcgrof@...nel.org>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Juergen Gross <jgross@...e.com>,
Tuowen Zhao <ztuowen@...il.com>,
AceLan Kao <acelan.kao@...onical.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Roman Gilg <subdiff@...il.com>,
Lee Jones <lee.jones@...aro.org>,
"Luis R. Rodriguez" <mcgrof@...e.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
X86 ML <x86@...nel.org>, Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>, linux-ia64@...r.kernel.org,
Tony Luck <tony.luck@...el.com>,
Fenghua Yu <fenghua.yu@...el.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Souptick Joarder <jrdr.linux@...il.com>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Linux Fbdev development list <linux-fbdev@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] video: fbdev: atyfb: only use ioremap_uc() on i386 and
ia64
On Wed, Nov 13, 2019 at 08:38:15AM +0100, Arnd Bergmann wrote:
> On Wed, Nov 13, 2019 at 8:27 AM Christoph Hellwig <hch@....de> 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
Powered by blists - more mailing lists