Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6846787rwp; Tue, 18 Jul 2023 06:45:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlFT5jPi7VhDysyyJ4EryG8FR0ow9G3+/pGQy5HQq5Sylel+rg3y9yI3rv8gvrf+j7BvHfQV X-Received: by 2002:a17:903:446:b0:1b8:6cae:4400 with SMTP id iw6-20020a170903044600b001b86cae4400mr11695588plb.37.1689687913196; Tue, 18 Jul 2023 06:45:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689687913; cv=none; d=google.com; s=arc-20160816; b=HLTFz9FSfefr45bFC4hEowqIzmWNWXHB5mnzY33CB39mK0v6LmYMfOUsKgUTTw6N6A cp/KTeodIKolXeFjhr68rd0OhiMQZVHDwshtet1a6MqO36yGJxBFeq+pSvGC3mkXQdVr GAREsXfoyJc7vvYJP1pbyK3K+f+sBrOzKKIB1nbcjEOeAdpfhXs0jBv7dEm08ZZUN9EG hlgv12vnsiflVq1S1w4e2G2YWPFWU9PcJWcpMSbmzOllavJiK8DAoRiKHeq9pRjRUb7/ 3FRkJ6EYr9ea/lE2r5rgdc/u2ZQgQ9iwsfnER/VXkwgc+kIZBFhgacOwYO1wsdLVhlZB pbMQ== 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 :dkim-signature; bh=b/2563u5cOH3TFQnC6K2RUUtmAlaSoZJQm9HbnJPi6A=; fh=NjJ41NuZ+iUqIj6nJdstxuegyR9yjDmNA3l57xuU7dg=; b=JSP/chfbtUK9IFnI55t3u+ZZqezymsXEqje8NLjQi5TJAcO3RlqkbH2A2hI8NGHL/j qS1khVpxQe7r7l9woLwzMKbdOyHSZx87e7iA199n757J0Gm02gIpdAWV21oNrAyegDJo bHU3cW/t68gNjMxv+KfgXDZF0/FWiM3Y0lRGg0v7Enw7aipdlnz9/IN9a9WjC6P44gBz SBYDd0EbO1bbvQUrDmGaxKtudoTX7j0CqmfIOMHNb4PNMf3JawKJPRDFsijKkdZLgFUI bJyydgQxkfZEnaXt3WXUSfg3OGh266Z/N9rE1A5bNVw6Axo595sBYENX6umtQ6LIFJZ0 G7/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=iKKsUwLs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cp1-20020a170902e78100b001b5006b87c0si1655108plb.139.2023.07.18.06.45.00; Tue, 18 Jul 2023 06:45:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=iKKsUwLs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232234AbjGRMvS (ORCPT + 99 others); Tue, 18 Jul 2023 08:51:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232218AbjGRMvP (ORCPT ); Tue, 18 Jul 2023 08:51:15 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B2511701; Tue, 18 Jul 2023 05:51:13 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-99454855de1so504566866b.2; Tue, 18 Jul 2023 05:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689684671; x=1692276671; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=b/2563u5cOH3TFQnC6K2RUUtmAlaSoZJQm9HbnJPi6A=; b=iKKsUwLsrqwRmioG2l6VIuQCDdWIS+x7OvqTLH5gDfCTMpT+PYaav8SRQuyzIFdRK7 xzPpn4SashCJNbr5fW/ErJIsUpoaGXJaa+RJDZXBKScdLc02p9LndavEuCl4RQRnTX9h 3ZTYVLgnXzWVBt8H0toSOGPpXH28ikivdDHOj1voaDmtk6XEmYRXA+wPRH6qnqnMH4/M MPPAAXs/tmbovBrq6LkwpfZneVLY35A9HrthHuwr/Qwc9fyuZI/3MgISQ6meI/VrFnCP tCX7kFl6R7ED8YzzGfuqQfjnxbmJBTqYBWAXcYkNxgO+oztxChqdSdyATVA6ufkBPUId 3lwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689684671; x=1692276671; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b/2563u5cOH3TFQnC6K2RUUtmAlaSoZJQm9HbnJPi6A=; b=BfKZ3TtwoKD9PKWIBK0qtNP01SzzdW7o/cmkH/UdHZ1cMTmp0UHeBmQjdSw/f8Iwyk q75eQlJT5khdHuvOozHAry9XA+CKqOWPcug2LAReb04eRywT+ZjLsnTkMK2s2agokvSt sQFee0iwlL01oN+tjlqCHDgms9AgGta+PWl1BLaNLiDcxnFyHV4+aYZcmhxsF0V58Zbu FJCHNf1J4S11rIWQA6iTaFFUd688BeG/emoGnZ1Xhk249AoKI25s06jYhUVvzsvdPbdT 6Z9ZkmBZGWnLtyUEFqg31N87Mwmvy2uSJGtn/TzU+HQgLu2kPceidvT3aSrH+ZJWYBcv XYeQ== X-Gm-Message-State: ABy/qLb61LkyjXSSpVNSVnJjynICkDJN7CALlJk3LBWUUUYDj5TR3/Np dt9xvnnylCrpkSMSFLLstMH3BGBbI8xMZTRIJ18= X-Received: by 2002:a17:906:749c:b0:994:5544:3aea with SMTP id e28-20020a170906749c00b0099455443aeamr10270194ejl.51.1689684671561; Tue, 18 Jul 2023 05:51:11 -0700 (PDT) MIME-Version: 1.0 References: <20230717172821.62827-1-andriy.shevchenko@linux.intel.com> <20230717172821.62827-11-andriy.shevchenko@linux.intel.com> <13f7153786cfcdc3c6185a3a674686f7fbf480dc.camel@crapouillou.net> <5e4b5bc23f3edb3ed30cb465420a51ffceceb53d.camel@crapouillou.net> <8f32cb8377808a073b043e0adf3ccf5ae5a84c92.camel@crapouillou.net> In-Reply-To: <8f32cb8377808a073b043e0adf3ccf5ae5a84c92.camel@crapouillou.net> From: Andy Shevchenko Date: Tue, 18 Jul 2023 15:50:35 +0300 Message-ID: Subject: Re: [PATCH v2 10/10] pinctrl: tegra: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper To: Paul Cercueil Cc: Thierry Reding , Andy Shevchenko , Mika Westerberg , Linus Walleij , Balsam CHIHI , Claudiu Beznea , Geert Uytterhoeven , Wolfram Sang , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, Andy Shevchenko , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Ludovic Desroches , Nicolas Ferre , Alexandre Belloni , Jonathan Hunter , "Rafael J. Wysocki" , Len Brown , Pavel Machek Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 18, 2023 at 2:55=E2=80=AFPM Paul Cercueil wrote: > Le mardi 18 juillet 2023 =C3=A0 13:41 +0200, Thierry Reding a =C3=A9crit = : > > On Tue, Jul 18, 2023 at 10:42:47AM +0200, Paul Cercueil wrote: ... > > Looking at the definition of EXPORT_GPL_DEV_PM_OPS(), it will cause > > an > > EXPORT_SYMBOL_GPL() to be added. So there very well is a change. And > > it's a completely bogus change because no module is ever going to use > > that symbol. If we were to ever support building the pinctrl driver > > as > > a module, then this would perhaps make sense, but we don't. > > In this particular case the EXPORT_SYMBOL_GPL() isn't really important, > the rest of EXPORT_GPL_DEV_PM_OPS() is. > > I don't think having a symbol exported it is a big deal, TBH, if you > use the namespaced version. If you really don't want that, we need a > version of EXPORT_GPL_DEV_PM_OPS() that doesn't export the symbol. Ah, I agree with Thierry and it is another point why I do not like those EXPORT*PM_OPS() macros. Polluting an exported space (even namespaced) is a big deal, so, definitely no from my side. --=20 With Best Regards, Andy Shevchenko