Skip to content

Commit 6b23546

Browse files
authored
Merge pull request #13 from sy-c/master
PDA tag v11.10.7 / driver 0.13
2 parents e236195 + 9d59c5d commit 6b23546

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11.9.7
1+
11.10.7

patches/linux_uio/debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
pda-kernel-dkms (0.13.0-1) noble; urgency=medium
2+
3+
* Updates for RHEL 9.6
4+
5+
-- Dirk Hutter <[email protected]> Fri, 08 Jul 2025 14:16:28 +0200
6+
17
pda-kernel-dkms (0.12.0-1) noble; urgency=medium
28

39
* Bugfix: avoid scheduling while atomic

patches/linux_uio/dkms.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PACKAGE_NAME="uio_pci_dma"
2-
PACKAGE_VERSION="0.12.0"
2+
PACKAGE_VERSION="0.13.0"
33
BUILT_MODULE_NAME[0]="uio_pci_dma"
44
DEST_MODULE_LOCATION[0]="/kernel/drivers/uio/"
55
AUTOINSTALL="yes"

patches/linux_uio/uio_pci_dma.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#define LINUX_VERSION_CODE KERNEL_VERSION(2,6,35)
4949
*/
5050

51-
#define UIO_PCI_DMA_VERSION "0.12.0"
51+
#define UIO_PCI_DMA_VERSION "0.13.0"
5252
#define UIO_PCI_DMA_MINOR "0"
5353

5454
#define UIO_PCI_DMA_SUCCESS 0
@@ -325,11 +325,10 @@ BIN_ATTR_MAP_CALLBACK( map_sg );
325325
**/
326326
#ifdef RHEL_RELEASE_CODE
327327
#if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9, 6)
328-
#define RHEL_FIX_KERNEL_202505
328+
#define RHEL_RELEASE_9_6
329329
#endif
330330
#endif
331331

332-
333332
/**
334333
* Kernel 4.6 introduced six-argument get_user_pages()
335334
* https://github.com/torvalds/linux/commit/c12d2da56d0e07d230968ee2305aaa86b93a6832
@@ -341,7 +340,7 @@ BIN_ATTR_MAP_CALLBACK( map_sg );
341340
* Kernel 6.5 removes unused vmas parameter from get_user_pages()
342341
* https://github.com/torvalds/linux/commit/54d020692b342f7bd02d7f5795fb5c401caecfcc
343342
**/
344-
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0) || defined(RHEL_FIX_KERNEL_202505)
343+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0) || defined(RHEL_RELEASE_9_6)
345344
#define PDA_FOURARG_GUP
346345
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
347346
#define PDA_FIVEARG_GUP
@@ -356,7 +355,7 @@ BIN_ATTR_MAP_CALLBACK( map_sg );
356355
* Kernel 6.8 renames MAX_ORDER to MAX_PAGE_ORDER
357356
* https://github.com/torvalds/linux/commit/5e0a760b44417f7cadd79de2204d6247109558a0
358357
**/
359-
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 8, 0) || defined(RHEL_FIX_KERNEL_202505)
358+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 8, 0) || defined(RHEL_RELEASE_9_6)
360359
#define PDA_MAX_PAGE_ORDER_RENAMED
361360
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)
362361
#define PDA_MAX_PAGE_ORDER_INCLUSIVE

0 commit comments

Comments
 (0)