Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8450677rwi; Tue, 25 Oct 2022 06:56:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM61EM8v2xpjeWy+DFJV6tzkkyDQFZ3Xpqjf9C+eiKnzfwQOUpP9XtSrvUjWW9uxqH5OXRza X-Received: by 2002:a17:907:628f:b0:72f:58fc:3815 with SMTP id nd15-20020a170907628f00b0072f58fc3815mr32882418ejc.719.1666706168136; Tue, 25 Oct 2022 06:56:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666706168; cv=none; d=google.com; s=arc-20160816; b=rFYk37VXYz9u4+bqQsZfSfv2Dipa4bBKpmJl5mZOdz303bpaUCwhh0822bi0oedsvB ezuZ0gPxa4sMU1zDGbKtfTDAToAuM6SNyjAuB6LhrA1zL6r+CeqZ40B4sv5Q5QMjtU/m S62ndBdzxdyYh51mLRVXVuoUDrC8v8oUPE3koHWnRtged3RSdmvwtjkUN+zZff/cCANf i96jVNYcm+CwimFIplQYjHd+figCqJ5hATw+/tH+IPwQKJ3wBnFNShr+NSsveIMINnUG qpWE0zlCuFnO5mWnCawFuAEHPNTeeJhFWNO0Msv3Pn/WPkFrDnSPe7Fm0TWaJkVfO8mP 4Gkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=1Gp8hIHayT/q2QL+oi9paN1etmItfVfSgG3PlVV1iAg=; b=02rqkKUOCljowSPOAELWRDSYZIFQDsfXw1jcRkFteKAq0bjIxvVBsIfEscBqq6ZAvT 0YCmNwgWUAWcjVpWphgPyOFkJLg9mQiI+t2xg/yqGAD4+OBMDPKdYsg8Se58tS2azMUo DM3ycdMCkRpnlQLXV5FLCPPHFmEL8f0K3GW0XipUOMJ1+stXgjMO+DuBNOCCZn+Ry4nc cGqy06s1bjTPa+SyKyR+VXw87EWluwOvSmJ4gvaeSrqt4Eoq8qJHJLrwtqvYh9gJd+3f HJqq3wi8it4sH/05dyQ1r+zXqAphqWCy8J4haT4DBrtch2XT78Cd6NaLMmc3UKeVLJFK yQjw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d39-20020a056402402700b0045c0accb2b8si2828413eda.205.2022.10.25.06.55.42; Tue, 25 Oct 2022 06:56:08 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232637AbiJYNQP (ORCPT + 99 others); Tue, 25 Oct 2022 09:16:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232399AbiJYNQI (ORCPT ); Tue, 25 Oct 2022 09:16:08 -0400 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92521C897D; Tue, 25 Oct 2022 06:16:06 -0700 (PDT) Received: by mail-qk1-f178.google.com with SMTP id z30so7936473qkz.13; Tue, 25 Oct 2022 06:16:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=1Gp8hIHayT/q2QL+oi9paN1etmItfVfSgG3PlVV1iAg=; b=ZULCWQ7xmbw4sD9aTf0S98jOj5PKOfIbDhJ+IlkxV9G//m/Imy0xZgmrkBxf1VEffa yqXdptsxVap3gphPo48+XgDv4yAAFHqarAxmyxmG3zhNqyCBThPcmSUdYSjq7jGqv5Sm fRU2H5GA8SRx0W4ko8Na0b0P67VkDW5TqlJ5tfuwratgNI5nnl6i+giNvJ/0dYCkN+Ol sgOBBZkajyK3GdUTKu/oVTWwyEnGQxkkXiS50+ZVl6OKX2Xh3yRfhddFGdx9OYjAIEew iHaabU0kz1rm6WPx1ln1e0yB9ZzPaVRfTACkx/IxRcY4FLZxnVXytuF8eoWhxQ1ZgKUJ b0Qw== X-Gm-Message-State: ACrzQf2fogUSYQxpmq+pUmOGLjfE1VOV2i4SIUCtRtbS96U4NNrrYrC3 88IhFzcavOL39ECVqXy2RrnKQlSCFJaz9Weud4HY74bD X-Received: by 2002:a05:620a:4626:b0:6ee:b43:d2bc with SMTP id br38-20020a05620a462600b006ee0b43d2bcmr25641666qkb.764.1666703766067; Tue, 25 Oct 2022 06:16:06 -0700 (PDT) MIME-Version: 1.0 References: <20221020115513.93809-1-ulf.hansson@linaro.org> In-Reply-To: <20221020115513.93809-1-ulf.hansson@linaro.org> From: "Rafael J. Wysocki" Date: Tue, 25 Oct 2022 15:15:55 +0200 Message-ID: Subject: Re: [PATCH] cpuidle: psci: Extend information in log about OSI/PC mode To: Ulf Hansson Cc: "Rafael J . Wysocki" , linux-pm@vger.kernel.org, Johan Hovold , Dmitry Baryshkov , Sudeep Holla , Lorenzo Pieralisi , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 Thu, Oct 20, 2022 at 1:55 PM Ulf Hansson wrote: > > It's useful to understand whether we are using OS-initiated (OSI) mode or > Platform Coordinated (PC) mode, when initializing the CPU PM domains. > Therefore, let's extend the print in the log after a successful probe with > this information. > > Signed-off-by: Ulf Hansson > --- > drivers/cpuidle/cpuidle-psci-domain.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/cpuidle/cpuidle-psci-domain.c b/drivers/cpuidle/cpuidle-psci-domain.c > index 821984947ed9..c80cf9ddabd8 100644 > --- a/drivers/cpuidle/cpuidle-psci-domain.c > +++ b/drivers/cpuidle/cpuidle-psci-domain.c > @@ -181,7 +181,8 @@ static int psci_cpuidle_domain_probe(struct platform_device *pdev) > if (ret) > goto remove_pd; > > - pr_info("Initialized CPU PM domain topology\n"); > + pr_info("Initialized CPU PM domain topology using %s mode\n", > + use_osi ? "OSI" : "PC"); > return 0; > > put_node: > -- Am I expected to pick up this one?