This series fixes three issues in UADK: 1. Fix X448 clamping out-of-bounds access in hisi_hpre driver and v1 hisi_hpre_udrv, where the clamp index used the variable dsize instead of the fixed protocol length (56 bytes for X448). 2. Switch dev_usage read path from sysfs to debugfs, since the sysfs dev_usage attribute is being removed from the kernel uacce framework. Add hisi_qm_get_usage_debugfs() in the shared QM layer to read from /sys/kernel/debug/{drv_name}/{pci_bdf}/dev_usage. 3. Fix Makefile.am LIBADD system library dependencies for all libraries based on nm -D symbol audit: remove redundant -lrt/-lm/-ldl, add missing -lpthread/-lnuma/-ldl/-lm to match actual symbol references. Weili Qian (4): uadk: fix X448 clamping OOB uadk/v1: fix X448 clamping OOB uadk: switch dev_usage from sysfs to debugfs uadk: fix LIBADD system library dependencies for all libraries Makefile.am | 40 +++++----- drv/hisi_comp.c | 36 +++++---- drv/hisi_dae_common.c | 21 +++--- drv/hisi_hpre.c | 22 +++--- drv/hisi_qm_udrv.c | 126 +++++++++++++++++++++++++++++++ drv/hisi_qm_udrv.h | 2 + drv/hisi_sec.c | 23 +++--- drv/hisi_udma.c | 21 +++--- include/drv/wd_ecc_drv.h | 2 + include/wd_alg.h | 2 +- v1/drv/hisi_hpre_udrv.c | 15 ++-- wd.c | 144 +---------------------------------- wd_alg.c | 157 ++++++++++++++++++++++++++++++++++++--- 13 files changed, 372 insertions(+), 239 deletions(-) -- 2.43.0