All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ramon Fried <rfried.dev@gmail.com>
To: "Camelia Alexandra Groza (OSS)" <camelia.groza@oss.nxp.com>
Cc: Markus Koch <markus@notsyncing.net>,
	 "joe.hershberger@ni.com" <joe.hershberger@ni.com>,
	"Madalin Bucur (OSS)" <madalin.bucur@oss.nxp.com>,
	 Ioana Ciornei <ioana.ciornei@nxp.com>,
	"u-boot@lists.denx.de" <u-boot@lists.denx.de>
Subject: Re: [PATCH v3] net: fsl: Fix busy flag polling register
Date: Sat, 15 Jan 2022 18:53:36 +0200	[thread overview]
Message-ID: <CAGi-RUKnWEAaXNrRNNe8L9yZfhtOEM-t+=sfOy4Ci1mnJxecSw@mail.gmail.com> (raw)
In-Reply-To: <VI1PR04MB5807885F9A63475EB65EF8E4F2529@VI1PR04MB5807.eurprd04.prod.outlook.com>

On Wed, Jan 12, 2022 at 12:50 PM Camelia Alexandra Groza (OSS)
<camelia.groza@oss.nxp.com> wrote:
>
> > -----Original Message-----
> > From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Markus Koch
> > Sent: Tuesday, January 11, 2022 20:23
> > To: Camelia Alexandra Groza <camelia.groza@nxp.com>;
> > joe.hershberger@ni.com; rfried.dev@gmail.com
> > Cc: Madalin Bucur (OSS) <madalin.bucur@oss.nxp.com>; Ioana Ciornei
> > <ioana.ciornei@nxp.com>; u-boot@lists.denx.de; Markus Koch
> > <markus@notsyncing.net>
> > Subject: [PATCH v3] net: fsl: Fix busy flag polling register
> >
> > NXP's mEMAC reference manual, Chapter 6.5.5 "MDIO Ethernet
> > Management
> > Interface usage", specifies to poll the BSY (0) bit in the CFG/STAT
> > register to wait until a transaction has finished, not bit 31 in the
> > data register.
> >
> > In the Linux kernel, this has already been fixed in commit 26eee0210ad7
> > ("net/fsl: fix a bug in xgmac_mdio").
> >
> > This patch changes the register in the fman_mdio and fsl_ls_mdio
> > drivers.
> >
> > As the MDIO_DATA_BSY define is no longer in use, this patch also removes
> > its definition from the fsl_memac header.
> >
> > Signed-off-by: Markus Koch <markus@notsyncing.net>
> > ---
> > v1->v2:
> >       * Fix register
> > v2->v3:
> >       * Also apply fix to fsl_ls_mdio
> >       * Add note about define-removal in commit message
> >
> > Thanks, Camelia!
>
> Thanks for the patch.
>
> Reviewed-by: Camelia Groza <camelia.groza@nxp.com>
>
Applied to u-boot-net/next
Thanks !

      reply	other threads:[~2022-01-15 16:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-11 18:22 [PATCH v3] net: fsl: Fix busy flag polling register Markus Koch
2022-01-12 10:50 ` Camelia Alexandra Groza (OSS)
2022-01-15 16:53   ` Ramon Fried [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='CAGi-RUKnWEAaXNrRNNe8L9yZfhtOEM-t+=sfOy4Ci1mnJxecSw@mail.gmail.com' \
    --to=rfried.dev@gmail.com \
    --cc=camelia.groza@oss.nxp.com \
    --cc=ioana.ciornei@nxp.com \
    --cc=joe.hershberger@ni.com \
    --cc=madalin.bucur@oss.nxp.com \
    --cc=markus@notsyncing.net \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.