]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/mm, asm-generic: Add ioremap_wt() for creating Write-Through mappings
authorToshi Kani <toshi.kani@hp.com>
Thu, 4 Jun 2015 16:55:15 +0000 (18:55 +0200)
committerDan Duval <dan.duval@oracle.com>
Tue, 11 Oct 2016 18:13:45 +0000 (14:13 -0400)
commitd51e5ef89c2c3f6c2d11992c6e4437aa35dded1a
tree31003ef5023f415ca9cdacd88c63b0c9dbc97e68
parent0d934d7e1a3ffeb18a01fe0b32c9aa697e49fd48
x86/mm, asm-generic: Add ioremap_wt() for creating Write-Through mappings

Orabug: 22913653

Add ioremap_wt() for creating Write-Through mappings on x86. It
follows the same model as ioremap_wc() for multi-arch support.
Define ARCH_HAS_IOREMAP_WT in the x86 version of io.h to
indicate that ioremap_wt() is implemented on x86.

Also update the PAT documentation file to cover ioremap_wt().

Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Elliott@hp.com
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Luis R. Rodriguez <mcgrof@suse.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: arnd@arndb.de
Cc: hch@lst.de
Cc: hmh@hmh.eng.br
Cc: jgross@suse.com
Cc: konrad.wilk@oracle.com
Cc: linux-mm <linux-mm@kvack.org>
Cc: linux-nvdimm@lists.01.org
Cc: stefan.bader@canonical.com
Cc: yigal@plexistor.com
Link: http://lkml.kernel.org/r/1433436928-31903-8-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(cherry picked from commit d838270e2516db11084bed4e294017eb7b646a75)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
Documentation/x86/pat.txt
arch/x86/include/asm/io.h
arch/x86/mm/ioremap.c
include/asm-generic/io.h
include/asm-generic/iomap.h