Re: [PATCH v4 1/5] selftests/x86: Use getauxval() to simplify the code in sgx

2021-02-12 Thread Jarkko Sakkinen
On Mon, Feb 08, 2021 at 05:09:21PM -0700, Shuah Khan wrote: > On 2/2/21 3:02 PM, Jarkko Sakkinen wrote: > > On Mon, Feb 01, 2021 at 09:26:49PM +0800, Tianjia Zhang wrote: > > > Simplify the sgx code implemntation by using library function > > > getauxval() instead of a custom function to get the

Re: [PATCH v4 1/5] selftests/x86: Use getauxval() to simplify the code in sgx

2021-02-08 Thread Shuah Khan
On 2/2/21 3:02 PM, Jarkko Sakkinen wrote: On Mon, Feb 01, 2021 at 09:26:49PM +0800, Tianjia Zhang wrote: Simplify the sgx code implemntation by using library function getauxval() instead of a custom function to get the base address of vDSO. Signed-off-by: Tianjia Zhang Reviewed-by: Jarkko

Re: [PATCH v4 1/5] selftests/x86: Use getauxval() to simplify the code in sgx

2021-02-02 Thread Jarkko Sakkinen
On Mon, Feb 01, 2021 at 09:26:49PM +0800, Tianjia Zhang wrote: > Simplify the sgx code implemntation by using library function > getauxval() instead of a custom function to get the base address > of vDSO. > > Signed-off-by: Tianjia Zhang Reviewed-by: Jarkko Sakkinen This needs also ack from

[PATCH v4 1/5] selftests/x86: Use getauxval() to simplify the code in sgx

2021-02-01 Thread Tianjia Zhang
Simplify the sgx code implemntation by using library function getauxval() instead of a custom function to get the base address of vDSO. Signed-off-by: Tianjia Zhang --- tools/testing/selftests/sgx/main.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git