patches for DPDK stable branches
 help / color / mirror / Atom feed
* patch 'kni: fix build with Linux 6.3' has been queued to stable release 21.11.5
@ 2023-07-20 15:17 Kevin Traynor
  2023-07-20 15:17 ` patch 'examples/ip_pipeline: fix build with GCC 13' " Kevin Traynor
                   ` (139 more replies)
  0 siblings, 140 replies; 144+ messages in thread
From: Kevin Traynor @ 2023-07-20 15:17 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: David Marchand, dpdk stable

Hi,

FYI, your patch has been queued to stable release 21.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/25/23. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/b22ddfe63aec6ee9d178985d1e51973c489afe40

Thanks.

Kevin

---
From b22ddfe63aec6ee9d178985d1e51973c489afe40 Mon Sep 17 00:00:00 2001
From: Ferruh Yigit <ferruh.yigit@amd.com>
Date: Fri, 14 Apr 2023 16:25:22 +0100
Subject: [PATCH] kni: fix build with Linux 6.3

[ upstream commit 5f34cc454df420b9b2da8deb949fb76cba058b87 ]

KNI calls `get_user_pages_remote()` API which is using `FOLL_TOUCH`
flag, but `FOLL_TOUCH` is no more in public headers since v6.3,
causing a build error.

`FOLL_*` defines in Linux kernel first moved to another header [1],
later some of them moved to memory subsystem internal header [2] for 6.3

`get_user_pages_remote()` already sets `FOLL_TOUCH` internally,
no need to set this flag externally anyway, moving flag from the call
altogether.

[1]
Commit b5054174ac7c ("mm: move FOLL_* defs to mm_types.h")

[2]
Commit 2c2241081f7d ("mm/gup: move private gup FOLL_ flags to internal.h")

Fixes: e73831dc6c26 ("kni: support userspace VA")

Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
---
 kernel/linux/kni/kni_dev.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/kernel/linux/kni/kni_dev.h b/kernel/linux/kni/kni_dev.h
index e8633486ee..6e64380d06 100644
--- a/kernel/linux/kni/kni_dev.h
+++ b/kernel/linux/kni/kni_dev.h
@@ -106,9 +106,7 @@ static inline phys_addr_t iova_to_phys(struct task_struct *tsk,
 	/* Read one page struct info */
 #ifdef HAVE_TSK_IN_GUP
-	ret = get_user_pages_remote(tsk, tsk->mm, iova, 1,
-				    FOLL_TOUCH, &page, NULL, NULL);
+	ret = get_user_pages_remote(tsk, tsk->mm, iova, 1, 0, &page, NULL, NULL);
 #else
-	ret = get_user_pages_remote(tsk->mm, iova, 1,
-				    FOLL_TOUCH, &page, NULL, NULL);
+	ret = get_user_pages_remote(tsk->mm, iova, 1, 0, &page, NULL, NULL);
 #endif
 	if (ret < 0)
-- 
2.41.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-07-20 16:17:55.298276656 +0100
+++ 0001-kni-fix-build-with-Linux-6.3.patch	2023-07-20 16:17:54.407749470 +0100
@@ -1 +1 @@
-From 5f34cc454df420b9b2da8deb949fb76cba058b87 Mon Sep 17 00:00:00 2001
+From b22ddfe63aec6ee9d178985d1e51973c489afe40 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5f34cc454df420b9b2da8deb949fb76cba058b87 ]
+
@@ -24 +25,0 @@
-Cc: stable@dpdk.org
@@ -33 +34 @@
-index a2c6d9fc1a..21bfb6890e 100644
+index e8633486ee..6e64380d06 100644


^ permalink raw reply	[flat|nested] 144+ messages in thread

end of thread, other threads:[~2023-07-25  8:53 UTC | newest]

