[RFC 0/2] fix two bugs related to page_pool
From: Yunsheng Lin
Date: Thu Sep 12 2024 - 08:51:31 EST
Patch 1 fix a possible time window problem for pagw_pool.
Patch 2 fix the kernel crash problem at iommu_get_dma_domain
reported in [1].
1. https://lore.kernel.org/lkml/8067f204-1380-4d37-8ffd-007fc6f26738@xxxxxxxxxx/T/
CC: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx>
CC: Robin Murphy <robin.murphy@xxxxxxx>
CC: Alexander Duyck <alexander.duyck@xxxxxxxxx>
CC: IOMMU <iommu@xxxxxxxxxxxxxxx>
Yunsheng Lin (2):
page_pool: fix timing for checking and disabling napi_local
page_pool: fix IOMMU crash when driver has already unbound
drivers/net/ethernet/freescale/fec_main.c | 8 +-
drivers/net/ethernet/intel/iavf/iavf_txrx.c | 6 +-
drivers/net/ethernet/intel/idpf/idpf_txrx.c | 14 +-
drivers/net/ethernet/intel/libeth/rx.c | 2 +-
.../net/ethernet/mellanox/mlx5/core/en/xdp.c | 3 +-
drivers/net/netdevsim/netdev.c | 6 +-
drivers/net/wireless/mediatek/mt76/mt76.h | 2 +-
include/linux/mm_types.h | 2 +-
include/linux/skbuff.h | 1 +
include/net/libeth/rx.h | 3 +-
include/net/netmem.h | 2 +-
include/net/page_pool/helpers.h | 11 ++
include/net/page_pool/types.h | 15 +-
net/core/devmem.c | 2 +-
net/core/page_pool.c | 176 +++++++++++++++---
net/core/page_pool_priv.h | 9 +-
net/core/skbuff.c | 3 +-
net/core/xdp.c | 3 +-
18 files changed, 219 insertions(+), 49 deletions(-)
--
2.33.0