chLFF

Results 7 comments of chLFF

Linux kernel 6.6.36 on SpacemiT K1. I compile and run `riscv_feature.c` as a demo, but it looks just fine. (Zbc detection is only used in demo, not in libz.) ```c...

SSH connection to the RISC-V board using `-C` shows the same problem as asyncssh. ``` ~ % ssh -C board@ip board@ip's password: Connection closed by ip port 22 ``` The...

Things also happend on Linux kernel 6.1. 6.1 won't run into runtime check, so i assume that something is wrong with `is_kernel_version_greater_or_equal_to_6_5()`. Then i force feature checking in compile time...

@phprus The replacement you mentioned in https://github.com/zlib-ng/zlib-ng/issues/1769#issuecomment-2311797756 is basically the same as my modification in https://github.com/zlib-ng/zlib-ng/issues/1769#issuecomment-2312001069. They both make connection work (with `-DWITH_RUNTIME_CPU_DETECTION=on`). And thanks for reminding me. With `-DWITH_RVV=off...

> @chLFF > > If your CPU supports RVV, please replace the `riscv_check_features` function ( > > https://github.com/zlib-ng/zlib-ng/blob/5b04d9ce043d1b690a648e335fd11aac71d91e6f/arch/riscv/riscv_features.c#L47-L52 > > ) with: > ```c > void Z_INTERNAL riscv_check_features(struct riscv_cpu_features *features)...

@phprus Thanks very much, i got it. We do have rvv feature and rvv is turned on and thing goes well. So that there is no problem with RISC-V zlib-ng...

Issue still exists in 2.2.4. Here is the way to get debug log. 1. Open a specific port of sshd (on RISC-V). `sudo /usr/sbin/sshd -ddd -p 2222` 2. Find out...