Update to qatlib 26.08.0
Update to qatlib qatlib 26.08.0 @ dc5f7770 Remove force-32-bit-MMIO-CSR-reads.patch Resolves: RHEL-153281 Signed-off-by: Vladislav Dronov <vdronov@redhat.com>
This commit is contained in:
parent
1153dbfd9b
commit
ffff5c1b83
@ -1,32 +0,0 @@
|
||||
diff --git a/quickassist/lookaside/access_layer/src/qat_direct/include/adf_platform_common.h b/quickassist/lookaside/access_layer/src/qat_direct/include/adf_platform_common.h
|
||||
index 6956a5e02502..449ba2978a93 100644
|
||||
--- a/quickassist/lookaside/access_layer/src/qat_direct/include/adf_platform_common.h
|
||||
+++ b/quickassist/lookaside/access_layer/src/qat_direct/include/adf_platform_common.h
|
||||
@@ -258,8 +258,21 @@ static inline unsigned int modulo(unsigned int data, unsigned int shift)
|
||||
#define ICP_ADF_CSR_WR(csrAddr, csrOffset, val) \
|
||||
(void)((*((volatile Cpa32U *)(((Cpa8U *)csrAddr) + csrOffset)) = (val)))
|
||||
|
||||
-/* CSR read macro */
|
||||
-#define ICP_ADF_CSR_RD(csrAddr, csrOffset) \
|
||||
- (*((volatile Cpa32U *)(((Cpa8U *)csrAddr) + csrOffset)))
|
||||
+/*
|
||||
+ * Force MMIO loads to remain 32-bit wide. GCC 16 may otherwise narrow a
|
||||
+ * volatile 32-bit CSR read to a byte access when only one bit is tested,
|
||||
+ * which breaks QAT mailbox CSRs that require DWORD transactions.
|
||||
+ */
|
||||
+static inline unsigned int icp_adf_csr_rd(void *csrAddr, unsigned int csrOffset)
|
||||
+{
|
||||
+ const volatile void *addr = ((char *)csrAddr) + csrOffset;
|
||||
+ unsigned int val;
|
||||
+
|
||||
+ __asm__ __volatile__("movl (%1), %0" : "=r"(val) : "r"(addr) : "memory");
|
||||
+
|
||||
+ return val;
|
||||
+}
|
||||
+
|
||||
+#define ICP_ADF_CSR_RD(csrAddr, csrOffset) icp_adf_csr_rd(csrAddr, csrOffset)
|
||||
|
||||
#endif /* ADF_PLATFORM_COMMON_H */
|
||||
--
|
||||
2.54.0
|
||||
|
||||
32
qatlib.spec
32
qatlib.spec
@ -3,7 +3,7 @@
|
||||
%global libqat_soversion 4
|
||||
%global libusdm_soversion 0
|
||||
Name: qatlib
|
||||
Version: 26.02.0
|
||||
Version: 26.08.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Intel QuickAssist user space library
|
||||
# The entire source code is released under BSD.
|
||||
@ -20,9 +20,6 @@ ExcludeArch: %{arm} aarch64 %{power64} s390x i686 riscv64
|
||||
# in containers and other systems that do not use SELinux.
|
||||
Requires: (selinux-policy >= 38.1.80 if selinux-policy)
|
||||
|
||||
# Temporary fix for systems with gcc v16.1 (Fedora 44), see RHEL-173592
|
||||
Patch0: force-32-bit-MMIO-CSR-reads.patch
|
||||
|
||||
%description
|
||||
Intel QuickAssist Technology (Intel QAT) provides hardware acceleration
|
||||
for offloading security, authentication and compression services from the
|
||||
@ -61,6 +58,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
This package contains a daemon that manages QAT resources for the Intel
|
||||
QuickAssist Technology user space library (qatlib).
|
||||
|
||||
%package tools
|
||||
Summary: Utilities for Intel QAT device configuration
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: python3
|
||||
|
||||
%description tools
|
||||
This package provides command-line utilities for managing Intel QuickAssist
|
||||
Technology (QAT) devices.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
@ -117,6 +123,8 @@ fi
|
||||
%attr(0754,-,qat) %{_bindir}/cpa_sample_code
|
||||
%attr(0754,-,qat) %{_bindir}/dc_dp_sample
|
||||
%attr(0754,-,qat) %{_bindir}/dc_stateless_sample
|
||||
%attr(0754,-,qat) %{_bindir}/dc_stateless_sample_dict
|
||||
%attr(0754,-,qat) %{_bindir}/decomp_stateless_sample
|
||||
%attr(0754,-,qat) %{_bindir}/chaining_sample
|
||||
%attr(0754,-,qat) %{_bindir}/dc_stateless_multi_op_sample
|
||||
%attr(0754,-,qat) %{_bindir}/algchaining_sample
|
||||
@ -130,14 +138,19 @@ fi
|
||||
%attr(0754,-,qat) %{_bindir}/sym_dp_sample
|
||||
%attr(0754,-,qat) %{_bindir}/dh_sample
|
||||
%attr(0754,-,qat) %{_bindir}/eddsa_sample
|
||||
%attr(0754,-,qat) %{_bindir}/kpt_rsa_sample
|
||||
%attr(0754,-,qat) %{_bindir}/kpt_ecdsa_sample
|
||||
%attr(0754,-,qat) %{_bindir}/prime_sample
|
||||
%attr(0754,-,qat) %{_bindir}/hkdf_sample
|
||||
%attr(0754,-,qat) %{_bindir}/ec_montedwds_sample
|
||||
%attr(0754,-,qat) %{_bindir}/zuc_sample
|
||||
%attr(0754,-,qat) %{_bindir}/zuc128_sample
|
||||
%attr(0754,-,qat) %{_bindir}/update_sample
|
||||
%{_datadir}/qat/calgary
|
||||
%{_datadir}/qat/calgary32
|
||||
%{_datadir}/qat/canterbury
|
||||
%{_datadir}/qat/paper4
|
||||
%{_datadir}/qat/paper4.dict
|
||||
%{_datadir}/qat/paper4.gz
|
||||
%{_mandir}/man7/cpa_sample_code.7*
|
||||
|
||||
%files service
|
||||
@ -148,7 +161,16 @@ fi
|
||||
%{_mandir}/man8/qatmgr.8*
|
||||
%{_mandir}/man8/qat_init.sh.8*
|
||||
|
||||
%files tools
|
||||
%{_sbindir}/qat_sla_mgr
|
||||
%{_sbindir}/qat_sla_rl.py
|
||||
%{_mandir}/man8/qat_sla_mgr.8*
|
||||
|
||||
%changelog
|
||||
* Wed Sep 02 2026 Vladislav Dronov <vdronov@redhat.com> - 26.08.0-1
|
||||
- Update to qatlib 26.08.0 @ dc5f7770 (RHEL-153281)
|
||||
- Remove force-32-bit-MMIO-CSR-reads.patch as included in qatlib 26.08.0
|
||||
|
||||
* Mon Jun 29 2026 Vladislav Dronov <vdronov@redhat.com> - 26.02.0-1
|
||||
- Update to qatlib 26.02.0 @ fe4bb4b6 (RHEL-115834)
|
||||
- Add patch to force 32 bit MMIO CSR reads for GCC 16.1
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (qatlib-26.02.0.tar.gz) = 812d9d7b3ee9488da7479e65cea8c439efed09264f3e34d98ca4e80f69eeb9e1d880256de104f2e99a475784895d1e0a896e43c81036295b968d738e89f0c900
|
||||
SHA512 (qatlib-26.08.0.tar.gz) = b55c0beb48bfb05b23cd1650318d768f661880dd5db00cdcbe6aa230c2548b40efce5db0f19983c6b4e26fc4ee8efae8d355b432b9390b8cc01f973c20fc7900
|
||||
|
||||
Loading…
Reference in New Issue
Block a user