Displaying 3 results from an estimated 3 matches for "start_svm".
Did you mean:
start_sem
2013 Apr 19
0
[PATCH] x86/HVM: move per-vendor function tables into .init.data
...printk(", 1GB%s", opt_hap_1gb ? "" : " [disabled]");
printk("\n");
}
--- a/xen/arch/x86/hvm/svm/svm.c
+++ b/xen/arch/x86/hvm/svm/svm.c
@@ -1236,7 +1236,7 @@ static int svm_cpu_up(void)
return 0;
}
-struct hvm_function_table * __init start_svm(void)
+const struct hvm_function_table * __init start_svm(void)
{
bool_t printed = 0;
@@ -1961,7 +1961,7 @@ static void svm_invlpg_intercept(unsigne
svm_asid_g_invlpg(curr, vaddr);
}
-static struct hvm_function_table __read_mostly svm_function_table = {
+static struct hvm_function_t...
2007 Sep 13
3
Hardware Assisted Paging Param and Message
This patch changes hap parameter from boolean to integer. So users can
disable and enable hap using "hap=0" and "hap=1". It also prints out
nested paging message under SVM.
Signed-off-by: Wei Huang <wei.huang2@amd.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Aug 09
1
[PATCH] svm: allow guest to use EFER.FFXSE and EFER.LMSLE
...EFER_NX | EFER_SCE)) ||
+ (!cpu_has_lmsl && (msr_content & EFER_LMSLE)) ||
+ (!cpu_has_ffxsr && (msr_content & EFER_FFXSE)) ||
#else
if ( (msr_content & ~(EFER_NX | EFER_SCE)) ||
#endif
@@ -1044,6 +1052,21 @@ int start_svm(struct cpuinfo_x86 *c)
/* Initialize core''s ASID handling. */
svm_asid_init(c);
+#ifdef __x86_64__
+ /*
+ * Check whether EFER.LMSLE can be written.
+ * Unfortunately there''s no feature bit defined for this.
+ */
+ eax = read_efer();
+ edx = read_e...