Re: [PATCH v2 net 4/9] net: enetc: VFs do not support HWTSTAMP_TX_ONESTEP_SYNC
From: Vladimir Oltean
Date: Thu Feb 20 2025 - 11:56:26 EST
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@xxxxxxxxxxxxxxx
> Signed-off-by: Wei Fang <wei.fang@xxxxxxx>
> ---
Reviewed-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
Tested-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>