Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760039AbcCDTXf (ORCPT ); Fri, 4 Mar 2016 14:23:35 -0500 Received: from mx2.suse.de ([195.135.220.15]:47608 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758765AbcCDTXd (ORCPT ); Fri, 4 Mar 2016 14:23:33 -0500 Date: Fri, 4 Mar 2016 20:23:26 +0100 From: "Luis R. Rodriguez" To: "Paul E. McKenney" Cc: "Luis R. Rodriguez" , bp@alien8.de, mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, toshi.kani@hp.com, airlied@redhat.com, benh@kernel.crashing.org, mst@redhat.com, vinod.koul@intel.com, jgross@suse.com, daniel.vetter@ffwll.ch, luto@amacapital.net, linux-fbdev@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, linux-doc@vger.kernel.org, corbet@lwn.net Subject: Re: [PATCH] x86: PAT: Documentation: update overlapping ioremap hack recommendation Message-ID: <20160304192326.GU25240@wotan.suse.de> References: <1457040108-27358-1-git-send-email-mcgrof@kernel.org> <20160303214233.GN3577@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160303214233.GN3577@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 24 On Thu, Mar 03, 2016 at 01:42:33PM -0800, Paul E. McKenney wrote: > On Thu, Mar 03, 2016 at 01:21:48PM -0800, Luis R. Rodriguez wrote: > > The current documentation refers to using set_memor_wc() as a > > possible hole strategy when you have overlapping ioremap() regions, > > that's incorrect as set_memory_*() helpers can only be used on RAM, > > not IO memory. This fixes that, and updates the documention to > > *strongly* discourage overlapping ioremap() memory uses, but also > > documents a possible solution should there really be no other > > option. > > > > Signed-off-by: Luis R. Rodriguez > > Given an Acked-by or better from the guys on the TO line, I would be > happy to queue it. I'll need to respin as fortunately I ended up actually not needing to do an overlap on atyfb, and instead just let MTRR be effective over an entire range that included both write-combining and strong UC attributes. It was a bit fuzzy as this while ago, and since its also obscure, its more reason to document now. Will spin a v2. Luis