Update to qatlib 24.09.0 @ 36fb0903

Add pciutils as a dependency of the qatlib-service subpackage
Add numactl-devel as a dependency since it is required by qatlib-24.09.0

Resolves: RHEL-40261

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
This commit is contained in:
Vladis Dronov 2024-10-01 21:39:03 +02:00
parent 6e0fe14839
commit f687427ded
3 changed files with 10 additions and 40 deletions

View File

@ -1,34 +0,0 @@
Drop Intel build system specific ifdefs (INTEL_CET_ENABLED and AS_FEATURE_LEVEL) since
they do not exist in the RHEL build system.
While we have __CET__ for cf-protection-enabled builds, we cannot pass it to "nasm" as it
is noted by the "--cf-protection" token in CFLAGS. So enable cf-protection for assembly
files unconditionally.
--- ./quickassist/lookaside/access_layer/src/common/compression/reg_sizes.asm.orig 2024-06-29 16:01:35.806838838 +0200
+++ ./quickassist/lookaside/access_layer/src/common/compression/reg_sizes.asm 2024-06-29 16:03:38.883926951 +0200
@@ -195,20 +195,16 @@
%define XWORD(reg) reg %+ x
-%ifdef INTEL_CET_ENABLED
- %ifdef __NASM_VER__
- %if AS_FEATURE_LEVEL >= 10
- %ifidn __OUTPUT_FORMAT__,elf32
+%ifdef __NASM_VER__
+ %ifidn __OUTPUT_FORMAT__,elf32
section .note.gnu.property note alloc noexec align=4
DD 0x00000004,0x0000000c,0x00000005,0x00554e47
DD 0xc0000002,0x00000004,0x00000003
- %endif
- %ifidn __OUTPUT_FORMAT__,elf64
+ %endif
+ %ifidn __OUTPUT_FORMAT__,elf64
section .note.gnu.property note alloc noexec align=8
DD 0x00000004,0x00000010,0x00000005,0x00554e47
DD 0xc0000002,0x00000004,0x00000003,0x00000000
- %endif
- %endif
%endif
%endif

View File

@ -3,22 +3,20 @@
%global libqat_soversion 4 %global libqat_soversion 4
%global libusdm_soversion 0 %global libusdm_soversion 0
Name: qatlib Name: qatlib
Version: 24.02.0 Version: 24.09.0
Release: 3%{?dist} Release: 1%{?dist}
Summary: Intel QuickAssist user space library Summary: Intel QuickAssist user space library
# The entire source code is released under BSD. # The entire source code is released under BSD.
# For a breakdown of inbound licenses see the INSTALL file. # For a breakdown of inbound licenses see the INSTALL file.
License: BSD-3-Clause AND ( BSD-3-Clause OR GPL-2.0-only ) License: BSD-3-Clause AND ( BSD-3-Clause OR GPL-2.0-only )
URL: https://github.com/intel/%{name} URL: https://github.com/intel/%{name}
Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel nasm BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel nasm numactl-devel
Requires(pre): shadow-utils Requires(pre): shadow-utils
Recommends: qatlib-service Recommends: qatlib-service
# https://bugzilla.redhat.com/show_bug.cgi?id=1897661 # https://bugzilla.redhat.com/show_bug.cgi?id=1897661
ExcludeArch: %{arm} aarch64 %{power64} s390x i686 ExcludeArch: %{arm} aarch64 %{power64} s390x i686
Patch1: qatlib-drop-intel-ifdefs.patch
%description %description
Intel QuickAssist Technology (Intel QAT) provides hardware acceleration Intel QuickAssist Technology (Intel QAT) provides hardware acceleration
for offloading security, authentication and compression services from the for offloading security, authentication and compression services from the
@ -49,6 +47,7 @@ This package contains sample applications that use the Intel QuickAssists APIs.
%package service %package service
Summary: A daemon for qatlib resources management Summary: A daemon for qatlib resources management
Requires: pciutils
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%{?systemd_requires} %{?systemd_requires}
@ -134,6 +133,11 @@ exit 0
%{_mandir}/man8/qat_init.sh.8* %{_mandir}/man8/qat_init.sh.8*
%changelog %changelog
* Tue Oct 01 2024 Vladis Dronov <vdronov@redhat.com> - 24.09.0-1
- Update to qatlib 24.09.0 @ 36fb0903 (RHEL-40261)
- Add pciutils as a dependency of the qatlib-service subpackage
- Add numactl-devel as a dependency since it is required by qatlib-24.09.0
* Wed Jun 26 2024 Vladis Dronov <vdronov@redhat.com> - 24.02.0-3 * Wed Jun 26 2024 Vladis Dronov <vdronov@redhat.com> - 24.02.0-3
- Fix Intel CET IBT instrumentation in assembly code (RHEL-20173) - Fix Intel CET IBT instrumentation in assembly code (RHEL-20173)
- Update a changelog entry - Update a changelog entry

View File

@ -1 +1 @@
SHA512 (qatlib-24.02.0.tar.gz) = 34008396f1f8631d31e0f62b7192cff216dfe9a5ed9a02db9dc09d876b34b5daa7712c3f9679d949b25db35334a592770468dd808a0f5bd871274b84fa7ef3c2 SHA512 (qatlib-24.09.0.tar.gz) = 1acda7bbfbe1634c4876f90113e80d0c6f54a92276bdeca30fe6e1d91e5a9a82133e3ead405109926906422efeeb59f078093f425198dac7a132ff774b95623f