lkml.org 
[lkml]   [2021]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC v2 08/32] x86/traps: Add #VE support for TDX guest
From
Date

On 6/8/2021 11:15 AM, Dave Hansen wrote:
> On 6/8/21 11:12 AM, Andi Kleen wrote:
>> I believe neither does mmio/msr normally (except maybe
>> ftrace+tp_printk, but that will likely work because it shouldn't
>> recurse more than once due to ftrace's reentry protection)
> Can it do MMIO:
>
>> +DEFINE_IDTENTRY(exc_virtualization_exception)
>> +{
> =======> HERE
>> + ret = tdg_get_ve_info(&ve);
> Recursion isn't the problem. It would double-fault there, right?

Yes that's right. tp_printk already has a lot of other corner cases that
break though, so it's not a real issue.

-Andi

\
 
 \ /
  Last update: 2021-06-08 20:18    [W:0.230 / U:4.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site