Message ID | 20240103081353.4165445-1-claudiu.beznea.uj@bp.renesas.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-15265-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4891217dyb; Wed, 3 Jan 2024 00:15:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFjYfgFoLus3JF6dDbAnLQFEmYgDlxtk77PTdWRsbhbXvLZANtSAlgsC+yOvvMSqTD4dyla X-Received: by 2002:a50:d602:0:b0:54f:478f:9bbe with SMTP id x2-20020a50d602000000b0054f478f9bbemr13349812edi.37.1704269701092; Wed, 03 Jan 2024 00:15:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704269701; cv=none; d=google.com; s=arc-20160816; b=MrmVZH50wab0et4ypjILmA0V3kldIrdsm6uN3AFhuXr+DVjj8zCr20PjBepbqQGp58 p6NFzhqt0wFBvKm84Ns0gmjoyhmH2IhT84T3QnnNjhEhd/cKaBrt8x4wtX+NdBk1fwLj Gm8qG+S7N2K88UQbUB4D1hfCbjGDDlNBK85UhFZgrR/w1AZ9JWk5j7o6lE1Q/71/XRPQ EZTKn4Uo5BrOrn0KVf18BsB4x1084fbEQB22jbpGJJvAq6tD4+st3J9o95NgtVdFCAyn aHBwxr7Z1qe+/dfIuTgrJ41VKJ5x2RiaEXo0ikE+5FAmSFgkNwVK6y8pf1gd75xxTxAA OMZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=8NLeu4c+70FbWhZWyp8ofXWlavTVRvov3jDdAHZ2Sxs=; fh=ydiiQ7eQvgpsRKBc67+ncsCzJAS6EIfdkBX2AVVi/J0=; b=swlc15NW1ZJfN6MPDbunSxCQY/Gf3FpJT2IS8nuCkTKN+AH9btub9gHQy0kqS7lNzQ cxVxUVlMgX9/+AwO57NiNk4UTmTGOIVMF4A/sRVe0BYtluFq+wNjTVmZLGdNflswwUu3 6rQhTlRlccBlawdBp8id9HQfvnPGVBS07IlEdjCktjYPHmdsTtV2/gZznBCDZ4U7YSNP npat9v49uhiXN8ylRVljgwzgaff9MJFEY2QPnh970QtMo5mcdT6uakN/BoDFew6x56B2 SKc5peB+tOxnmK32ToYTr64hx3eqjD8MucAX5yn8oP1ERkUk1bRDNO4kg77ix9uilBRM sRcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=jQ1a+B7g; spf=pass (google.com: domain of linux-kernel+bounces-15265-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15265-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h5-20020a056402094500b00552fdb627b8si11921967edz.494.2024.01.03.00.15.00 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 00:15:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15265-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=jQ1a+B7g; spf=pass (google.com: domain of linux-kernel+bounces-15265-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15265-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AC33B1F23D6A for <ouuuleilei@gmail.com>; Wed, 3 Jan 2024 08:15:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A0AA41865C; Wed, 3 Jan 2024 08:14:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="jQ1a+B7g" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC4B7182CF for <linux-kernel@vger.kernel.org>; Wed, 3 Jan 2024 08:14:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-555e1bf6475so2515333a12.1 for <linux-kernel@vger.kernel.org>; Wed, 03 Jan 2024 00:14:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1704269649; x=1704874449; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8NLeu4c+70FbWhZWyp8ofXWlavTVRvov3jDdAHZ2Sxs=; b=jQ1a+B7gSzyxbgQZV4hkvbp+uc0g0w7/5s9wqbWqviMZ26rr54LZTlo+F+vUKvLn1s iaqmfKgb9tEwiY70efPVEfIFSw19ULkM+WBBK+wt1cYe1TTNVuEHE7oTpP2nlleM2mnh H2rXjof+LB7LdYeLiTJZhcYbHaGyU7ZSsX9WlthcLPGJcIPJfrHc71sudt0Vl5gqIc9Y jyDvPMo3Hd2VHzN5IkSftL5reJyOzYV3zJOxhHKDkhH2BqwhG1SR1ldo6aBI0nNzQza6 XG/ck1/CZfQf3kJ+vixVAK2oiW8ghl9Dn3XP5CDWh3RqkZks+ll2PTvhvGKGIoT24fq5 y28w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704269649; x=1704874449; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8NLeu4c+70FbWhZWyp8ofXWlavTVRvov3jDdAHZ2Sxs=; b=Xxn1MoH6HFAvCjHjEpA3RLyuoVszzadNTVxEx9LtVIuyEt883EcxnQIVikowbeAvZA rddSrm+SxKDk1K98WAL4Ns+znWW6Y8m0+bcH12jVjsRk+3K1janym+abRwPhmagBHXzJ wpgZe7rHqIcSctfpAjOm8PBTxc0KUDLtxGey/X2pcLwD6KWpRFkCAUGWyqRsl2WX8cdi uWA/up78wNJFF3KTCiBpXVlb9zBX0MCWSWHaAvMVCgWU7u1cq2Q7pJMkC+kE/EMSBQ2Q QOm78bQU996QaN9EesEOvALBh6PaWZLW05NstihFRk1z3ae9gUbT2W9F5vdC3iJHYRlJ em+g== X-Gm-Message-State: AOJu0YzXaYHzdHXqL5nCCHn+6xauyLPgOXbKcyG6NADj5BRRQimI3kVz SDT++JTdKtGG/MeKg460hftAuDiOZfBdSQ== X-Received: by 2002:a05:6402:1617:b0:555:bb88:cba3 with SMTP id f23-20020a056402161700b00555bb88cba3mr4925911edv.27.1704269648765; Wed, 03 Jan 2024 00:14:08 -0800 (PST) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.5]) by smtp.gmail.com with ESMTPSA id cn13-20020a0564020cad00b00554b089f1dcsm13104196edb.38.2024.01.03.00.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 00:14:08 -0800 (PST) From: Claudiu <claudiu.beznea@tuxon.dev> X-Google-Original-From: Claudiu <claudiu.beznea.uj@bp.renesas.com> To: s.shtylyov@omp.ru, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: mitsuhiro.kimura.kc@renesas.com, netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, claudiu.beznea@tuxon.dev, Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Subject: [PATCH v4 0/1] net: ravb: fixes for the ravb driver Date: Wed, 3 Jan 2024 10:13:52 +0200 Message-Id: <20240103081353.4165445-1-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787056305876477230 X-GMAIL-MSGID: 1787056305876477230 |
Series |
net: ravb: fixes for the ravb driver
|
|
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
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!