Re: [PATCH v29 14/20] x86/sgx: ptrace() support for the SGX driver
From: Jarkko Sakkinen
Date: Wed May 13 2020 - 17:41:10 EST
On Wed, May 06, 2020 at 02:50:48PM -0700, Sean Christopherson wrote:
> On Wed, Apr 22, 2020 at 12:53:10AM +0300, Jarkko Sakkinen wrote:
> > Add VMA callbacks for ptrace() that can be used with debug enclaves.
> > With debug enclaves data can be read and write the memory word at a time
> > by using ENCLS(EDBGRD) and ENCLS(EDBGWR) leaf instructions.
> >
> > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
> > ---
> > arch/x86/kernel/cpu/sgx/encl.c | 88 ++++++++++++++++++++++++++++++++++
> > 1 file changed, 88 insertions(+)
> >
> > diff --git a/arch/x86/kernel/cpu/sgx/encl.c b/arch/x86/kernel/cpu/sgx/encl.c
> > index fe7dbca40bb4..0c5ea2968868 100644
> > --- a/arch/x86/kernel/cpu/sgx/encl.c
> > +++ b/arch/x86/kernel/cpu/sgx/encl.c
> > @@ -326,6 +326,7 @@ int sgx_encl_may_map(struct sgx_encl *encl, unsigned long start,
> > return 0;
> > }
> >
> > +
>
> Unnecessary whitespace change.
Would not update series just for this. If something else, will fix this
one.
/Jarkko