From: "Radu Pirea (OSS)" <radu-nicolae.pirea@oss.nxp.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk,
davem@davemloft.net, edumazet@google.com, pabeni@redhat.com,
richardcochran@gmail.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, sebastian.tobuschat@nxp.com,
stable@vger.kernel.org
Subject: Re: [PATCH net v3 1/1] net: phy: nxp-c45-tja11xx: fix the PTP interrupt enablig/disabling
Date: Wed, 21 Jun 2023 19:18:28 +0300 [thread overview]
Message-ID: <b7365082-55e4-44c4-88d7-3d5c65de8406@oss.nxp.com> (raw)
In-Reply-To: <20230620203145.2da7c958@kernel.org>
Hi Jakub,
On 21.06.2023 06:31, Jakub Kicinski wrote:
> On Mon, 19 Jun 2023 16:28:51 +0300 Radu Pirea (NXP OSS) wrote:
>> Subject: [PATCH net v3 1/1] net: phy: nxp-c45-tja11xx: fix the PTP interrupt enablig/disabling
>
> typo: enablig -> enabling
>
>> .config_intr() handles only the link event interrupt and should
>> disable/enable the PTP interrupt also.
>
> I don't understand this sentence, TBH, could you rephrase? >
>> Fixes: 514def5dd339 ("phy: nxp-c45-tja11xx: add timestamping support")
>
> For a fix we really need to commit message to say what the problem is,
> in terms which will be understood by the user. User visible behavior.
If tools like ptp4l are killed, will leave egress timestamp interrupt
enabled. And I would like to say that I was able to trigger any bug
related to this, but I wasn't. So, I don't have any bad behaviour to
describe :)
However, now I realize that disabling all the PTP IRQs is not a smart
way to fix this virtual pseudo issue.
>
>> CC: stable@vger.kernel.org # 5.15+
>> Signed-off-by: Radu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com>
>> ---
>>
>> Where is V1?
>> https://patchwork.kernel.org/project/netdevbpf/patch/20230410124856.287753-1-radu-nicolae.pirea@oss.nxp.com/
>>
>> Where is V2?
>> https://patchwork.kernel.org/project/netdevbpf/patch/20230616135323
>
> This link looks cut off.
https://patchwork.kernel.org/project/netdevbpf/patch/20230616135323.98215-2-radu-nicolae.pirea@oss.nxp.com/
>
>> + /* 0x807A register is not present on SJA1110 PHYs. */
>
> Meaning? It's safe because the operation will be ignored?
Yes. The PHY will ignore the writes and will return 0 on reads.
> --
> pw-bot: cr
--
Radu P.
prev parent reply other threads:[~2023-06-21 16:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-19 13:28 Radu Pirea (NXP OSS)
2023-06-19 13:57 ` Andrew Lunn
2023-06-21 3:31 ` Jakub Kicinski
2023-06-21 16:18 ` Radu Pirea (OSS) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b7365082-55e4-44c4-88d7-3d5c65de8406@oss.nxp.com \
--to=radu-nicolae.pirea@oss.nxp.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
--cc=sebastian.tobuschat@nxp.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®