- Update to 2.1.5.0
* Avoid polling blocked status during reset * Adjust default reset delay to 3 seconds on PCIe * Remove workaround support for BF2 A0 chip * Only poll/check locked mode for PCIe backend * support register read/write via /dev/rshim0/rshim for pcie_lf on BF3 * add 'CLEAR_ON_READ' command to delete rshim log after read * Add ownership transfer feature * Allow /dev/rshim<N> devfs creation only with --force option enabled * Make sending the initial force command a one-time event * Add VFIO support for Bluefield-3 on PCIe * Add support for command mode * Adjust default boot timeout to 300s * Make rshim run in single instance OBS-URL: https://build.opensuse.org/package/show/hardware/rshim?expand=0&rev=33
This commit is contained in:
commit
69c9175cff
26
.gitattributes
vendored
Normal file
26
.gitattributes
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
## Specific LFS patterns
|
||||
rshim-2.0.29.1.tar filter=lfs diff=lfs merge=lfs -text
|
||||
rshim-2.1.5.0.tar filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
13
_service
Normal file
13
_service
Normal file
@ -0,0 +1,13 @@
|
||||
<!-- See https://en.opensuse.org/openSUSE:Build_Service_Concept_SourceService -->
|
||||
<!-- for more details on the syntax -->
|
||||
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/Mellanox/rshim-user-space.git</param>
|
||||
<param name="filename">rshim</param>
|
||||
<param name="versionrewrite-pattern">rshim-(.*)</param>
|
||||
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version" />
|
||||
</services>
|
3
rshim-2.0.29.1.tar
Normal file
3
rshim-2.0.29.1.tar
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:848c8192385ee9cf33d52e5fdf1041564d94f93ed6b012236d202dc5a1fdb3cb
|
||||
size 368640
|
3
rshim-2.1.5.0.tar
Normal file
3
rshim-2.1.5.0.tar
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:56546ed6854ebb52281d7e59772fc010f0a6678e9858c7312a15c754252a3c0d
|
||||
size 409600
|
160
rshim.changes
Normal file
160
rshim.changes
Normal file
@ -0,0 +1,160 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 25 11:26:27 UTC 2024 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- Update to 2.1.5.0
|
||||
* Avoid polling blocked status during reset
|
||||
* Adjust default reset delay to 3 seconds on PCIe
|
||||
* Remove workaround support for BF2 A0 chip
|
||||
* Only poll/check locked mode for PCIe backend
|
||||
* support register read/write via /dev/rshim0/rshim for pcie_lf on BF3
|
||||
* add 'CLEAR_ON_READ' command to delete rshim log after read
|
||||
* Add ownership transfer feature
|
||||
* Allow /dev/rshim<N> devfs creation only with --force option enabled
|
||||
* Make sending the initial force command a one-time event
|
||||
* Add VFIO support for Bluefield-3 on PCIe
|
||||
* Add support for command mode
|
||||
* Adjust default boot timeout to 300s
|
||||
* Make rshim run in single instance
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 10 14:17:18 UTC 2024 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- Update to 2.0.29.1 (jsc#PED-6843 jsc#PED-6979)
|
||||
* Output SECURE_NIC_MODE in /dev/rshim<N>/misc
|
||||
* Allow remote installation via bfb-install
|
||||
* Make DROP_MODE more robust
|
||||
* Avoid race in bfb push when accessing from BMC and rshim tool in parallel
|
||||
* Fix handshake between NIC F and rshim over PCIe
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 10:06:39 UTC 2024 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- Update to 2.0.20.0 (jsc#PED-6843 jsc#PED-6979)
|
||||
* Adjust delay time for nic_fw reset
|
||||
* Add BFB completion condition for enhanced NIC mode
|
||||
* Fixes for potential high CPU utilization
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 2 15:58:07 UTC 2023 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- Update to 2.0.12.1
|
||||
* Display uptime in seconds for BF3
|
||||
* Add fuse3 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 30 15:00:03 UTC 2023 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- Update to 2.0.9
|
||||
* Fix fallback logic of direct mapping
|
||||
* Make timeout configurable through /dev/rshimX/misc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 17:49:44 UTC 2023 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- Update service to new tag format
|
||||
- update to 2.0.7
|
||||
* adjust reset delay
|
||||
* avoid leak the file descriptor for /dev/uio
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 16 11:18:48 UTC 2023 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- update to 2.0.6.19.2
|
||||
* fix potential NULL pointer access during USB disconnection
|
||||
* fix vfio and direct mapping mode with several devices
|
||||
* avoid use of stale cached pci_dev pointer after device reset
|
||||
* adjust reset delay
|
||||
* update to dual-licensese GPL-2.0/BSD-3-Clause
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 15 08:56:34 UTC 2022 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- update to 2.0.6.13.7
|
||||
* make use of rshim with several devices more efficient
|
||||
* support 32 bit CR space possible on BF3 USB access
|
||||
* support more transfer sizes
|
||||
* add new device ID for BF3
|
||||
* allow to en/disable VFIO/UIO support via rshim.conf
|
||||
* make restart of rshim process more robust fixing potential race
|
||||
* set default boot timeout to 150 seconds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 14 14:16:25 UTC 2022 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- update to 2.0.6.11.5
|
||||
* Fix a possible crash on PCIe for BF1/2
|
||||
* Fix possible race condition when several rshim devices are present
|
||||
* Fix a kernel crash when undbinding from uio
|
||||
* Detect new USB/rshim hot plug
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 19 12:40:52 UTC 2021 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- update to 2.0.6.2.2
|
||||
* bfb-install: Handle new indications for installation completion
|
||||
* Make USB reset configurable and set to 3 seconds
|
||||
* Move USB reset to USB up event
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 29 06:21:09 UTC 2021 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- update to 2.0.6.1.5
|
||||
* Disable the background timer if no rshim devices
|
||||
* Setting default path for rshim config file
|
||||
* Refine when some workarounds should be applied
|
||||
* Fix hypervisor crash when several cards boot or push streams
|
||||
* Set MTU to standard max size
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 11 16:05:12 UTC 2021 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- update to 2.0.5.10
|
||||
* fix possible tmfifo data loss in PCIe interface
|
||||
* fix USB deadlock
|
||||
* reduce CPU load when no rshim device present
|
||||
* add PCIe hotplug support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 25 14:35:50 UTC 2021 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- fix _service file
|
||||
- update to 2.0.5.8.3
|
||||
* fix various issues
|
||||
* add workaround for Bluefield-2 REV-0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 19 17:06:49 UTC 2020 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- update to 2.0.55.1
|
||||
* add bfb-install script
|
||||
- fix version number naming
|
||||
- add versioning to _service file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 11 10:12:08 UTC 2020 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- update to latest version (jsc#SLE-16098 jsc#SLE-13565 jsc#SLE-16108 jsc#SLE-15271)
|
||||
* Some robust fixes for USB rshim
|
||||
* Fix a typo in pcie mmap
|
||||
* Check rshim accessibility when re-enabling it
|
||||
* Enable console output during boot stream pushing
|
||||
* Add some delay for the pcie_lf probe
|
||||
* Auto-start rshim service after installation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 1 13:43:25 UTC 2020 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- update to latest version
|
||||
* enable BlueField-2 support
|
||||
* Add configuration file support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 10 10:56:05 UTC 2020 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- add _service file
|
||||
- update to latest version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 27 13:45:32 UTC 2020 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- add version 2.0.4
|
62
rshim.spec
Normal file
62
rshim.spec
Normal file
@ -0,0 +1,62 @@
|
||||
#
|
||||
# spec file for package rshim
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2019 Mellanox Technologies. All Rights Reserved.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: rshim
|
||||
Version: 2.1.5.0
|
||||
Release: 0
|
||||
Summary: User-space driver for Mellanox BlueField SoC
|
||||
License: GPL-2.0 or BSD-3-Clause
|
||||
Group: System/Management
|
||||
URL: https://github.com/mellanox/rshim-user-space
|
||||
Source0: %{name}-%{version}.tar
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: fuse-devel
|
||||
BuildRequires: pciutils-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
|
||||
%description
|
||||
This is the user-space driver to access the BlueField SoC via the rshim
|
||||
interface. It provides ways to push boot stream, debug the target or login
|
||||
via the virtual console or network interface.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./bootstrap.sh
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install -C src INSTALL_DIR="%{buildroot}%{_sbindir}"
|
||||
install -d %{buildroot}%{_unitdir}
|
||||
install -m 0644 rshim.service %{buildroot}%{_unitdir}
|
||||
install -d %{buildroot}%{_mandir}/man8
|
||||
install -m 0644 man/rshim.8 %{buildroot}%{_mandir}/man8
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_unitdir}/rshim.service
|
||||
%{_sbindir}/rshim
|
||||
%{_mandir}/man8/rshim.8%{?ext_man}
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user