lkml.org 
[lkml]   [2023]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v12 20/22] x86/virt/tdx: Allow SEAMCALL to handle #UD and #GP
On Fri, Jun 30, 2023 at 12:07:00PM +0200, Peter Zijlstra wrote:
> On Thu, Jun 29, 2023 at 10:33:38AM +0000, Huang, Kai wrote:

> > Looking at the later versions of TDX spec (with TD live migration, etc), it
> > seems they are already using R12-R13 as SEAMCALL output:
> >
> > https://cdrdv2.intel.com/v1/dl/getContent/733579
>
> Urgh.. I think I read an older versio because I got bleeding eyes from
> all this colour coded crap.
>
> All this red is unreadable :-( Have they been told about the glories of
> TeX and diff ?
>
> > E.g., 6.3.15. NEW: TDH.IMPORT.MEM Leaf
> >
> > It uses R12 and R13 as input.
>
> 12 and 14. They skipped 13 for some mysterious raisin.

Things like TDH.SERVTD.BIND do use R13.

> But also, 10,11 are frequently used as input with this new stuff, which
> already suggests the setup from your patches is not tenable.


TDG.SERVTD.RD *why* can't they pass that TD_UUID as a pointer? Using *4*
registers like that is quite insane.

TDG.VP.ENTER :-(((( that has b,15,si,di as additional output.

That means there's not a single register left unused. Can we still get
this changed, please?!?


\
 
 \ /
  Last update: 2023-06-30 12:22    [W:0.507 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site