Skip to content

Commit af1f77b

Browse files
authored
Merge pull request #130 from NVIDIA/v2_1
update meta-data for 2.1 release
2 parents ec5c310 + caed6f4 commit af1f77b

21 files changed

+36
-20
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## [2.1] - 2020-08-07
4+
- fix build problem on RHL8 kernels
5+
- relax checks in gdrdrv to support multi-threading use cases
6+
- fix fd leak in gdr_open()
7+
- introcuce new copylat test
8+
- remove CUDA RT dependency in tests
9+
- assorted cleanups
10+
311
## [2.0] - 2019-09-16
412
- Harden security in gdrdrv.
513
- Enable cached mappings in POWER9.
@@ -24,6 +32,7 @@
2432
- Add a script for packaging gdrcopy in the rpm format.
2533

2634

35+
[2.1]: https://github.com/NVIDIA/gdrcopy/releases/tag/v2.1
2736
[2.0]: https://github.com/NVIDIA/gdrcopy/releases/tag/v2.0
2837
[1.3]: https://github.com/NVIDIA/gdrcopy/releases/tag/v1.3
2938

include/gdrapi.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),
@@ -30,7 +30,7 @@
3030
#define MINOR_VERSION_MASK (((uint32_t)1 << MAJOR_VERSION_SHIFT) - 1)
3131

3232
#define GDR_API_MAJOR_VERSION 2
33-
#define GDR_API_MINOR_VERSION 0
33+
#define GDR_API_MINOR_VERSION 1
3434
#define GDR_API_VERSION ((GDR_API_MAJOR_VERSION << MAJOR_VERSION_SHIFT) | GDR_API_MINOR_VERSION)
3535

3636
#define MINIMUM_GDRDRV_MAJOR_VERSION 2

insmod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
2+
# Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
33
#
44
# Permission is hereby granted, free of charge, to any person obtaining a
55
# copy of this software and associated documentation files (the "Software"),

packages/build-deb-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Restart this number at 1 if MAJOR_VERSION or MINOR_VERSION changes
44
# See https://www.debian.org/doc/debian-policy/ch-controlfields.html#version
5-
DEBIAN_VERSION=2
5+
DEBIAN_VERSION=1
66

77
SCRIPT_DIR_PATH="$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" && pwd)"
88
TOP_DIR_PATH="${SCRIPT_DIR_PATH}/.."

packages/build-rpm-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Restart this number at 1 if MAJOR_VERSION or MINOR_VERSION changes
44
# See https://rpm-packaging-guide.github.io/#preamble-items
5-
RPM_VERSION=4
5+
RPM_VERSION=1
66

77
SCRIPT_DIR_PATH="$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" && pwd)"
88
TOP_DIR_PATH="${SCRIPT_DIR_PATH}/.."

packages/debian/changelog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
gdrcopy (@VERSION@) unstable; urgency=low
22

3+
* fix build problem on RHL8 kernels
4+
* relax checks in gdrdrv to support multi-threading use cases
5+
* fix fd leak in gdr_open()
36
* Introduce copylat test application.
47
* Introduce basic_with_tokens and invalidation_fork_child_gdr_pin_parent_with_tokens sub-tests in sanity.
58
* Remove the dependency with libcudart.so.

packages/debian/copyright

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Upstream-Name: gdrcopy
33
Source: https://github.com/NVIDIA/gdrcopy
44

55
Files: *
6-
Copyright: 2019 NVIDIA CORPORATION. All rights reserved.
6+
Copyright: 2019-2020 NVIDIA CORPORATION. All rights reserved.
77
License: MIT
88
Permission is hereby granted, free of charge, to any person obtaining a
99
copy of this software and associated documentation files (the "Software"),

packages/gdrcopy.spec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}
117117

118118

119119
%changelog
120+
* Fri Jul 31 2020 Davide Rossetti <[email protected]> 2.1-1
121+
- fix build problem on RHL8 kernels
122+
- relax checks in gdrdrv to support multi-threading use cases
123+
- fix fd leak in gdr_open()
120124
* Mon Mar 02 2020 Davide Rossetti <[email protected]> 2.0-4
121125
- Introduce copylat test application.
122126
- Introduce basic_with_tokens and invalidation_fork_child_gdr_pin_parent_with_tokens sub-tests in sanity.

src/gdrapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

src/gdrapi_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

src/gdrdrv/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
1+
# Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
22
#
33
# Permission is hereby granted, free of charge, to any person obtaining a
44
# copy of this software and associated documentation files (the "Software"),

src/gdrdrv/gdrdrv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

src/gdrdrv/gdrdrv.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),
@@ -27,7 +27,7 @@
2727
#define GDRDRV_TOSTRING(s) GDRDRV_STRINGIFY(s)
2828

2929
#define GDRDRV_MAJOR_VERSION 2
30-
#define GDRDRV_MINOR_VERSION 0
30+
#define GDRDRV_MINOR_VERSION 1
3131
#define GDRDRV_VERSION ((GDRDRV_MAJOR_VERSION << 16) | GDRDRV_MINOR_VERSION)
3232
#define GDRDRV_VERSION_STRING GDRDRV_TOSTRING(GDRDRV_MAJOR_VERSION) "." GDRDRV_TOSTRING(GDRDRV_MINOR_VERSION)
3333

src/gdrdrv/nv-p2p-dummy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2015-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

src/memcpy_avx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

src/memcpy_sse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

src/memcpy_sse41.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2015-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

tests/common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

tests/common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

tests/copybw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

tests/sanity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
2+
* Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),

0 commit comments

Comments
 (0)