Re: [RFT PATCH v3 0/2] Adsp fastrpc support for sm8750

From: Alexey Klimov

Date: Fri Dec 12 2025 - 10:50:34 EST


(adding more Qcom folks to To: header, who asked to send this as soon
as possible)

On Tue Dec 9, 2025 at 7:37 AM GMT, Alexey Klimov wrote:
> Please test these changes therefore RFT tag. The fastrpc testing
> application under linux doesn't work for me but I was told there
> is a setup available somewhere in Qualcomm where this can be tested
> (perhaps android?).

I found time to compile and run the testing application. Currently it
seems to be untested under Linux (mainly strlcpy thingy and no manual
where files are expected to be found), there are also a lot of compilation
warnings.

https://github.com/qualcomm/fastrpc/tree/development/test

root@linaro-developer:~/github/fastrpc/test# fastrpc_test -d 0 -U 0 -t linux -a v68
Test PASSED
Please look at the mini-dm logs or the adb logcat logs for DSP output
[PASS] libmultithreading.so


Allocate 4000 bytes from ION heap
Creating sequence of numbers from 0 to 999
Compute sum on domain 0

Call calculator_sum on the DSP
Sum = 499500

Call calculator_max on the DSP
Max value = 999
[PASS] libcalculator.so


Demonstrating FARF run-time logging

hap_example function PASSED
Please look at the mini-dm logs or the adb logcat logs for DSP output

Demonstrating HAP_mem.h APIs
Error Code 0x4e : returned from hap_example_mem_dmahandle(handle, fd, offset, buffer_length)

hap_example function FAILED
Please look at the mini-dm logs or the adb logcat logs for DSP output
Error occurred with selector MEM (id: 1): 78

Demonstrating HAP_perf.h APIs

hap_example function PASSED
Please look at the mini-dm logs or the adb logcat logs for DSP output
[FAIL] libhap_example.so (error code: 0x4e)


========================================
Test Summary:
Total tests run: 3
Passed: 2
Failed: 1
Skipped: 0
========================================

RESULT: 1 test(s) FAILED

But the result is the same for CDSP (was it tested prior merging?).
The same results are for v75.

Adsprpcd works with audio_pd though. Maybe Qualcomm can help with this?
I don't think I will have enough time to debug this and narrow it down,
also very soon I will lose access to the device.

Best regards,
Alexey