Message ID | 20240207120733.1746920-1-claudiu.beznea.uj@bp.renesas.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-56463-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2181478dyb; Wed, 7 Feb 2024 04:12:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtK7f0mZ94pzpe80hDKb9hQwdEGgfbwnByD++CE9/UERtn7km0EJQ0Vh4xEVH95Jq9NgrJ X-Received: by 2002:a05:6402:344a:b0:55f:e2be:ec0e with SMTP id l10-20020a056402344a00b0055fe2beec0emr4138859edc.1.1707307963817; Wed, 07 Feb 2024 04:12:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707307963; cv=pass; d=google.com; s=arc-20160816; b=mPUtxuZcJRq536FZqsd133dWIzY5pBYAv8QAmAq2IL4Gd9k4mth0FrFESDe9ikaWdn eacbf0HaD8lWINvD9B+z3amVfnlRaLPZTLTPQrIfQRWYZQzVRL0LA5QKy4ogUQGejg11 OjxuzWKTOGKli3L8XmpYY8E0YftfHRIgZ7PCLdG1o3gJwCgkCv+o4ysw2NUCSgYtPo3v ujH5Uk/6vaqjeV8/cNZCLilY39ER2ncdfItVQV8jINHzzSBKPpskPW6AM+9n7gZ9yo7/ jQI4zGa4ZTciUbMOZ+nlNhWVbp+ItWJ8h3zUhgo4XZ8Oend+Kk25++RRVUIy45hQaeMU vzHg== 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=cFc6eloGSwMPUDaRE6k+RTqrzneAql26eIJ4/C1a2lU=; fh=DF/yBC33U0NJbQBEJPbO2BVJtoULUGtlHjpbwTRZkpk=; b=azfEB8gv6+i4tZxK636dxVJj/DA72+ry+NNddfewvUTmk6Uv3TDauMFT8mzxem4JnQ MmY9rV9xrSY/9IIle0/fUZnYdsqCl0tdgAPkfUTxdsjIg9/USfQJggXUnDCEA8zbY9C7 KoVtTgbdRG9mJzjtRjHtOZ/+hWpHMtkxnGazsJGFegijSuq6j8/zRIdZrn7Qjml2pcjS fW2mjdy2wErbO7aisTyU8YK+hKGrfEdmoQDkS/U+0dijEAoaKLwiaaMfYl+6r+TZI0H3 Xhm+1QAzbtWI/egV1Nw1p6rkm4k75dB6H/tDfcAQgFxk5cvDclQZ2BeEtmmrfmsniymu jmJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=bu2JbaTN; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-56463-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56463-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCWhMBoqG1WvYng+ucPQ9j8+X08xHCanFd+WrtZ8zjtsXbLu/c5LC5Py9JJE9FcZCIKq2fJ+5yMrAnC6nTxPRRZ4SfFgQA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w24-20020a056402129800b005608f0339c2si774732edv.588.2024.02.07.04.12.43 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:12:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56463-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=bu2JbaTN; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-56463-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56463-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 66DC21F28054 for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 12:11:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E37535C8E1; Wed, 7 Feb 2024 12:07:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="bu2JbaTN" Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 C35E95B68D for <linux-kernel@vger.kernel.org>; Wed, 7 Feb 2024 12:07:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707307675; cv=none; b=rMMCnPMeypXmC6XCx8l+xEM0ViL/1FKDLAkg/RujfedH267taxPInxoIZ6/9qrZ34D8V6TNxl+RdsOC/HVBv4qYSBZyklHMIT5oUYUHoQo2h4ZG5J2ieww0nxd8SBcYcQCCWfjtYTWKL6Mtk7tN0WVYeF8QH+HsxiG9tNEJG92U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707307675; c=relaxed/simple; bh=SxlMICegmXdUBxQVVBm2FzksqEV77QNPyRMJh6d+Tbs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=n2VjSo3CnE0VN1toljT93P1E1J3Ze0ZDt9Mo5PjkcFXN3QVr/gzp4bj3N0rYdV8Lgx8aUEBZwuTJ46W5Au+kqMLkI/0I8vDKXCE4FzMsuh8XaudX4gjRoibXlAAk5RW1SwEo0cLJy719e87TO5o1vPoAcnuOQsvaYOy0htwUdIQ= 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=bu2JbaTN; arc=none smtp.client-ip=209.85.221.50 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-f50.google.com with SMTP id ffacd0b85a97d-33b2ee2d1d6so318010f8f.1 for <linux-kernel@vger.kernel.org>; Wed, 07 Feb 2024 04:07:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1707307671; x=1707912471; 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=cFc6eloGSwMPUDaRE6k+RTqrzneAql26eIJ4/C1a2lU=; b=bu2JbaTNXUCq6Nzbt+NZiWf69R8cNzBNPzVYnS6W+lDdtgNpc57eIrxD6t1K7fnSS+ K93EGpajV6is81m0Q0jCATl5rc4fwgpRqoQbOa6Ivxec+ElK6FZuLOw7sAy0Jc8jFffD Iev1+o76mH+LGshekaDhVskMNAInvTeq0nlgsjsaaR5h6uB9iRr4DLBn9zIBzvOm7UOG QHQDTWr+dXWQzFSFrOwXxi5SzQ2jAkaMHm1nOmL0E3lvi2sEZ5unnG+K464832cDsAMD u5lrfZRluYydCngdt8xxHPOniS8881CB6VWyMC653lT9bIv1uSxlF778P2TxysjB/D8j f1ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707307671; x=1707912471; 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=cFc6eloGSwMPUDaRE6k+RTqrzneAql26eIJ4/C1a2lU=; b=rdu3rcq/HLeihbxlBvrBGBx96QiuTqruj19hz5N4y6qPq3cnyHdBMf/+ys6CWVMf2Q XITiH9RXCqRgNe+Txx2rarhEZnwyidjKnP19MyASNKIlIrvOKcLAXJRaP5AmXsPbHlhp eUMB/9MiyAtgwu+QBWD9SuZNMfy290EbNJ/WBs72lMC0bqC0Z74MzY0bSYzByDA5g3Md H/DFRe03X+2lxCR4LJxPXmQStis7QHa70fGp9xooAc5bkfg1aaonNag5P5543ns6gyNg rK9wPiFBmk+i0wu8bsm2nhrQnomSwt77u0C1+9o6T5OtxyLLZwrS0Ch1mbL+02HrT7X0 Fkmw== X-Gm-Message-State: AOJu0YwzQI5INSPc4kGvsAQNnxxq9SzLBwGYZ6gjJG9aiK50mPsZ31bA /vTWo3ZR4yINNukgLpToUEMSujFVpLV7yyK03SR1BSP6VXoxTgB7bMuihY3LbJE= X-Received: by 2002:a5d:4e4e:0:b0:337:8f98:8ab4 with SMTP id r14-20020a5d4e4e000000b003378f988ab4mr2777700wrt.37.1707307670693; Wed, 07 Feb 2024 04:07:50 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWyoRwjcmsp0ARCl+kbxRwBCdodgYGIqvw/qeHxh0qsZdp9vtizAAKbHqV3jD4crNufEV63I8bBgb2UQvzYXkc4M/lCVDLqAWBcV5J7l5AyLjj0rKNlv5eUmHQ4GpCpCf95cjNa0SQoQe0bhJbRxxSWVPiwLmWx0tp0u9YqMGzlPhLpz/rbYwbls1Rwe4XOZ+2lTLTQzKrl9YNCbwVK93vzXTQrYcfp4DwRggzGERY9/tzmij9sfZvMUTZOYlXHYrRJIOnTMEyzMMX1FqTaWXL65Kj4XHvpXaNS+RPeajWel1mEXbqnBItWIHTUSjBsp26dcxVt3Wuj3y4= Received: from claudiu-X670E-Pro-RS.. ([82.78.167.114]) by smtp.gmail.com with ESMTPSA id f2-20020a5d50c2000000b0033b4db744e5sm1363957wrt.12.2024.02.07.04.07.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:07:50 -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: 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 0/5] net: ravb: Add runtime PM support (part 2) Date: Wed, 7 Feb 2024 14:07:28 +0200 Message-Id: <20240207120733.1746920-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: 1790242155380759651 X-GMAIL-MSGID: 1790242155380759651 |
Series |
net: ravb: Add runtime PM support (part 2)
|
|
Message
claudiu beznea
Feb. 7, 2024, 12:07 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 4 more preparation patches (patches 1-4) and patch 5
adds runtime PM support.
Patches in this series were part of [2].
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 (5):
net: ravb: Get rid of 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: Do not apply RX checksum settings to hardware if the
interface is down
net: ravb: Add runtime PM support
drivers/net/ethernet/renesas/ravb_main.c | 118 ++++++++++++++++++-----
1 file changed, 94 insertions(+), 24 deletions(-)