Message ID | 20240214135800.2674435-1-claudiu.beznea.uj@bp.renesas.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-65304-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1228207dyb; Wed, 14 Feb 2024 05:59:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWm2d4XDvLZKWBRqhGwrwIZNfEqKQWVFHqQImHe/ZPlmsjdoug8dclv3pu4RRDKHrOMpjPnavKfYjB/B+/ktjuKxq3GIg== X-Google-Smtp-Source: AGHT+IHg9TtIgqLA99DTn3zeShSct9XXKgLvAtefYrqF4Lq0uyvRH6ufaqAuJT7dYOHjWPq68qBF X-Received: by 2002:a05:620a:4d11:b0:787:1668:50a9 with SMTP id wa17-20020a05620a4d1100b00787166850a9mr3007798qkn.10.1707919182188; Wed, 14 Feb 2024 05:59:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707919182; cv=pass; d=google.com; s=arc-20160816; b=nnyoASIqDYVEcAUCJVv2AsDspTreG4AmdJ9R7H+64XIUQLXJ/Jbgtvg6ucnY14v9J6 HCmQ7KQXBw9kEZU5T4yXHRgZ9SXmsbZ7L4bFdvdarPcA/KUHXDNU1RvKu0gEKbPcNfSQ q9d0kmYIN3H9MxOgBhQu2g1OSD3UjQyGe8BCH3KzZ3/jFLYTfhkFz55M3AV72aj89ws7 3J3601P/EF+iJcI0UPt59DExP5mum9Bit+8WjAF1RGMYpnKJsNRDxYPUJMh3lLspfWmh Iy4NMi1GFlWs0aLiXdRTsizQ0L8il+VOIzYN7+Qu5jeIqTO+2MAdjHZ+Kp8+EYcMhLXb YAcw== ARC-Message-Signature: i=2; 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=v2Q2Z0kn1NfJ1eM/+pIgOtt+zWhQbGntnuOFYjaTGg4=; fh=i9i4oRorAho+1ZlKo0BZ4fLZYhlOEs+FiLrQgzHjHH8=; b=OtO30VA2bP3tqajc+rKJ1ELZunIElt2Yx4DIiI59VuYkM5MOrOEtjdKSOeuenD9vLD of2Fh1XW/fXyM/JYTp0fiCT4o1QMHB+zzcFvE6ArUT5SQyu2T5f4r72lzCpi4bh5f+Fp 00AAdD1Y2yeE2RBjuHJ1o6pTdwAtPO1dPKlWyhIsHfoSOX65dDG/DT2G0cU4BAl9cORH /q6T0Qg1lz6/qKD5UjTZG9v+2LTgcRgbd1qnk2kb6kS/lYbXD1CrSOk21+KC3uYK3YVt CmWfEATUXJF/SHoSzhpJpWTQR2ds0rq/5lWm19TbQp6VJALS/VLqQXJQO0Nb8OUzaF0m QLMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=AsssQ2ej; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-65304-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65304-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXOGE07obOkVFmELSElErEw5Vst+AAvzYwOiqv3x+Nm00RVmY9ZPXxIsOVjaQm/EHvP506sE8AcphsIOBHhPNQOZnSgPQ== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d12-20020a05620a204c00b007832f29a421si10316530qka.361.2024.02.14.05.59.42 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 05:59:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65304-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=AsssQ2ej; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-65304-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65304-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 021861C21759 for <ouuuleilei@gmail.com>; Wed, 14 Feb 2024 13:59:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 49CD95579A; Wed, 14 Feb 2024 13:58:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="AsssQ2ej" Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 1BD7F54F83 for <linux-kernel@vger.kernel.org>; Wed, 14 Feb 2024 13:58:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707919128; cv=none; b=alxryKP8uMC5hfwKd+0sOBVVzZNId7bMId7f73RF6yRYHKi/uaNBjDKls6AkzvjQL0jPGZlYjPD4/pzExcXdfqyOgrP2i0SQzfoVrhNP7YU06h/5kzELF2HGrFvgNZarVXRNDXddD2sC8nJc8/To5eP/inYmlhdOnAwKlionmIo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707919128; c=relaxed/simple; bh=QTo2vaKjibWxTlfxwFldo69+DAlArXcmbGu8z0hzYRM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=KL/nhI8sCSEhjupfVjutJHnbAw33Sod+6X0NntauhRL/TN2EpBAfnrQdY4cePVASvqIVPIgwp3PDGV+rV+7EhMu6zkEhXfi4Y3qYcBeGSuYVFNQ7VDF2Ed+qziKI+LslQld6xSTcIRJNG0BkwYENTULUrUF06ed62Nn26h/e/OM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=AsssQ2ej; arc=none smtp.client-ip=209.85.221.52 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-wr1-f52.google.com with SMTP id ffacd0b85a97d-33cdedb40c4so987057f8f.2 for <linux-kernel@vger.kernel.org>; Wed, 14 Feb 2024 05:58:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1707919124; x=1708523924; 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=v2Q2Z0kn1NfJ1eM/+pIgOtt+zWhQbGntnuOFYjaTGg4=; b=AsssQ2ej7zhSw+J/gtV6ynao+YDWXqOlEZHxHeSJsV6t3g5vbegZZGthpJ+v/Oz1NC XQtDjMkOToolIUWNfvfhZ/XfkUcCh1On24v5hLbc5c9F+sUqFPbbq6kVYnSJBGSku5E7 Wh5ddpQaSYh+G2gtipZWdQY1Fx+Mg5hPnCXkROvcqQ4F8lRc+XxgxUkcdkGwmbHQZ2kr BZUEtZ+4pP3H+S7ymU/0XyXyeeiD0eGUHoT9hc91q6zDyRb2x9gScA5jcTGMepDXL2V3 C1EKJumpdYxAS+BJUAFYwI8BdZsTsmxjkwJXx7iTkcj4LPUaK6Ru3caAuai/h+7dtIEn rS2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707919124; x=1708523924; 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=v2Q2Z0kn1NfJ1eM/+pIgOtt+zWhQbGntnuOFYjaTGg4=; b=pGLP4mi5Ka3i5Ro7/iY4lzBKkPA93K3wEF3j7b0AkTjjAvhnDXMfao8X6/dLWJS6qv gLcYoJ/TU3ziq+n0O0vY1BstpYKZAnLV2iPvW+aqt7z1qYwWY9rG/I3yF4VwyA/exQi/ 1FFeNhKyyxo9ACaE+tawBB7l+aHvkgEeIsHBwJtiapjaWwW0dhZFTdCO5eA5HCJnpddN cg/ouWKLlXHDHKZCRf6OboLDX4I9S34eHvrBvniwAbdoVcvhHmG6Cz3IirpArIxLbVKa 0q1iL8Bx8ijvKzNEhviJggVmrx4lQQuCKV7Sd2r8YamFqvsgMzghpN1cThEpBZtu4pe4 Jjkw== X-Forwarded-Encrypted: i=1; AJvYcCWIpH3+VloIZ4fU2xtjdSRoEUTtki0d8XvFOkYZlKH7UDorteYf1Ao9ko9LwojF1GwaZEh+997MpM6rPxzNIKZY+Itj2ACfNxZ5xfwO X-Gm-Message-State: AOJu0YzRtiKGTN/C+HEnQ2d5eFbW5HeSZ7SbTmNZr3ueXAmaI6yNLURc rQs0uuJoJ1PEBp7lrLPiIXRlbvyrGBCT56K2AN+yDWE67Whoq0dh/T2/x4NA4OA= X-Received: by 2002:a5d:6a8a:0:b0:33b:5590:c0d8 with SMTP id s10-20020a5d6a8a000000b0033b5590c0d8mr2032758wru.8.1707919123924; Wed, 14 Feb 2024 05:58:43 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCW0KIs0Wvg3WpjPl1XhfNrCXJ3W1SDOeAr5Cgfi0e4/ooyOaf6/goMabQ+NX/EXdTcgZuv2E7d9jxAN/aYO5mG/8plYFjQQWp18idSRI/rR2DnpuQhbyP3V3OJMqvMTSRAaMdirXYE2GLPQCNAibc6o2KUt75RsooJZXPFH+BN5WGnQrnJXPxmweTRPz9oKzsN8ln1ql4CeqYlmBCVd0BjH0vhs91vHDZKKcr41QmrJPThvAQ7dPLt1vpt919a5Enx6jQSE9gwzfC73ZLAhDnphiideF9Muz/GFke4sqBqW4oxWX40I/wPmkeET86Fi+giydpG5pxvpjktH4A5zOiSSEcVqbBjLxsb24PueU2YKkVYU2vU9 Received: from claudiu-X670E-Pro-RS.. ([82.78.167.20]) by smtp.gmail.com with ESMTPSA id f15-20020adff58f000000b0033cdbebfda7sm4282140wro.14.2024.02.14.05.58.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 05:58:43 -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, biju.das.jz@bp.renesas.com Cc: 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 net-next v4 0/6] net: ravb: Add runtime PM support (part 2) Date: Wed, 14 Feb 2024 15:57:54 +0200 Message-Id: <20240214135800.2674435-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: 1790883064104653682 X-GMAIL-MSGID: 1790883064104653682 |
Series |
net: ravb: Add runtime PM support (part 2)
|
|
Message
claudiu beznea
Feb. 14, 2024, 1:57 p.m. UTC
From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Hi,
Series adds runtime PM support for the ravb driver. This is a continuation
of [1].
There are 5 more preparation patches (patches 1-5) and patch 6
adds runtime PM support.
Patches in this series were part of [2].
Changes in v4:
- remove unnecessary code from patch 4/6
- improve the code in patch 5/6
Changes in v3:
- fixed typos
- added patch "net: ravb: Move the update of ndev->features to
ravb_set_features()"
- changes title of patch "net: ravb: Do not apply RX checksum
settings to hardware if the interface is down" from v2 into
"net: ravb: Do not apply features to hardware if the interface
is down", changed patch description and updated the patch
- collected tags
Changes in v2:
- address review comments
- in patch 4/5 take into account the latest changes introduced
in ravb_set_features_gbeth()
Changes since [2]:
- patch 1/5 is new
- use pm_runtime_get_noresume() and pm_runtime_active() in patches
3/5, 4/5
- fixed higlighted typos in patch 4/5
[1] https://lore.kernel.org/all/20240202084136.3426492-1-claudiu.beznea.uj@bp.renesas.com/
[2] https://lore.kernel.org/all/20240105082339.1468817-1-claudiu.beznea.uj@bp.renesas.com/
Claudiu Beznea (6):
net: ravb: Get rid of the temporary variable irq
net: ravb: Keep the reverse order of operations in ravb_close()
net: ravb: Return cached statistics if the interface is down
net: ravb: Move the update of ndev->features to ravb_set_features()
net: ravb: Do not apply features to hardware if the interface is down
net: ravb: Add runtime PM support
drivers/net/ethernet/renesas/ravb_main.c | 132 ++++++++++++++++++-----
1 file changed, 103 insertions(+), 29 deletions(-)
Comments
Hello: This series was applied to netdev/net-next.git (main) by David S. Miller <davem@davemloft.net>: On Wed, 14 Feb 2024 15:57:54 +0200 you wrote: > From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> > > Hi, > > Series adds runtime PM support for the ravb driver. This is a continuation > of [1]. > > [...] Here is the summary with links: - [net-next,v4,1/6] net: ravb: Get rid of the temporary variable irq https://git.kernel.org/netdev/net-next/c/a260f080660e - [net-next,v4,2/6] net: ravb: Keep the reverse order of operations in ravb_close() https://git.kernel.org/netdev/net-next/c/a5f149a97d09 - [net-next,v4,3/6] net: ravb: Return cached statistics if the interface is down https://git.kernel.org/netdev/net-next/c/bbf2345fa658 - [net-next,v4,4/6] net: ravb: Move the update of ndev->features to ravb_set_features() https://git.kernel.org/netdev/net-next/c/7bddccc9911c - [net-next,v4,5/6] net: ravb: Do not apply features to hardware if the interface is down https://git.kernel.org/netdev/net-next/c/a71a50e391bf - [net-next,v4,6/6] net: ravb: Add runtime PM support https://git.kernel.org/netdev/net-next/c/48f894ab07c4 You are awesome, thank you!