[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250220165212.62bs6p6tzl33tc24@skbuf>
Date: Thu, 20 Feb 2025 18:52:12 +0200
From: Vladimir Oltean <vladimir.oltean@....com>
To: Wei Fang <wei.fang@....com>
Cc: claudiu.manoil@....com, xiaoning.wang@....com, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, ioana.ciornei@....com, yangbo.lu@....com,
michal.swiatkowski@...ux.intel.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, imx@...ts.linux.dev,
stable@...r.kernel.org
Subject: Re: [PATCH v2 net 4/9] net: enetc: VFs do not support
HWTSTAMP_TX_ONESTEP_SYNC
On Wed, Feb 19, 2025 at 01:42:42PM +0800, Wei Fang wrote:
> Actually ENETC VFs do not support HWTSTAMP_TX_ONESTEP_SYNC because only
> ENETC PF can access PMa_SINGLE_STEP registers. And there will be a crash
> if VFs are used to test one-step timestamp, the crash log as follows.
>
> [ 129.110909] Unable to handle kernel paging request at virtual address 00000000000080c0
> [ 129.287769] Call trace:
> [ 129.290219] enetc_port_mac_wr+0x30/0xec (P)
> [ 129.294504] enetc_start_xmit+0xda4/0xe74
> [ 129.298525] enetc_xmit+0x70/0xec
> [ 129.301848] dev_hard_start_xmit+0x98/0x118
>
> Fixes: 41514737ecaa ("enetc: add get_ts_info interface for ethtool")
> Cc: stable@...r.kernel.org
> Signed-off-by: Wei Fang <wei.fang@....com>
> ---
Reviewed-by: Vladimir Oltean <vladimir.oltean@....com>
Tested-by: Vladimir Oltean <vladimir.oltean@....com>
Powered by blists - more mailing lists