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

2021-03-24 Thread Borislav Petkov
On Wed, Mar 24, 2021 at 05:18:03PM +0800, Tianjia Zhang wrote: > I'm very sorry that my mistake caused your hurt. You'd have to do a lot more to cause hurt. :-) > Please take time to look at this, which tree this should be picked? Sure. Thx. -- Regards/Gruss, Boris. https://people.kernel

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

2021-03-24 Thread Tianjia Zhang
Hi, On 3/24/21 2:51 AM, Borislav Petkov wrote: On Tue, Mar 23, 2021 at 11:08:25AM +0800, Tianjia Zhang wrote: Take time to look at this. A "please" wouldn't hurt. I'm very sorry that my mistake caused your hurt. Please take time to look at this, which tree this should be picked? Best re

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

2021-03-23 Thread Borislav Petkov
On Tue, Mar 23, 2021 at 11:08:25AM +0800, Tianjia Zhang wrote: > Take time to look at this. A "please" wouldn't hurt. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette

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

2021-03-22 Thread Tianjia Zhang
Hi, On 3/15/21 9:02 PM, Jarkko Sakkinen wrote: On Sun, Mar 14, 2021 at 07:16:21PM +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: Jarkk

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

2021-03-15 Thread Jarkko Sakkinen
On Sun, Mar 14, 2021 at 07:16:21PM +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 > Acked-by: Shuah Khan Sh

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

2021-03-14 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 Reviewed-by: Jarkko Sakkinen Acked-by: Shuah Khan --- tools/testing/selftests/sgx/main.c | 24 1 file ch