Skip to content

Commit

Permalink
linux/efa: Bump driver version to 1.13.0
Browse files Browse the repository at this point in the history
Reviewed-by: Firas JahJah <firasj@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
  • Loading branch information
gal-pressman committed Jul 15, 2021
1 parent 184b1d0 commit 29eb6cb
Show file tree
Hide file tree
Showing 15 changed files with 45 additions and 11 deletions.
6 changes: 6 additions & 0 deletions kernel/linux/efa/RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
## Supported Kernel Versions and Distributions
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html#efa-amis

## r1.13.0 release notes
* Remove static dependency of nvidia module in GDR driver
* Fix potential memory leak in GDR memory registration error flow
* Upstream kernel alignments
* Remove old kernel APIs

## r1.12.3 release notes
* Fix potential NULL pointer dereference when using GDR on newer kernel version

Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/conf/dkms-gdr.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME="efa"
PACKAGE_VERSION="1.12.3"
PACKAGE_VERSION="1.13.0"
CLEAN="cd build; make modules_clean; make clean"
PRE_BUILD="./configure-dkms.sh $kernelver $source_tree"
# Quoted 'make' to suppress DKMS append of KERNELRELEASE
Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/conf/dkms.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME="efa"
PACKAGE_VERSION="1.12.3"
PACKAGE_VERSION="1.13.0"
CLEAN="cd build; make modules_clean; make clean"
PRE_BUILD="./configure-dkms.sh $kernelver $source_tree"
# Quoted 'make' to suppress DKMS append of KERNELRELEASE
Expand Down
8 changes: 8 additions & 0 deletions kernel/linux/efa/debian-gdr/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
efa (1.13.0-1.amzn1) unstable; urgency=medium
* Remove static dependency of nvidia module in GDR driver
* Fix potential memory leak in GDR memory registration error flow
* Upstream kernel alignments
* Remove old kernel APIs

-- Gal Pressman <galpress@amazon.com> Tue, 06 Jul 2021 14:31:39 +0000

efa (1.12.3-1.amzn1) unstable; urgency=medium
* Fix potential NULL pointer dereference when using GDR on newer kernel version

Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/debian-gdr/efa-gdr.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

NAME=efa
DRIVER_VERSION=1.12.3
DRIVER_VERSION=1.13.0
INSTALL_PATH=/usr/src/${NAME}-${DRIVER_VERSION}

cd $INSTALL_PATH
Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/debian-gdr/efa-gdr.prerm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

NAME=efa
DRIVER_VERSION=1.12.3
DRIVER_VERSION=1.13.0

dkms remove -m ${NAME} -v ${DRIVER_VERSION} --all

Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/debian-gdr/rules
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export DH_VERBOSE = 1

NAME = efa-gdr
DRIVER_NAME = efa
VERSION = 1.12.3
VERSION = 1.13.0
DESTDIR:=`pwd`/debian/${NAME}
INSTALL_PATH = /usr/src/${DRIVER_NAME}-${VERSION}

Expand Down
8 changes: 8 additions & 0 deletions kernel/linux/efa/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
efa (1.13.0-1.amzn1) unstable; urgency=medium
* Remove static dependency of nvidia module in GDR driver
* Fix potential memory leak in GDR memory registration error flow
* Upstream kernel alignments
* Remove old kernel APIs

-- Gal Pressman <galpress@amazon.com> Tue, 06 Jul 2021 14:31:39 +0000

efa (1.12.3-1.amzn1) unstable; urgency=medium
* Fix potential NULL pointer dereference when using GDR on newer kernel version

Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/debian/efa.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

NAME=efa
DRIVER_VERSION=1.12.3
DRIVER_VERSION=1.13.0
INSTALL_PATH=/usr/src/${NAME}-${DRIVER_VERSION}

cd $INSTALL_PATH
Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/debian/efa.prerm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

NAME=efa
DRIVER_VERSION=1.12.3
DRIVER_VERSION=1.13.0

dkms remove -m ${NAME} -v ${DRIVER_VERSION} --all

Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include /usr/share/dpkg/pkg-info.mk
export DH_VERBOSE = 1

NAME = efa
VERSION = 1.12.3
VERSION = 1.13.0
DESTDIR:=`pwd`/debian/${NAME}
INSTALL_PATH = /usr/src/${NAME}-${VERSION}

Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/rpm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ else
NAME = efa
endif
SPEC = $(NAME).spec
VERSION = 1.12.3
VERSION = 1.13.0

TOPDIR := $(shell git rev-parse --show-toplevel)
TAG ?= HEAD
Expand Down
6 changes: 6 additions & 0 deletions kernel/linux/efa/rpm/efa-gdr.spec
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ install -m 644 Kbuild.in %{buildroot}%{install_path}/src
/etc/modprobe.d/efa.conf

%changelog
* Tue Jul 06 2021 Gal Pressman <galpress@amazon.com> - 1.13.0
- Remove static dependency of nvidia module in GDR driver
- Fix potential memory leak in GDR memory registration error flow
- Upstream kernel alignments
- Remove old kernel APIs

* Sun Jun 27 2021 Gal Pressman <galpress@amazon.com> - 1.12.3
- Fix potential NULL pointer dereference when using GDR on newer kernel version

Expand Down
6 changes: 6 additions & 0 deletions kernel/linux/efa/rpm/efa.spec
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ install -m 644 Kbuild.in %{buildroot}%{install_path}/src
/etc/modprobe.d/efa.conf

%changelog
* Tue Jul 06 2021 Gal Pressman <galpress@amazon.com> - 1.13.0
- Remove static dependency of nvidia module in GDR driver
- Fix potential memory leak in GDR memory registration error flow
- Upstream kernel alignments
- Remove old kernel APIs

* Sun Jun 27 2021 Gal Pressman <galpress@amazon.com> - 1.12.3
- Fix potential NULL pointer dereference when using GDR on newer kernel version

Expand Down
4 changes: 2 additions & 2 deletions kernel/linux/efa/src/efa_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ static const struct pci_device_id efa_pci_tbl[] = {
};

#define DRV_MODULE_VER_MAJOR 1
#define DRV_MODULE_VER_MINOR 12
#define DRV_MODULE_VER_SUBMINOR 3
#define DRV_MODULE_VER_MINOR 13
#define DRV_MODULE_VER_SUBMINOR 0

#ifndef DRV_MODULE_VERSION
#define DRV_MODULE_VERSION \
Expand Down

0 comments on commit 29eb6cb

Please sign in to comment.