Thread overview: 144+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-20 15:17 patch 'kni: fix build with Linux 6.3' has been queued to stable release 21.11.5 Kevin Traynor
2023-07-20 15:17 ` patch 'examples/ip_pipeline: fix build with GCC 13' " Kevin Traynor
2023-07-20 15:17 ` patch 'examples/ntb: " Kevin Traynor
2023-07-20 15:17 ` patch 'ring: fix use after free' " Kevin Traynor
2023-07-20 15:17 ` patch 'vfio: fix include with musl runtime' " Kevin Traynor
2023-07-20 15:17 ` patch 'kernel/freebsd: fix function parameter list' " Kevin Traynor
2023-07-20 15:17 ` patch 'build: fix case of project language name' " Kevin Traynor
2023-07-20 15:17 ` patch 'telemetry: fix autotest on Alpine' " Kevin Traynor
2023-07-20 15:17 ` patch 'ring: fix dequeue parameter name' " Kevin Traynor
2023-07-20 15:17 ` patch 'pipeline: fix double free for table stats' " Kevin Traynor
2023-07-20 15:17 ` patch 'test/malloc: fix missing free' " Kevin Traynor
2023-07-20 15:17 ` patch 'test/malloc: fix statistics checks' " Kevin Traynor
2023-07-20 15:17 ` patch 'eal: avoid calling cleanup twice' " Kevin Traynor
2023-07-20 15:17 ` patch 'pci: fix comment referencing renamed function' " Kevin Traynor
2023-07-20 15:17 ` patch 'eventdev/timer: fix timeout event wait behavior' " Kevin Traynor
2023-07-20 15:17 ` patch 'doc: fix event timer adapter guide' " Kevin Traynor
2023-07-20 15:17 ` patch 'event/dsw: free rings on close' " Kevin Traynor
2023-07-20 15:17 ` patch 'eventdev/timer: fix buffer flush' " Kevin Traynor
2023-07-20 15:17 ` patch 'event/cnxk: fix nanoseconds to ticks conversion' " Kevin Traynor
2023-07-20 15:17 ` patch 'eal/linux: fix secondary process crash for mp hotplug' " Kevin Traynor
2023-07-20 15:17 ` patch 'eal/linux: fix legacy mem init with many segments' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix build warning' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/sfc: stop misuse of Rx ingress m-port metadata on EF100' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/tap: set locally administered bit for fixed MAC address' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/dpaa2: fix checksum good flags' " Kevin Traynor
2023-07-20 15:17 ` patch 'app/testpmd: fix GTP L2 length in checksum engine' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/vmxnet3: fix drop of empty segments in Tx' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/txgbe: fix use-after-free on remove' " Kevin Traynor
2023-07-20 15:17 ` patch 'ethdev: fix MAC address occupies two entries' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/sfc: invalidate dangling MAE flow action FW resource IDs' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix never set MAC flow control' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix variable type mismatch' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix Rx multiple firmware reset interrupts' " Kevin Traynor
2023-07-20 15:17 ` patch 'ethdev: fix indirect action conversion' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix FEC mode for 200G ports' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix FEC mode check' " Kevin Traynor
2023-07-20 15:17 ` patch 'doc: fix format in flow API guide' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix RTC time on initialization' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix RTC time after reset' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: uninitialize PTP' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: extract PTP to its own header file' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix mbuf leakage when RxQ started during reset' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix mbuf leakage when RxQ started after " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix device start return value' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix uninitialized variable' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix inaccurate log' " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix redundant line break in " Kevin Traynor
2023-07-20 15:17 ` patch 'net/hns3: fix IMP reset trigger' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/vmxnet3: fix return code in initializing' " Kevin Traynor
2023-07-20 15:18 ` patch 'doc: fix auth algos in cryptoperf app' " Kevin Traynor
2023-07-20 15:18 ` patch 'crypto/scheduler: fix last element for valid args' " Kevin Traynor
2023-07-20 15:18 ` patch 'test/crypto: fix return value for SNOW3G' " Kevin Traynor
2023-07-20 15:18 ` patch 'test/crypto: fix session creation check' " Kevin Traynor
2023-07-20 15:18 ` patch 'crypto/ipsec_mb: fix enqueue counter for SNOW3G' " Kevin Traynor
2023-07-20 15:18 ` patch 'crypto/ipsec_mb: optimize allocation in session' " Kevin Traynor
2023-07-20 15:18 ` patch 'vhost: fix invalid call FD handling' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/virtio: propagate interrupt configuration error values' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/virtio: fix initialization to return negative errno' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/mlx5: enhance error log for tunnel offloading' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/mlx5: fix duplicated tag index matching in SWS' " Kevin Traynor
2023-07-20 15:18 ` patch 'common/cnxk: fix IPsec IPv6 tunnel address byte swap' " Kevin Traynor
2023-07-20 15:18 ` patch 'common/cnxk: fix inline device VF identification' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/qede: fix RSS indirection table initialization' " Kevin Traynor
2023-07-20 15:18 ` patch 'doc: fix typo in cnxk platform guide' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/i40e: fix Rx data buffer size' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ice: " Kevin Traynor
2023-07-20 15:18 ` patch 'net/iavf: " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ice: fix statistics' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ice: fix DCF RSS initialization' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/iavf: release large VF when closing device' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ice: fix DCF control thread crash' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ice/base: remove unreachable code' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ice: adjust timestamp mbuf register' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ice: fix timestamp enabling' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ice: initialize parser for double VLAN' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ice: fix outer UDP checksum offload' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/virtio-user: fix leak when initialisation fails' " Kevin Traynor
2023-07-20 15:18 ` patch 'doc: fix typo in graph guide' " Kevin Traynor
2023-07-20 15:18 ` patch 'doc: remove warning with Doxygen 1.9.7' " Kevin Traynor
2023-07-20 15:18 ` patch 'examples/l2fwd-cat: fix external build' " Kevin Traynor
2023-07-20 15:18 ` patch 'test: add graph tests' " Kevin Traynor
2023-07-20 15:18 ` patch 'mbuf: fix Doxygen comment of distributor metadata' " Kevin Traynor
2023-07-20 15:18 ` patch 'ci: fix libabigail cache in GHA' " Kevin Traynor
2023-07-20 15:18 ` patch 'crypto/openssl: skip workaround at compilation time' " Kevin Traynor
2023-07-20 15:18 ` patch 'ethdev: update documentation for API to set FEC' " Kevin Traynor
2023-07-20 15:18 ` patch 'ethdev: check that at least one FEC mode is specified' " Kevin Traynor
2023-07-20 15:18 ` patch 'ethdev: update documentation for API to get FEC' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/bonding: fix startup when NUMA is not supported' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/bonding: fix destroy dedicated queues flow' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/txgbe/base: fix Tx with fiber hotplug' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/txgbe: fix interrupt enable mask' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/txgbe: fix to set autoneg for 1G speed' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/txgbe: fix extended statistics' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ngbe: " Kevin Traynor
2023-07-20 15:18 ` patch 'app/testpmd: fix primary process not polling all queues' " Kevin Traynor
2023-07-24  1:58   ` haijie
2023-07-24 13:22     ` Kevin Traynor
2023-07-20 15:18 ` patch 'net/nfp: fix address always related with PF ID 0' " Kevin Traynor
2023-07-20 15:18 ` patch 'common/sfc_efx/base: fix Rx queue without RSS hash prefix' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/iavf: fix VLAN offload with AVX512' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ice: fix tunnel packet Tx descriptor' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ixgbe: add proper memory barriers in Rx' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/iavf: fix abnormal disable HW interrupt' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/i40e: fix tunnel packet Tx descriptor' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/e1000: fix queue number initialization' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/ice: fix protocol agnostic offloading with big packets' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/mlx5: fix risk in NEON Rx descriptor read' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/mlx5: fix device removal event handling' " Kevin Traynor
2023-07-20 15:18 ` patch 'common/mlx5: adjust fork call with new kernel API' " Kevin Traynor
2023-07-20 15:18 ` patch 'net/cnxk: flush SQ before configuring MTU' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/cnxk: fix cookies check with security offload' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/cnxk: fix flow queue index validation' " Kevin Traynor
2023-07-20 15:19 ` patch 'ipc: fix file descriptor leakage with unhandled messages' " Kevin Traynor
2023-07-20 15:19 ` patch 'fib: fix adding default route' " Kevin Traynor
2023-07-20 15:19 ` patch 'mem: fix memsegs exhausted message' " Kevin Traynor
2023-07-20 15:19 ` patch 'hash: fix reading unaligned bits in Toeplitz hash' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/netvsc: fix sizeof calculation' " Kevin Traynor
2023-07-20 15:19 ` patch 'app/testpmd: fix checksum engine with GTP on 32-bit' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/hns3: delete duplicate macro definition' " Kevin Traynor
2023-07-20 15:19 ` patch 'doc: fix kernel patch link in hns3 guide' " Kevin Traynor
2023-07-20 15:19 ` patch 'doc: fix syntax " Kevin Traynor
2023-07-20 15:19 ` patch 'doc: fix number of leading spaces " Kevin Traynor
2023-07-20 15:19 ` patch 'app/testpmd: revert primary process polling all queues fix' " Kevin Traynor
2023-07-25  8:53   ` Kevin Traynor
2023-07-20 15:19 ` patch 'net/hns3: fix non-zero weight for disabled TC' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/hns3: fix index to look up table in NEON Rx' " Kevin Traynor
2023-07-20 15:19 ` patch 'ethdev: fix potential leak in PCI probing helper' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/mlx5: fix flow dump for modify field' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/mlx5: fix flow workspace destruction' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/mlx5: forbid MPRQ restart' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/ice: fix VLAN mode parser' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/iavf: fix VLAN insertion in vector path' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/ice: fix 32-bit build' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/iavf: fix tunnel TSO path selection' " Kevin Traynor
2023-07-20 15:19 ` patch 'net/ice: fix RSS hash key generation' " Kevin Traynor
2023-07-20 15:19 ` patch 'baseband/fpga_5gnr_fec: fix possible division by zero' " Kevin Traynor
2023-07-20 15:19 ` patch 'baseband/fpga_5gnr_fec: fix starting unconfigured queue' " Kevin Traynor
2023-07-20 15:19 ` patch 'common/qat: detach crypto from compress build' " Kevin Traynor
2023-07-20 15:19 ` patch 'test/crypto: fix PDCP-SDAP test vectors' " Kevin Traynor
2023-07-20 15:19 ` patch 'examples/fips_validation: fix digest length in AES-GCM' " Kevin Traynor
2023-07-20 15:19 ` patch 'app/crypto-perf: fix socket ID default value' " Kevin Traynor
2023-07-20 15:19 ` patch 'examples/ipsec-secgw: fix TAP default MAC address' " Kevin Traynor
2023-07-20 15:19 ` patch 'ipsec: fix NAT-T header length' " Kevin Traynor
2023-07-20 15:19 ` patch 'kni: fix build with Linux 6.5' " Kevin Traynor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).