Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6208457rwb; Tue, 9 Aug 2022 10:56:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR5cc+bOfeVuk0xvBoEvza918HCk179LCVHoyMjyKR4sRnneouuGozWxuUdjz723a2JnUiTf X-Received: by 2002:a17:907:94d6:b0:730:bfe6:8352 with SMTP id dn22-20020a17090794d600b00730bfe68352mr17744505ejc.348.1660067779358; Tue, 09 Aug 2022 10:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660067779; cv=none; d=google.com; s=arc-20160816; b=svZj9PeMVjsjLxc0/dZHY564E2NsMp7AYfKTzPOrAnlF91lbGwrBqeBTE/DXIH89fb YJMTr9i7NrKcVB9ZnFqW8VgQw/0sEd5fMtXAzpfhqVmBNO8GaQvz6mZi2EIvpQZejYaM fEy4jWiixEYW9cybPOMOxnXTy/r6kVfq2OtRfH8o16glXiSWAtxn84RvBRd8FXjAfKuY MYjYO0cV7RBPsu3uIP1U14TC0n8xVMb/fOc6bSl5iMwjZ+3WDPX3zdVxZIlnZbfHhOKk iC7THGbSftPlMF0JmTkpgv0rVFRlmzIu05rF8Q/tUEwehBkbm+IBHDrr/M7SI90L4r4J A1nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=c1LX0kRW2rGw625YIyZsUXEnFx6QgDKnPaeP6gRj2t0=; b=ba3VuaE4VhXpi+cvHUVrlGNaZEEjBqV1rwwgpD2IGQgTNiyEF104g3vEDOuQqdHN7u QI2oyePkSJg7OdJonSW3u1Z7k4z/RaBuIUi0KXodMJmYrBoULt3rr+ABO3ukCJONjJsn Q/JJUt5OA0j8LwQdMtN9Y3kcDVttYFJN4zLQZ9d77K1VLftwuSfipGIGOvixkfcApCHL XWzWeQqu3zX6jomclyxe2rLJ/eR7MbsEXMzh8UbSY75mWM/PJJ48pBowr8lghy9nzq7f QcWu+b1U/UDcen+w+BB8DcAQOaOC0EV2+y+zoXKAYPTCiTlciTHitG1YW3H8wDC3vKWg cy8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q9ZD0xRy; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f9-20020a0564021e8900b00441267a2a41si2128981edf.292.2022.08.09.10.55.54; Tue, 09 Aug 2022 10:56:19 -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=@linaro.org header.s=google header.b=Q9ZD0xRy; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245279AbiHIR0j (ORCPT + 99 others); Tue, 9 Aug 2022 13:26:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245187AbiHIR0h (ORCPT ); Tue, 9 Aug 2022 13:26:37 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E42B1FCF2 for ; Tue, 9 Aug 2022 10:26:35 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id v5so6657635wmj.0 for ; Tue, 09 Aug 2022 10:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=c1LX0kRW2rGw625YIyZsUXEnFx6QgDKnPaeP6gRj2t0=; b=Q9ZD0xRyxDV8Asm+Lai68lIYb1xUxMY+JzfZItQUgIhIv8zMi6BX11LCWSYGCh+VqJ 0LHinifMfDC/EZYeeWTT6Hp1SNSeOVCrCQ+kRy9koGe/s5+1k/uJia7mLC3qNETe6p3n mnrRKYWkb3cD6MTO/9r/eZpHZTEPBLrntYiR3zZAWj84KeJr/A4BsEiukyNwdYZkDXbG kAtkzfCdOILaE0Sqcl/hq3LRqCoMPZBXrgxVQ/gFdk2MlzXFxevIoogruGxICwEv5uFc P8ZHUquR02+uGcZVyuf6YGIFZ22gV4dwGpohLZRsix6s8b+KstWdvRJ5pmBZc0BqFr7c pS3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=c1LX0kRW2rGw625YIyZsUXEnFx6QgDKnPaeP6gRj2t0=; b=FlirqT5I/IX9iz1ChQ7mosc6wVr6e120s5AY1qf+C4exydDIMBdq9rcgAF9EDyzVpR iG3+BOoxITDWCdP3LCI7U79IGelR3ltwWMlFGt58XV7TJKEPxKHKjdxSeoyHj0KclI4h blfo8sNVDo3xyoD3lf/6o0VC1E2apsNjOJ0dJCmZ7atdr3dwvDi9jyqYwuEHq/MY1e+o YZMy1phPBOeTurSd8+LO/cFpnqr92hf4Sg1tl8TU4V6Gl9ZRbJ82fglY3POs4fTI8+K5 l4d2I882qjWKKsqjrk/nRbSnVcXRBqvgJY1rwUfR5mnEEPdr1QyOtgi6wVAlMI9Aa1Eb kx5Q== X-Gm-Message-State: ACgBeo281XpdHdIKiMCG4y0mRCwoguwo/klAsztf/cb78cQxFFA8iwQC o93VMWH5BjIGnhHbaq4VVmcbCw== X-Received: by 2002:a05:600c:5120:b0:3a3:2ae4:fb20 with SMTP id o32-20020a05600c512000b003a32ae4fb20mr16132398wms.81.1660065994066; Tue, 09 Aug 2022 10:26:34 -0700 (PDT) Received: from google.com (cpc155339-bagu17-2-0-cust87.1-3.cable.virginm.net. [86.27.177.88]) by smtp.gmail.com with ESMTPSA id d2-20020a5d6dc2000000b002235eb9d200sm3725017wrz.10.2022.08.09.10.26.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 10:26:33 -0700 (PDT) Date: Tue, 9 Aug 2022 18:26:31 +0100 From: Lee Jones To: Krzysztof Kozlowski Cc: Paul Cercueil , linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz , linux-samsung-soc@vger.kernel.org, Lee Jones Subject: Re: [PATCH 13/28] mfd: sec: Remove #ifdef guards for PM related functions Message-ID: References: <20220807145247.46107-1-paul@crapouillou.net> <20220807145247.46107-14-paul@crapouillou.net> <21b84f49-67af-6217-a662-f890db5525a8@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21b84f49-67af-6217-a662-f890db5525a8@linaro.org> X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FSL_HELO_FAKE, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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, 09 Aug 2022, Krzysztof Kozlowski wrote: > On 09/08/2022 18:33, Lee Jones wrote: > > On Mon, 08 Aug 2022, Krzysztof Kozlowski wrote: > > > >> On 07/08/2022 17:52, Paul Cercueil wrote: > >>> Use the new DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros > >>> to handle the .suspend/.resume callbacks. > >>> > >>> These macros allow the suspend and resume functions to be automatically > >>> dropped by the compiler when CONFIG_SUSPEND is disabled, without having > >>> to use #ifdef guards. > >>> > >>> The advantage is then that these functions are now always compiled > >>> independently of any Kconfig option, and thanks to that bugs and > >>> regressions are easier to catch. > >>> > >>> Signed-off-by: Paul Cercueil > >>> Cc: Krzysztof Kozlowski > >>> Cc: Bartlomiej Zolnierkiewicz > >> > >> The address does not work. Please don't add it to commit log. > >> > >>> Cc: linux-samsung-soc@vger.kernel.org > >> > >> This is also not really needed in commit log... it's just a mailing list... > >> > >> I actually never understood why people want to add to commit log, so to > >> something which will last 10 years, Cc-ing other folks, instead of > >> adding such tags after '---'. Imagine 10 years from now: > >> > >> 1. What's the point to be cced on this patch after 10 years instead of > >> using maintainers file (the one in 10 years)? Why Cc-ing me in 10 years? > >> If I am a maintainer of this driver in that time, I will be C-ced based > >> on maintainers file. If I am not a maintainer in 10 years, why the heck > >> cc-ing me based on some 10-year old commit? Just because I was a > >> maintainer once, like 10 years ago? > > > > Why would that happen? > > > > These tags are only used during initial submission. > > No, the tags are used in any other resends, backports etc while > traveling through different trees. I think only stable-backports do not > use them, but all other gfp+git-send will follow the tags. > > > > >> 2. Or why cc-ing such people when backporting to stable? > > > > That doesn't happen either. > > Indeed, stable does not use these Cc. > > >> It's quite a lot of unnecessary emails which many of us won't actually > >> handle later... > >> > >> I sincerely admit I was once also adding such Cc-tags. But that time my > >> employer was counting lines-of-patch (including commit log)... crazy, right? > > > > Nothing wrong with adding these tags IMHO. It's what they're for. > > > > I use them when I'm maintaining a large amount of out-of-tree, but > > to-be-upstreamed patches over several versions. Re-applying the > > recipients list can become pretty labour-some after several > > iterations. > > You can do it still while keeping the tags after ---. Only patch-related > workflows strip such tags. If you cherry-pick, rebase, merge, you always > get the content of ---. > > The same as typical changelog (not cover letter but one in the patch) - > you keep it after --- and it does not disappear. I'll have to try this next time. > > Adding them under the '---' doesn't work when the purpose of them is > > to keep the recipients list in Git history. > > This I understand, what I did not understand (and you did not explain) > is what would be the purpose to keep them in Git history. What is the > point to have them in commit log of 10 year old commit? Here is a documented use for the tags: "If a person has had the opportunity to comment on a patch, but has not provided such comments, you may optionally add a ``Cc:`` tag to the patch." Thus, when a recipient replies with a *-by tag, I strip out the corresponding Cc: line. Obviously this does not apply to mailing lists. -- DEPRECATED: Please use lee@kernel.org