All of lore.kernel.org
 help / color / mirror / Atom feed
* - kvm-svm-hack-initial-cpu-csbase-to-be-consistent-with-intel.patch removed from -mm tree
@ 2007-02-12 22:48 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-02-12 22:48 UTC (permalink / raw)
  To: avi, mingo, mm-commits


The patch titled
     kvm: SVM: Hack initial cpu csbase to be consistent with intel
has been removed from the -mm tree.  Its filename was
     kvm-svm-hack-initial-cpu-csbase-to-be-consistent-with-intel.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: kvm: SVM: Hack initial cpu csbase to be consistent with intel
From: Avi Kivity <avi@qumranet.com>

This allows us to run the mmu testsuite on amd.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/kvm/svm.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff -puN drivers/kvm/svm.c~kvm-svm-hack-initial-cpu-csbase-to-be-consistent-with-intel drivers/kvm/svm.c
--- a/drivers/kvm/svm.c~kvm-svm-hack-initial-cpu-csbase-to-be-consistent-with-intel
+++ a/drivers/kvm/svm.c
@@ -528,7 +528,13 @@ static void init_vmcb(struct vmcb *vmcb)
 	save->cs.attrib = SVM_SELECTOR_READ_MASK | SVM_SELECTOR_P_MASK |
 		SVM_SELECTOR_S_MASK | SVM_SELECTOR_CODE_MASK;
 	save->cs.limit = 0xffff;
-	save->cs.base = 0xffff0000;
+	/*
+	 * cs.base should really be 0xffff0000, but vmx can't handle that, so
+	 * be consistent with it.
+	 *
+	 * Replace when we have real mode working for vmx.
+	 */
+	save->cs.base = 0xf0000;
 
 	save->gdtr.limit = 0xffff;
 	save->idtr.limit = 0xffff;
_

Patches currently in -mm which might be from avi@qumranet.com are

origin.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-12 22:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 22:48 - kvm-svm-hack-initial-cpu-csbase-to-be-consistent-with-intel.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.