Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2844674rwi; Fri, 28 Oct 2022 12:02:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4iIEblMKq/HGllSqgndvIG0hU4OCtkAn/lIQ8IbNpKPO/oIK0wY51klOYrSXlizBcEbfmE X-Received: by 2002:a17:90b:3a90:b0:20d:a54c:e5cb with SMTP id om16-20020a17090b3a9000b0020da54ce5cbmr728235pjb.109.1666983760599; Fri, 28 Oct 2022 12:02:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666983760; cv=none; d=google.com; s=arc-20160816; b=QSuXG1JBOCDpsiAQFSCUKMz/5Iqz1qBy5/vcT2LIHpUgADzedCQ5i9l7l+69jhICYf /fg/+hQYkH0c71buFaF8IrN+nsRAJICytPdHZ5G6vItfQVypTfBQ+scMQTTBqoaco6uX wdyJuH9qPfAP1Zm1QqfKVXRN3s0jJRKZi+L68ze6exU5RR2IbhlfI2R8i0kSu3KGyBGT nSiLrqVMnYIaEhWfZZQxLlMyPLcJhJe132gTa7tamLJI4ZT4xq4EAdXm98r57I/m8Hhm za7ymXed1+UwnjB7rJpODR+3d6UtxJRu4jxlN/LlT+cKQH/wOZxn4o5+xhXFbVhuYzcb vCKg== 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=jg4lijVp4M44rm7xpeYVgDNZw9lPyznKpJvDGVTFJGA=; b=N6V0rwYctF/TP5eiykhV6G6GVGTd+it5aihbzg2T+uhWygejK1VBkduKcziwK4dWMI +fORHTJhN62Xzs56TTCd97IzcS3IEdOnewkNyjVoj2CrWJWMVeuvc8rF/Qe3kJu37Ciw w6PpsWkDmKBHNxYQz7VlrXU7pOidCb8QhEcP4TzHzsJe0OJMgsm0PP+PierAYXfY7iVG LTYdFdxzFiM3mEEUJBbdpbUSFt/1WJNAXYbikwTx0c2cYAe+J5QC3qmP1XwBVIG5a4k8 AEAysAAoitd2jnobnz1cXFWR1A5zDwt6MjbHhTwpxkTwFdwdpwXfh0nlWuucTCoouc+2 b0RA== 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 v187-20020a632fc4000000b0045f5e2b350esi5596976pgv.466.2022.10.28.12.02.28; Fri, 28 Oct 2022 12:02:40 -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 S229833AbiJ1SJc (ORCPT + 99 others); Fri, 28 Oct 2022 14:09:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229732AbiJ1SJ2 (ORCPT ); Fri, 28 Oct 2022 14:09:28 -0400 Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 415BB2679; Fri, 28 Oct 2022 11:09:27 -0700 (PDT) Received: by mail-qv1-f46.google.com with SMTP id n18so4567619qvt.11; Fri, 28 Oct 2022 11:09:27 -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=jg4lijVp4M44rm7xpeYVgDNZw9lPyznKpJvDGVTFJGA=; b=VrHb1hV/N4h95/kp/Us7QTFZdhM/RkiM21x7Vomr5bnAuk0qRhVVli+X0Bm6EAH/X0 ig7RZ7+m+7VKAfi8ZSjS+BJGeu7Om5Maf0CJTb7yHisosffTGkwRXwLf9Loo2OYqjZcn c9dbdLbZ5AVFsaHu35R8xlUPflmGqCa2QXtaiXU9i/Wa8JLxZc2jDt24sqGTaL0Zvcrm fSSj3Ap02b4B1kHBv6VCOox49eaE4a+HRm9vMksYTuD0bSj/saFnTVrLPQJBsh82kd1Y uNRMkjkzGfCQtcrx0LNv8TRD8e6ztfO7aiWW1lXPmnlldOHErX+awUG6D8K/JizQI6xL b7rg== X-Gm-Message-State: ACrzQf1djRtPoG4McQ+WBhcvAuu8aj55nVaWmrwZg3IcSkWX4QBR6rBy S8EiDNM0I8AxMwDaSTntTZHpuTrv3llSJKkyCIOdbEdK X-Received: by 2002:a0c:e44d:0:b0:4bb:6814:cacc with SMTP id d13-20020a0ce44d000000b004bb6814caccmr753711qvm.73.1666980566349; Fri, 28 Oct 2022 11:09:26 -0700 (PDT) MIME-Version: 1.0 References: <20221020115513.93809-1-ulf.hansson@linaro.org> In-Reply-To: From: "Rafael J. Wysocki" Date: Fri, 28 Oct 2022 20:09:15 +0200 Message-ID: Subject: Re: [PATCH] cpuidle: psci: Extend information in log about OSI/PC mode To: Ulf Hansson Cc: "Rafael J. Wysocki" , "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 Tue, Oct 25, 2022 at 3:18 PM Ulf Hansson wrote: > > On Tue, 25 Oct 2022 at 15:16, Rafael J. Wysocki wrote: > > > > 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? > > Yes, please! Done, thanks!