Re: [PATCH 0/5] Enable some configs in loongson3_defconfig

From: Tiezhu Yang
Date: Fri May 09 2025 - 11:11:18 EST


On 5/7/25 12:24, Huacai Chen wrote:
...

Have you tried (both OpenSSL)

sudo ./perf probe -x /usr/lib64/libcrypto.so BN_mod_mul_montgomery
sudo ./perf stat -e probe_libcrypto:BN_mod_mul_montgomery openssl speed sm2

or (both Tongsuo)

sudo ./perf probe -x /opt/tongsuo/lib/libcrypto.so BN_mod_mul_montgomery
sudo ./perf stat -e probe_libcrypto:BN_mod_mul_montgomery
/opt/tongsuo/bin/openssl speed sm2

and still success?

I tried, and both got a SIGTRAP or system hang.

I can reproduce it now and have a draft patch to fix it.

I am busy with some emergency stuff recently and will send
the formal patch as soon as I have some free time to make
a proper commit message.

Thanks,
Tiezhu