Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3356564pxb; Mon, 17 Jan 2022 18:28:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyi/bdclnIlutcoRWO8kqvNv9Cl3WOZejifuyM8Yld8fOA1Sjr1pS7x/ApDn6fwtj8vAB1R X-Received: by 2002:a63:b341:: with SMTP id x1mr21843720pgt.185.1642472886292; Mon, 17 Jan 2022 18:28:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642472886; cv=none; d=google.com; s=arc-20160816; b=v9rVthizFvo6viHKPErct+HflbARz+EBZHkUTuFpqmBFoYFbpSEHcRtoLuNZvX+dDu w88sFTjptixhj338pHPWbUtPnmbiwyURi64e7ne9ErnDJcnHzP/VTIqwWG6atC4nRpYn Wyj8KAzDsxVKTknXq0z3ZfyiaZn4kUWN7m9qFpTG+CDlOh6LlX8YdMtNFJ+lz8pwmjkx /dGMKQPHmWQ4eZHXhJ7Utw6gYtXpMKBDZjvCXTLyArmvq+Bwi0Lp0HN6/ciLKUuUIdD8 wtxSjpKYRW+P0pk38RV28nSXDVmlVxCoilRLWWZJcPtPpa/E+KEXFhTMd1s2Y5077DJ/ uXEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=Jbe0HW+BpNXr2zTr2B4QeCujK2QnL0I4NkCuSwYd/1A=; b=FXzBAYsKzcIiAQYCq4rkdyzhhdc8ySE9qlDacTq6/m+K00G5w+TA/I40NuRNFBDmUS +/Qh9o+ZVrc/hZ/GKpXr3o37UEZXw5tGEmpJO4X+19M2tEpbNcnpyP0HLhoa3RWFv8jL Nc/GDQLnAjpMCKIqThW7OXYGINx2nFEcE9+87cn+lesaxNjxdhI7ODqqd27UVwt5EYOG PGTE0RFMIbtg1WaTm6vC6Or8AWAKC/F0+mhQuK1b6+M8H/CJiTDL3BfmY+Mmnt/himTj AVNxyfFwFdUGsydYPZKeX9v5tck0tWl0g7zAHXsfx7JrvVwIvKcCeuDBooApRXgW9v3m 9QNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b11si6399870plh.255.2022.01.17.18.27.54; Mon, 17 Jan 2022 18:28:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232060AbiAQNiC convert rfc822-to-8bit (ORCPT + 99 others); Mon, 17 Jan 2022 08:38:02 -0500 Received: from mail-qk1-f173.google.com ([209.85.222.173]:44683 "EHLO mail-qk1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230190AbiAQNiB (ORCPT ); Mon, 17 Jan 2022 08:38:01 -0500 Received: by mail-qk1-f173.google.com with SMTP id t1so2837055qkt.11; Mon, 17 Jan 2022 05:38:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Vgyxr7ztzV60Xeh7Q7gRuypGNAwuqlHo855fT6ZQ17E=; b=PiUDFWDBmU1+9vD4LZmuVbR65V+lCU9F7loiGmX1eZujZTseE8D/3n5/gK3z/DarOl FgwlLnRenmiBBehgtd+rIidprM7p26l03tsCuJVY7kl8KZzV0a1AFr3PCeKYdgLuovtN 2PdoJ8xqSuQS6GjvwpU+2RKSBgGaWEjWiOCWnzZYMn4Huncw/C10BepaY4pUZy1ldVCa kLm/aFCLHPSYgIHItB/kpxYZSi0Y7BaXC1NX5cXIlQOx51n4h7chhUGHKfvEYlERUgzr sm+HTEDGRnSwkKCgZAgjiS0Bbv6Wciam5yS9ZNeKlgBX+ghOzHxthf3qvzbvcMBqFNMG qZcg== X-Gm-Message-State: AOAM533pUQzBzSmKA6RUzx1GGUD6jpJgwso7Shooe9JhEx+JDWnegzkK XP/hCP60M1k6g83EqfYgI23+N+rJJGNE3PtveCI= X-Received: by 2002:a05:620a:4714:: with SMTP id bs20mr2943693qkb.8.1642426680287; Mon, 17 Jan 2022 05:38:00 -0800 (PST) MIME-Version: 1.0 References: <20220107181723.54392-1-paul@crapouillou.net> In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 17 Jan 2022 14:37:45 +0100 Message-ID: Subject: Re: [PATCH v3 0/6] DEV_PM_OPS macros rework v3 To: Paul Cercueil Cc: "Rafael J . Wysocki" , Ulf Hansson , Jonathan Cameron , Lars-Peter Clausen , Linus Walleij , Arnd Bergmann , Len Brown , Pavel Machek , list@opendingux.net, linux-iio@vger.kernel.org, Linux Kernel Mailing List , "open list:BROADCOM NVRAM DRIVER" , linux-mmc , Linux PM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sun, Jan 16, 2022 at 1:05 PM Paul Cercueil wrote: > > Hi Rafael, > > Could patches [1/6] and [2/6] make it to 5.17-rc1, or at least -rc2? Yes. I'm going to send a PR with the whole series later today. > I'm afraid that if these two have to wait for the 5.18 cycle, then I'll > have more drivers to fix later. > > Should I add a Fixes tag maybe? No need, thanks! > Le ven., janv. 7 2022 at 18:17:17 +0000, Paul Cercueil > a écrit : > > Hi, > > > > A V2 of my patchset that tweaks a bit the *_DEV_PM_OPS() macros that > > were introduced recently. > > > > Changes since V2: > > * [1/6]: - Keep UNIVERSAL_DEV_PM_OPS() macro deprecated > > - Rework commit message > > * [3/6]: - Reorder the code to have non-private macros together in the > > file > > - Add comment about the necesity to use the new export macro > > when the dev_pm_ops has to be exported > > * [5/6]: Add comment about the necesity to use the new export macro > > when the dev_pm_ops has to be exported > > > > Cheers, > > -Paul > > > > Paul Cercueil (6): > > PM: core: Remove DEFINE_UNIVERSAL_DEV_PM_OPS() macro > > PM: core: Remove static qualifier in DEFINE_SIMPLE_DEV_PM_OPS macro > > PM: core: Add EXPORT[_GPL]_SIMPLE_DEV_PM_OPS macros > > PM: runtime: Add DEFINE_RUNTIME_DEV_PM_OPS() macro > > PM: runtime: Add EXPORT[_GPL]_RUNTIME_DEV_PM_OPS macros > > iio: pressure: bmp280: Use new PM macros > > > > drivers/iio/pressure/bmp280-core.c | 11 ++---- > > drivers/iio/pressure/bmp280-i2c.c | 2 +- > > drivers/iio/pressure/bmp280-spi.c | 2 +- > > drivers/mmc/host/jz4740_mmc.c | 4 +-- > > drivers/mmc/host/mxcmmc.c | 2 +- > > include/linux/pm.h | 55 > > ++++++++++++++++++++++-------- > > include/linux/pm_runtime.h | 24 +++++++++++++ > > 7 files changed, 71 insertions(+), 29 deletions(-) > > > > -- > > 2.34.1 > > > >