aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/x86/pat.txt
diff options
context:
space:
mode:
authorToshi Kani <toshi.kani@hp.com>2015-06-04 12:55:15 -0400
committerIngo Molnar <mingo@kernel.org>2015-06-07 09:28:56 -0400
commitd838270e2516db11084bed4e294017eb7b646a75 (patch)
tree5c2beb8e62d8d37a379160522bd2040c7dade7f0 /Documentation/x86/pat.txt
parentecb2febaaa3945e1578359adc30ca818e78540fb (diff)
x86/mm, asm-generic: Add ioremap_wt() for creating Write-Through mappings
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>
Diffstat (limited to 'Documentation/x86/pat.txt')
-rw-r--r--Documentation/x86/pat.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/x86/pat.txt b/Documentation/x86/pat.txt
index 521bd8adc3b8..db0de6cfc351 100644
--- a/Documentation/x86/pat.txt
+++ b/Documentation/x86/pat.txt
@@ -12,7 +12,7 @@ virtual addresses.
12 12
13PAT allows for different types of memory attributes. The most commonly used 13PAT allows for different types of memory attributes. The most commonly used
14ones that will be supported at this time are Write-back, Uncached, 14ones that will be supported at this time are Write-back, Uncached,
15Write-combined and Uncached Minus. 15Write-combined, Write-through and Uncached Minus.
16 16
17 17
18PAT APIs 18PAT APIs
@@ -40,6 +40,8 @@ ioremap_nocache | -- | UC- | UC- |
40 | | | | 40 | | | |
41ioremap_wc | -- | -- | WC | 41ioremap_wc | -- | -- | WC |
42 | | | | 42 | | | |
43ioremap_wt | -- | -- | WT |
44 | | | |
43set_memory_uc | UC- | -- | -- | 45set_memory_uc | UC- | -- | -- |
44 set_memory_wb | | | | 46 set_memory_wb | | | |
45 | | | | 47 | | | |