Skip to content
Snippets Groups Projects
Commit df2a4c6f authored by Rocky Automation's avatar Rocky Automation :tv:
Browse files

import accel-config-3.4.6.3-1.el8

parent 5449ccde
No related branches found
No related tags found
No related merge requests found
123eb9366ba96580e4795e47f0742551d50cbf53 SOURCES/accel-config-v3.4.2.tar.gz 21e70c79f2e53c5cdbc941390f14b020f286a36d SOURCES/accel-config-v3.4.6.3.tar.gz
SOURCES/accel-config-v3.4.2.tar.gz SOURCES/accel-config-v3.4.6.3.tar.gz
diff -ur idxd-config-accel-config-v3.4.2/test/dsa_user_test_runner.sh idxd-config-accel-config-v3.4.2-new/test/dsa_user_test_runner.sh diff -ur idxd-config-accel-config-v3.4.6.2/test/dsa_user_test_runner.sh idxd-config-accel-config-v3.4.6.2-new/test/dsa_user_test_runner.sh
--- idxd-config-accel-config-v3.4.2/test/dsa_user_test_runner.sh 2021-09-28 16:03:05.000000000 -0700 --- idxd-config-accel-config-v3.4.6.2/test/dsa_user_test_runner.sh 2022-03-22 16:13:44.000000000 -0700
+++ idxd-config-accel-config-v3.4.2-new/test/dsa_user_test_runner.sh 2021-10-13 08:26:34.098233734 -0700 +++ idxd-config-accel-config-v3.4.6.2-new/test/dsa_user_test_runner.sh 2022-04-04 22:36:15.080120329 -0700
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
[ ! -f "$DSATEST" ] && echo "fail: $LINENO" && exit 1 [ ! -f "$DSATEST" ] && echo "fail: $LINENO" && exit 1
...@@ -10,12 +10,12 @@ diff -ur idxd-config-accel-config-v3.4.2/test/dsa_user_test_runner.sh idxd-confi ...@@ -10,12 +10,12 @@ diff -ur idxd-config-accel-config-v3.4.2/test/dsa_user_test_runner.sh idxd-confi
# skip if no pasid support as dsa_test does not support operation w/o pasid yet. # skip if no pasid support as dsa_test does not support operation w/o pasid yet.
[ ! -f "/sys/bus/dsa/devices/$DSA/pasid_enabled" ] && echo "No SVM support" && exit "$EXIT_SKIP" [ ! -f "/sys/bus/dsa/devices/$DSA/pasid_enabled" ] && echo "No SVM support" && exit "$EXIT_SKIP"
diff -ur idxd-config-accel-config-v3.4.2/test/libaccfg.c idxd-config-accel-config-v3.4.2-new/test/libaccfg.c diff -ur idxd-config-accel-config-v3.4.6.2/test/libaccfg.c idxd-config-accel-config-v3.4.6.2-new/test/libaccfg.c
--- idxd-config-accel-config-v3.4.2/test/libaccfg.c 2021-09-28 16:03:05.000000000 -0700 --- idxd-config-accel-config-v3.4.6.2/test/libaccfg.c 2022-03-22 16:13:44.000000000 -0700
+++ idxd-config-accel-config-v3.4.2-new/test/libaccfg.c 2021-10-13 08:27:08.099387351 -0700 +++ idxd-config-accel-config-v3.4.6.2-new/test/libaccfg.c 2022-04-04 22:36:26.861224525 -0700
@@ -1003,7 +1003,7 @@ @@ -966,7 +966,7 @@
struct kmod_module *mod, *mdev_mod;
struct accfg_device *device; struct accfg_device *device;
struct log_ctx log_ctx;
- if (!accfg_test_attempt(test, KERNEL_VERSION(5, 6, 0))) - if (!accfg_test_attempt(test, KERNEL_VERSION(5, 6, 0)))
+ if (!accfg_test_attempt(test, KERNEL_VERSION(4, 18, 0))) + if (!accfg_test_attempt(test, KERNEL_VERSION(4, 18, 0)))
......
%global project_name idxd-config %global project_name idxd-config
Name: accel-config Name: accel-config
Version: 3.4.2 Version: 3.4.6.3
Release: 1%{?dist} Release: 1%{?dist}
Summary: Configure accelerator subsystem devices Summary: Configure accelerator subsystem devices
# The entire source code is under GPLv2 except for accel-config # The entire source code is under GPLv2 except for accel-config
...@@ -11,8 +11,6 @@ License: GPLv2 and LGPLv2+ and MIT and CC0 ...@@ -11,8 +11,6 @@ License: GPLv2 and LGPLv2+ and MIT and CC0
URL: https://github.com/intel/%{project_name} URL: https://github.com/intel/%{project_name}
Source0: %{URL}/archive/%{name}-v%{version}.tar.gz Source0: %{URL}/archive/%{name}-v%{version}.tar.gz
Patch0: 0001-testing-vercheck.patch Patch0: 0001-testing-vercheck.patch
Patch1: 0001-accel-config-clean-up-double-frees-in-add_group.patch
Patch2: 0003-accel-config-remove-redundant-assignment-in-umwait.patch
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: gcc BuildRequires: gcc
...@@ -85,6 +83,7 @@ make check ...@@ -85,6 +83,7 @@ make check
%{_bindir}/%{name} %{_bindir}/%{name}
%{_mandir}/man1/%{name}* %{_mandir}/man1/%{name}*
%{_sysconfdir}/%{name}/%{name}.conf.sample %{_sysconfdir}/%{name}/%{name}.conf.sample
%{_datadir}/%{name}/contrib/*
%files libs %files libs
%doc README.md %doc README.md
...@@ -101,9 +100,13 @@ make check ...@@ -101,9 +100,13 @@ make check
%files test %files test
%license Documentation/COPYING LICENSE_GPL_2_0 %license Documentation/COPYING LICENSE_GPL_2_0
#%doc test/README.md #%doc test/README.md
%{_datadir}/accel-config/test/* %{_datadir}/%{name}/test/*
%changelog %changelog
* Sun Apr 03 2022 Jerry Snitselaar <jsnitsel@redhat.com> - 3.4.6.3-1
- Rebase to 3.4.6.3 release.
resolves: rhbz#2040076
* Thu Sep 09 2021 Jerry Snitselaar <jsnitsel@redhat.com> - 3.4.2-1 * Thu Sep 09 2021 Jerry Snitselaar <jsnitsel@redhat.com> - 3.4.2-1
- Rebase to 3.4.2 and add test subpackage. - Rebase to 3.4.2 and add test subpackage.
resolves: rhbz#1971910 resolves: rhbz#1971910
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment