]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MTRR: introduce mtrr_for_each_mem_type
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Mon, 15 Jun 2015 08:55:33 +0000 (16:55 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Jun 2015 15:16:29 +0000 (17:16 +0200)
commit91074c7c5e6f430fc8769029d57f01a89ae5a6ea
tree8675c45ba51256fbbc78c65d39d8bff78acf8263
parentb65c06b0e76e7c67a9b1ded82061f8539e2c35dd
KVM: MTRR: introduce mtrr_for_each_mem_type

It walks all MTRRs and gets all the memory cache type setting for the
specified range also it checks if the range is fully covered by MTRRs

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
[Adjust for range_size->range_shift change. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mtrr.c