Displaying 5 results from an estimated 5 matches for "running_on_sev_es".
2020 Feb 13
2
[PATCH 41/62] x86/sev-es: Handle MSR events
...> instructions.
As a general comment on all of these event handlers: Why do we bother
having the hypercalls in the interrupt handler as opposed to just
calling them directly. What you have is:
wrmsr()
-> #VC exception
hcall()
But we could make our rd/wrmsr() wrappers just do:
if (running_on_sev_es())
hcall(HCALL_MSR_WHATEVER...)
else
wrmsr()
and then we don't have any of the nastiness of exception handling.
2020 Feb 13
2
[PATCH 41/62] x86/sev-es: Handle MSR events
...> instructions.
As a general comment on all of these event handlers: Why do we bother
having the hypercalls in the interrupt handler as opposed to just
calling them directly. What you have is:
wrmsr()
-> #VC exception
hcall()
But we could make our rd/wrmsr() wrappers just do:
if (running_on_sev_es())
hcall(HCALL_MSR_WHATEVER...)
else
wrmsr()
and then we don't have any of the nastiness of exception handling.
2020 Feb 14
0
[PATCH 41/62] x86/sev-es: Handle MSR events
...f these event handlers: Why do we bother
> having the hypercalls in the interrupt handler as opposed to just
> calling them directly. What you have is:
>
> wrmsr()
> -> #VC exception
> hcall()
>
> But we could make our rd/wrmsr() wrappers just do:
>
> if (running_on_sev_es())
> hcall(HCALL_MSR_WHATEVER...)
> else
> wrmsr()
>
> and then we don't have any of the nastiness of exception handling.
Yes, investigating this is on the list for future optimizations (besides
caching CPUID results). My idea is to use alternatives patching for
this. But...
2020 Feb 11
83
[RFC PATCH 00/62] Linux as SEV-ES Guest Support
Hi,
here is the first public post of the patch-set to enable Linux to run
under SEV-ES enabled hypervisors. The code is mostly feature-complete,
but there are still a couple of bugs to fix. Nevertheless, given the
size of the patch-set, I think it is about time to ask for initial
feedback of the changes that come with it. To better understand the code
here is a quick explanation of SEV-ES first.
2020 Feb 11
83
[RFC PATCH 00/62] Linux as SEV-ES Guest Support
Hi,
here is the first public post of the patch-set to enable Linux to run
under SEV-ES enabled hypervisors. The code is mostly feature-complete,
but there are still a couple of bugs to fix. Nevertheless, given the
size of the patch-set, I think it is about time to ask for initial
feedback of the changes that come with it. To better understand the code
here is a quick explanation of SEV-ES first.