Re: [PATCH] [v2] x86/sgx: Allow enclaves to use Asynchrounous Exit Notification
From: Huang, Kai
Date: Wed Aug 17 2022 - 22:43:37 EST
On Thu, 2022-08-11 at 01:57 +0000, Huang, Kai wrote:
> > On Wed, Aug 10, 2022 at 10:17:31AM +0000, Huang, Kai wrote:
> > > On Tue, 2022-08-02 at 14:21 +1200, Kai Huang wrote:
> > > > >
> > > > > Tested-by: Haitao Huang <haitao.huang@xxxxxxxxx>
> > > > >
> > > > > Thanks
> > > > > Haitao
> > > >
> > > > Hi Haitao,
> > > >
> > > > Could you also help to test in a VM?
> > > >
> > > > You will also need below patch in order to use EDECCSSA in the guest:
> > > >
> > > > https://lore.kernel.org/lkml/20220727115442.464380-1-kai.huang@intel
> > > > .com/
> > > >
> > > > When you create the VM, please use -cpu host.
> > > >
> > >
> > > Hi Haitao,
> > >
> > > Do you have any update?
> > >
> > > If it's not easy for you to verify in VM, could you let me know how to
> > > set up the testing machine so I can have a try?
> >
> > I can give ack for this, given that it is so obvious:
> >
> > Acked-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
> >
> > Would give reviewed-by if there was ucode update available, and I could test
> > this.
> >
>
> I don't know whether there's ucode update available. Maybe Haitao has more
> information.
>
> I talked to Haitao and I'll try to verify this in a VM.
>
Together with the patch to expose EDECCSSA to guest:
https://lore.kernel.org/linux-sgx/20220818023829.1250080-1-kai.huang@xxxxxxxxx/T/#u
I have tested both AEX-notify and EDECCSSA work in KVM guest. So:
Tested-by: Kai Huang <kai.huang@xxxxxxxxx>
--
Thanks,
-Kai