lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024082811104609509515@vivo.com>
Date: Wed, 28 Aug 2024 11:11:47 +0800
From: "yikai.lin@...o.com" <yikai.lin@...o.com>
To: "Pu Lehui" <pulehui@...wei.com>
Cc: ast <ast@...nel.org>, 
	daniel <daniel@...earbox.net>, 
	andrii <andrii@...nel.org>, 
	martin.lau <martin.lau@...ux.dev>, 
	eddyz87 <eddyz87@...il.com>, 
	song <song@...nel.org>, 
	yonghong.song <yonghong.song@...ux.dev>, 
	john.fastabend <john.fastabend@...il.com>, 
	kpsingh <kpsingh@...nel.org>, 
	sdf <sdf@...ichev.me>, 
	haoluo <haoluo@...gle.com>, 
	jolsa <jolsa@...nel.org>, 
	mykolal <mykolal@...com>, 
	shuah <shuah@...nel.org>, 
	terrelln <terrelln@...com>, 
	bpf <bpf@...r.kernel.org>, 
	linux-kselftest <linux-kselftest@...r.kernel.org>, 
	linux-kernel <linux-kernel@...r.kernel.org>, 
	opensource.kernel <opensource.kernel@...o.com>
Subject: Re: Re: [PATCH bpf-next v1 1/2] selftests/bpf: Update "vmtest.sh" for cross-compile arm64 on x86_64 host.

On 2024-08-28 at 11:10:38, yikai.lin@...o.com reply: 





>



>On 2024/8/27 21:39, Lin Yikai wrote:



>> Identify "$CROSS_COMPILE" to enable vm_test for cross-compile situation.



>> Additionally, use "-cpu cortex-a57" flag to accommodate the majority of QEMU CPU lists,



>> avoiding using "-cpu host," which can cause qemu_system_aarch64 start failure on x86_64 host.



>> 



>> Signed-off-by: Lin Yikai <yikai.lin@...o.com>



>> ---



>>   tools/testing/selftests/bpf/README.rst | 12 ++++++++-



>>   tools/testing/selftests/bpf/vmtest.sh  | 37 +++++++++++++++++++++-----



>>   2 files changed, 42 insertions(+), 7 deletions(-)



>> 



>Hi Yikai,



>



>Your patch reminds me of a previous commit [0], which was able to 



>support running vmtest in cross platform for all arch.



>



>Link: 



>https://lore.kernel.org/all/20240328124916.293173-2-pulehui@huaweicloud.com/ 



>[0]



>
Hi, lehui, thank you for your reply.
I noticed you patch mainly targeted on riscv64 and also extended support to other ARCH.
While these changes are to have not been merged into the mainline yet.

Becuse currently I want to use and extend BPF on Android.
So my focus is primarily on cross-compiling for arm64 on x86.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