mbox series

[v4,0/1] net: ravb: fixes for the ravb driver

Message ID 20240103081353.4165445-1-claudiu.beznea.uj@bp.renesas.com (mailing list archive)
Headers show
Series net: ravb: fixes for the ravb driver | expand

Message

claudiu beznea Jan. 3, 2024, 8:13 a.m. UTC
From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>

Hi,

Series adds one fix for the ravb driver to wait for the operating
mode to be applied by hardware before proceeding.

Thank you,
Claudiu Beznea

Change in v4:
- rephrase a paragraph from patch description
- added a comment in ravb_set_opmode()
- collected Rb tag

Changes in v3:
- s/csr_opmode/csr_ops in ravb_set_opmode()
- mask opmode with CCC_OPC when retrieveing csr_ops
- in ravb_set_opmode() updated modify mask passed to ravb_modify() to
  include GAC and CSEL bits if these are part of opmode
- s/failed to switch device to config mode/failed to switch device to
  requested mode/ in ravb_set_opmode()
- s/operation/operating in the title of patch 1/1

Changes in v2:
- dropped patch 2/2 from v1 ("net: ravb: Check that GTI loading request is
  done")
- kept a single "Fixes" entry in commit description
- updated commit description for patch 1/1
- introduce ravb_set_opmode() that does all the necessities for
  setting the operating mode (set DMA.CCC and wait for CSR.OPS) and call it
  where needed; this should comply with all the HW manuals requirements as
  different manual variants specify different modes need to be checked in
  CSR.OPS when setting DMA.CCC.

Claudiu Beznea (1):
  net: ravb: Wait for operating mode to be applied

 drivers/net/ethernet/renesas/ravb_main.c | 65 +++++++++++++++---------
 1 file changed, 42 insertions(+), 23 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 4, 2024, 11 a.m. UTC | #1
Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

On Wed,  3 Jan 2024 10:13:52 +0200 you wrote:
> From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
> 
> Hi,
> 
> Series adds one fix for the ravb driver to wait for the operating
> mode to be applied by hardware before proceeding.
> 
> [...]

Here is the summary with links:
  - [v4,1/1] net: ravb: Wait for operating mode to be applied
    https://git.kernel.org/netdev/net/c/9039cd4c6163

You are awesome, thank you!