Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964932AbbDUVQe (ORCPT ); Tue, 21 Apr 2015 17:16:34 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50340 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933678AbbDUVQ0 (ORCPT ); Tue, 21 Apr 2015 17:16:26 -0400 X-Sieve: CMU Sieve 2.3 X-Spam_ID: str=0001.0A010205.5536B2CC.007B,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-GWAVADAT: Nz3Y+9Y1LlxiVJ8W556538ba3da08fbbfcebea1a335bf4f870da1244acca8becadaae5f22e7ecb1017boib3.17boib3.v6 From: "Luis R. Rodriguez" To: mingo@elte.hu, tglx@linutronix.de, hpa@zytor.com, syrjala@sci.fi, plagnioj@jcrosoft.com, tomi.valkeinen@ti.com Cc: linux-fbdev@vger.kernel.org, luto@amacapital.net, mst@redhat.com, cocci@systeme.lip6.fr, "Luis R. Rodriguez" Subject: [PATCH v3 0/6] x86: document and address MTRR corner cases Date: Tue, 21 Apr 2015 13:26:04 -0700 Message-Id: <1429647970-17479-1-git-send-email-mcgrof@do-not-panic.com> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1762 Lines: 42 From: "Luis R. Rodriguez" As we phase out MTRR we need to also prepare for the flip of the default ioremap() behaviour from UC- to strong UC. There are a few remaining drivers which does not allow us to make a smooth transition over and which do not allow us to remove MTRR use. The atyfb is a good example driver and this series addresses the work required to avoid such regressions and cover MTRR size contraint use cases. This series also documents what we've learned along on the way in order to address removal of MTRR use and its corner cases. Luis R. Rodriguez (6): x86: add ioremap_uc() - force strong UC, PCD=1, PWT=1 x86: document WC MTRR effects on PAT / non-PAT pages video: fbdev: atyfb: move framebuffer length fudging to helper video: fbdev: atyfb: clarify ioremap() base and length used video: fbdev: atyfb: replace MTRR UC hole with strong UC video: fbdev: atyfb: use arch_phys_wc_add() and ioremap_wc() Documentation/x86/mtrr.txt | 18 +++++-- Documentation/x86/pat.txt | 40 ++++++++++++++- arch/x86/include/asm/io.h | 1 + arch/x86/kernel/cpu/mtrr/main.c | 3 ++ arch/x86/mm/ioremap.c | 36 ++++++++++++- arch/x86/mm/pageattr.c | 3 ++ drivers/video/fbdev/aty/atyfb.h | 5 +- drivers/video/fbdev/aty/atyfb_base.c | 98 ++++++++++++++---------------------- include/asm-generic/io.h | 8 +++ 9 files changed, 143 insertions(+), 69 deletions(-) -- 2.3.2.209.gd67f9d5.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/