diff options
| author | Toshi Kani <[email protected]> | 2015-06-04 16:55:13 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-06-07 13:28:55 +0000 |
| commit | 0d69bdff451a10aa48f80509e8bf18fb24683c06 (patch) | |
| tree | 2bbc125e72acc87da9e1fb3dd26f164ea8b43954 /lib/mpi/mpicoder.c | |
| parent | x86/mm/pat: Use 7th PAT MSR slot for Write-Through PAT type (diff) | |
| download | kernel-0d69bdff451a10aa48f80509e8bf18fb24683c06.tar.gz kernel-0d69bdff451a10aa48f80509e8bf18fb24683c06.zip | |
x86/mm/pat: Change reserve_memtype() for Write-Through type
When a target range is in RAM, reserve_ram_pages_type() verifies
the requested type. Change it to fail WT and WP requests with
-EINVAL since set_page_memtype() is limited to handle three
types: WB, WC and UC-.
Signed-off-by: Toshi Kani <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: [email protected]
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Luis R. Rodriguez <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: linux-mm <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
