public inbox for imx@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/2] net: enetc: improve the interface for obtaining phc_index
@ 2025-09-19  8:45 Wei Fang
  2025-09-19  8:45 ` [PATCH v2 net-next 1/2] net: enetc: fix sleeping function called from rcu_read_lock() context Wei Fang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Wei Fang @ 2025-09-19  8:45 UTC (permalink / raw)
  To: claudiu.manoil, vladimir.oltean, xiaoning.wang, yangbo.lu,
	richardcochran, andrew+netdev, davem, edumazet, kuba, pabeni,
	Frank.Li
  Cc: imx, netdev, linux-kernel

The first patch is to fix the issue that a sleeping function is called
in the context of rcu_read_lock(). The second patch is to use the generic
API instead of the custom API to get phc_index. In addition, the second
patch depends on the first patch to work.

Note, the first patch is a fix, but the issue does not exist in the net
tree, so the target tree is net-next.

---
v2 changes:
1. Add patch 1 to fix the issue that sleeping function called from
   invalid context
2. Fix the build warning of patch 2.
v1 link: https://lore.kernel.org/netdev/20250918074454.1742328-1-wei.fang@nxp.com/
---

Wei Fang (2):
  net: enetc: fix sleeping function called from rcu_read_lock() context
  net: enetc: use generic interfaces to get phc_index for ENETC v1

 drivers/net/ethernet/freescale/enetc/enetc.h  |  3 --
 .../ethernet/freescale/enetc/enetc_ethtool.c  | 29 ++++++++-----------
 .../net/ethernet/freescale/enetc/enetc_ptp.c  |  5 ----
 3 files changed, 12 insertions(+), 25 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-09-22 19:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-19  8:45 [PATCH v2 net-next 0/2] net: enetc: improve the interface for obtaining phc_index Wei Fang
2025-09-19  8:45 ` [PATCH v2 net-next 1/2] net: enetc: fix sleeping function called from rcu_read_lock() context Wei Fang
2025-09-19  8:45 ` [PATCH v2 net-next 2/2] net: enetc: use generic interfaces to get phc_index for ENETC v1 Wei Fang
2025-09-22 11:41 ` [PATCH v2 net-next 0/2] net: enetc: improve the interface for obtaining phc_index Vladimir Oltean
2025-09-22 19:00 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox