From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 326D2C43331 for ; Wed, 13 Nov 2019 07:27:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0E2C1207FC for ; Wed, 13 Nov 2019 07:27:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727100AbfKMH1N (ORCPT ); Wed, 13 Nov 2019 02:27:13 -0500 Received: from verein.lst.de ([213.95.11.211]:60824 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbfKMH1M (ORCPT ); Wed, 13 Nov 2019 02:27:12 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id AB14268BE1; Wed, 13 Nov 2019 08:27:08 +0100 (CET) Date: Wed, 13 Nov 2019 08:27:08 +0100 From: Christoph Hellwig To: Luis Chamberlain Cc: Daniel Vetter , Juergen Gross , Christoph Hellwig , Tuowen Zhao , AceLan Kao , Mika Westerberg , Andy Shevchenko , Roman Gilg , Lee Jones , "Luis R. Rodriguez" , Arnd Bergmann , 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: <20191113072708.GA3213@lst.de> References: <20191111192258.2234502-1-arnd@arndb.de> <20191112105507.GA7122@lst.de> <20191112140631.GA10922@lst.de> <20191112222423.GO11244@42.do-not-panic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191112222423.GO11244@42.do-not-panic.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Wed, 13 Nov 2019 07:27:08 +0000 Subject: Re: [PATCH] video: fbdev: atyfb: only use ioremap_uc() on i386 and ia64 Message-Id: <20191113072708.GA3213@lst.de> List-Id: References: <20191111192258.2234502-1-arnd@arndb.de> <20191112105507.GA7122@lst.de> <20191112140631.GA10922@lst.de> <20191112222423.GO11244@42.do-not-panic.com> In-Reply-To: <20191112222423.GO11244@42.do-not-panic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Luis Chamberlain Cc: Daniel Vetter , Juergen Gross , Christoph Hellwig , Tuowen Zhao , AceLan Kao , Mika Westerberg , Andy Shevchenko , Roman Gilg , Lee Jones , "Luis R. Rodriguez" , Arnd Bergmann , Bartlomiej Zolnierkiewicz , X86 ML , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , linux-ia64@vger.kernel.org, Tony Luck , Fenghua Yu , Maarten Lankhorst 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] video: fbdev: atyfb: only use ioremap_uc() on i386 and ia64 Date: Wed, 13 Nov 2019 08:27:08 +0100 Message-ID: <20191113072708.GA3213@lst.de> References: <20191111192258.2234502-1-arnd@arndb.de> <20191112105507.GA7122@lst.de> <20191112140631.GA10922@lst.de> <20191112222423.GO11244@42.do-not-panic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20191112222423.GO11244@42.do-not-panic.com> Sender: linux-kernel-owner@vger.kernel.org To: Luis Chamberlain Cc: Daniel Vetter , Juergen Gross , Christoph Hellwig , Tuowen Zhao , AceLan Kao , Mika Westerberg , Andy Shevchenko , Roman Gilg , Lee Jones , "Luis R. Rodriguez" , Arnd Bergmann , Bartlomiej Zolnierkiewicz , X86 ML , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , linux-ia64@vger.kernel.org, Tony Luck , Fenghua Yu , Maarten Lankhorst List-Id: dri-devel@lists.freedesktop.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Wed, 13 Nov 2019 07:27:08 +0000 Subject: Re: [PATCH] video: fbdev: atyfb: only use ioremap_uc() on i386 and ia64 Message-Id: <20191113072708.GA3213@lst.de> List-Id: References: <20191111192258.2234502-1-arnd@arndb.de> <20191112105507.GA7122@lst.de> <20191112140631.GA10922@lst.de> <20191112222423.GO11244@42.do-not-panic.com> In-Reply-To: <20191112222423.GO11244@42.do-not-panic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Luis Chamberlain Cc: Daniel Vetter , Juergen Gross , Christoph Hellwig , Tuowen Zhao , AceLan Kao , Mika Westerberg , Andy Shevchenko , Roman Gilg , Lee Jones , "Luis R. Rodriguez" , Arnd Bergmann , 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 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.