projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/sev-es: Handle RDTSC(P) Events
[linux-2.6-microblaze.git]
/
arch
/
x86
/
boot
/
compressed
/
sev-es.c
diff --git
a/arch/x86/boot/compressed/sev-es.c
b/arch/x86/boot/compressed/sev-es.c
index
b1790f4
..
5f15e58
100644
(file)
--- a/
arch/x86/boot/compressed/sev-es.c
+++ b/
arch/x86/boot/compressed/sev-es.c
@@
-181,6
+181,10
@@
void do_boot_stage2_vc(struct pt_regs *regs, unsigned long exit_code)
goto finish;
switch (exit_code) {
+ case SVM_EXIT_RDTSC:
+ case SVM_EXIT_RDTSCP:
+ result = vc_handle_rdtsc(boot_ghcb, &ctxt, exit_code);
+ break;
case SVM_EXIT_IOIO:
result = vc_handle_ioio(boot_ghcb, &ctxt);
break;