Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp318608iog; Thu, 30 Jun 2022 01:08:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sRA+ZjjqZfd4OsOduz/wL/t4DoKnnuvNR1FU5zvoenW6Uba4aWtcG5PubxBAUkKbuIVw2W X-Received: by 2002:a63:5f8c:0:b0:40d:6a7b:cd32 with SMTP id t134-20020a635f8c000000b0040d6a7bcd32mr6855799pgb.98.1656576510589; Thu, 30 Jun 2022 01:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656576510; cv=none; d=google.com; s=arc-20160816; b=Y6jTWKEgw5S6UejFtdQ6Vk8N2UgKd6Npv6CyuxCiXy9YAITJvuK06eiMvA5+YOU17K M2QbJydc6uoiCjjRvabgP7NTqaMCmO5ajq7MuScS5vystDcr2fKvqSF6jKXibb5BetHY pPxv8QhlZ63ZZVdISnLvSB03LP6K9kgqrK4NlqrLTN4rctC5wtwJdPwZmsL65Jkn8CC8 01mwNSMmPw4YVYTX7z3CAskUMHvrM2+vRYOIvc4MXNs+xJJQg+TtQT2wSBDuQQh/tOPm 4AAN0P2WTt7ycrWYmnrGg1kCR6Zj04CB6dNBr1A3KVj5VScUjWevi0SIbIWFCsfX1p5d NjpQ== 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=pEG1/5zis6fn9rNZ4cGko3gg4B1FcMMHyqkPX5BcdX8=; b=g19hR8XY7PBhJwn78dvioUJR7efYkDWxmmb9tIZmPQkjtP1n0e07y1zQogzkWbACy1 L00b97ckdlLiy5Ycf+/OMlRANjXB+yZeoT7I2c10i2ft4R491w0+6yCiVU9f3gFfWG8N 5PDiCvflV5eSHIpNWh2hF46QBHKQca3KB+H9ksyPDCTSxPIvbiHdRJ87AiX/CB4uCz+b IdBXvTlmE5C62za0JE9cDyH++10BUdQ4A8droDIJtmSs8vP7kX088uzflL7mK2El6rYQ 7Rj3x/yu8w5dTrz+KpumkSPSqMEbcNFxCp8ypMKkwsOw7bONmsFyk3Kl8g9Sln35G4os BETw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lUC9kYaR; 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 d23-20020a63fd17000000b0040d1da6ad9csi17708402pgh.625.2022.06.30.01.08.19; Thu, 30 Jun 2022 01:08:30 -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=20210112 header.b=lUC9kYaR; 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 S231455AbiF3H47 (ORCPT + 99 others); Thu, 30 Jun 2022 03:56:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233303AbiF3H4w (ORCPT ); Thu, 30 Jun 2022 03:56:52 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACC0C403F2; Thu, 30 Jun 2022 00:56:51 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-31772f8495fso170968337b3.4; Thu, 30 Jun 2022 00:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=pEG1/5zis6fn9rNZ4cGko3gg4B1FcMMHyqkPX5BcdX8=; b=lUC9kYaRwM0BjvSJzSRdKvwLFR+U74/hzLpRgkBkjOYr3XOjlj8CgqHmG2gaxHtuXW 1p75RyRI75cVj0hLo6CN4AvRSRqvF8919+hwoZ+eS6PhYrHH8dnELlYJpoDseAw7VhOo YvtV6hmG/9VwnLXEUbU58K+8kqJhnUsZWZJUfHjM7H/QyIeUdrBB2NtsHrvGxBrWj8zn yWrCYFkZpCdJ9Cv1Wykh5yWKbAOic2NH8/ekh+lNWvY30npihYkkuaKywkv1Mml0gnUR ko0SCMOC/MoRxXjcrijqOJxmOCmK9mwWlNQoGhTEgsz9JYEy3Ek6VyKRMaW9lGQGlnBh ZeJQ== 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=pEG1/5zis6fn9rNZ4cGko3gg4B1FcMMHyqkPX5BcdX8=; b=F3pUhr1e3yoggIiQXQN/2ZICZsMt8gSHkzD5FshbaeCT0/EzmIHmdK8u9b+TmkCZPW 22f6Wy7TRP1R7cHQajG1yMa184MKEfQ0gRpTiwP25iMvmzwT8rTwlNYVJAzblITq9sbP LIH4Ogot65byst8OJWyHKCntZNs1Y9RHfUviArbsRn6G5b0TgBoSO0rZVVVD/HbRqkHM zacfozMnKT3dpTg80gbZzSgKnGPqKHBByaXIWsc1IxfPUVfs0qWMQOnL61Iqn685T2m7 SVHENeLrYddwynI/6KGay9x3GAmD3L1s/Uuc126QKeS+joe5K8Oxxt+/rZM2Q1nAAf17 bWkw== X-Gm-Message-State: AJIora9CQ5FV9dTzXPmsMwrZrliptktsGwWkBeL7Qa5u4A081xXenXrd 7hFwlPrtyoF1ZBNFcA25H23Wcg+YIFr+cDCbYONzUJyoK4zmaQ== X-Received: by 2002:a81:2386:0:b0:317:6586:8901 with SMTP id j128-20020a812386000000b0031765868901mr8806187ywj.195.1656575810965; Thu, 30 Jun 2022 00:56:50 -0700 (PDT) MIME-Version: 1.0 References: <20220628214511.37373-1-andriy.shevchenko@linux.intel.com> <4ae74f48-c51c-cb74-548d-46ff9a9a7a7b@linux.intel.com> In-Reply-To: <4ae74f48-c51c-cb74-548d-46ff9a9a7a7b@linux.intel.com> From: Andy Shevchenko Date: Thu, 30 Jun 2022 09:56:11 +0200 Message-ID: Subject: Re: [PATCH v1 1/1] serial: 8250_dw: Drop PM ifdeffery To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , "Rafael J. Wysocki" Cc: Andy Shevchenko , Greg Kroah-Hartman , linux-serial , LKML , Jiri Slaby , Paul Cercueil 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 Thu, Jun 30, 2022 at 9:42 AM Ilpo J=C3=A4rvinen wrote: > > On Wed, 29 Jun 2022, Andy Shevchenko wrote: > > > Drop CONFIG_PM and CONFIG_PM_SLEEP ifdeffery while converting dw8250_pm= _ops > > to use new PM macros. > > > > Signed-off-by: Andy Shevchenko > > Reviewed-by: Ilpo J=C3=A4rvinen > > Not directily related to the patch itself but do you have any idea why > 1a3c7bb08826 ("PM: core: Add new *_PM_OPS macros, deprecate old ones") > didn't wrap RUNTIME_PM_OPS() pointers with pm_ptr()? I'm asking this > because in SET_RUNTIME_PM_OPS() the callbacks are only created with > #ifdef CONFIG_PM so I'd have expected RUNTIME_PM_OPS() to maintain that > behavior but it didn't? Was it just an oversight that should be fixed? I have had the same question, but I think it might be related to how PM runtime functions when there is no respective configuration option set. +Cc: Rafael. --=20 With Best Regards, Andy Shevchenko