https://github.com/torvalds/linux
Revision 8c7bb723b4e36dbd4b144176116d126104dc65e0 authored by Avi Kivity on 13 December 2006, 08:34:02 UTC, committed by Linus Torvalds on 13 December 2006, 17:05:47 UTC
The pcd, pwt, and pat bits on page table entries affect the cpu cache.  Since
the cache is a host resource, the guest should not be able to control it.
Moreover, the meaning of these bits changes depending on whether pat is
enabled or not.

So, force these bits to zero on shadow page table entries at all times.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 0770b19
History
Tip revision: 8c7bb723b4e36dbd4b144176116d126104dc65e0 authored by Avi Kivity on 13 December 2006, 08:34:02 UTC
[PATCH] KVM: MMU: Ignore pcd, pwt, and pat bits on ptes
Tip revision: 8c7bb72
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 547 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 75.1 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top