Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8454483rwi; Tue, 25 Oct 2022 06:59:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6OuSc+NMHh/20UwWh0r/WVcvcLekCQtnaIAwKkujDBMgqVl0BRPHKrBehTQtcGco7GNEVK X-Received: by 2002:a05:6402:5207:b0:462:2426:48fc with SMTP id s7-20020a056402520700b00462242648fcmr2581025edd.93.1666706359894; Tue, 25 Oct 2022 06:59:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666706359; cv=none; d=google.com; s=arc-20160816; b=B8cvjQXIbQGu8SUMxICUHiu6JUeIK+tMFgZbKV3cGqDGUYhpPhHyT9iNYURaYewbCY 7ou7UTLqHRrYZpLdJyEWvcxaQlwWXLiSM/S3veceSwQG5kAx3+IZ2EVJOT+OY9NhtkCx sIlXnWdqOYGzCN3V98tktLEwk1uE2LTfxrjTrb9b8mcrv+5HzkqLIEqaeylMX53+7vRd BliLf6MkpQb+hMX6L4GB+yfuByDaKOeKegAqmVPhbp5WRv56scLn+qDkLH4GhZCx+LsK pLEXK3vbc6aK60M1LddK25RovGEYxIda48dqxFHQuQE2VlmpAZORyRCGyVGyBCGBTzXo O6cQ== 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:dkim-signature; bh=J8iBlKsLRePu8lxeGZNajhb3cTDeiUEJCk/+foleLtE=; b=wRp8shjFiDQntjvlZnSNp6WIXHxwKxgdQ+CTlC70ICaAHHxclO3Rf1jXcIDQ5DDZwL TWxSn6w2ANw5njBSVDkTKhDSn+ThjpLjjmDiMGJAZ75c0e05yUsMlDrAE/+gu6Ck9qvg gUMSxfL243m1xglu7ROOsTUw2rORcf570APt4Ktr82UqUTiwh0sHJ4vjjkEtTdN3WJHe hFq7Sx7tY6s4J+PNe8+VWDoqI4FcbiCnTbNyhLUOLHVb4Clfj6OI3LOfXBW6Z2iWf+Z+ aayFJOURj5vMESSYOGGxt3jaWGFPmT40HIidaTjIfQK765/RKacsRpP+Hg09+O7YfPrX a15Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F2g+U3MI; 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 d17-20020a50cd51000000b004619867344csi3079848edj.0.2022.10.25.06.58.52; Tue, 25 Oct 2022 06:59: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=F2g+U3MI; 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 S232760AbiJYNSd (ORCPT + 99 others); Tue, 25 Oct 2022 09:18:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232527AbiJYNS3 (ORCPT ); Tue, 25 Oct 2022 09:18:29 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A560E4E64 for ; Tue, 25 Oct 2022 06:18:27 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id b29so7347251pfp.13 for ; Tue, 25 Oct 2022 06:18:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=J8iBlKsLRePu8lxeGZNajhb3cTDeiUEJCk/+foleLtE=; b=F2g+U3MIymcr3dy7K3a7VGX7/VsGlDl+sjNOuT90x/XOtQ/k0IYtJoC8W5oQZS1qg4 ZhDGhUrDa085/cjO/WleqObr3pwVjr44tZLR2hBspLRyvzVJVhAX0n60E2TANBr4RUaS Qe6UEwceOwpnpy/KxjF1wRxo1Nlc+Hk65tcBXdNfdMiW3wSD4LrK/0a3UB7YzdXcQZCh gJhZ8Ol/X8R4BS6LsnBpzFC0VYqHta9gFz85+z5xe1dXNTn3XWpByt8BQEXc0Br64qCM fiL+GTNC7oUz/XtlA5psGQD9/WEpbwFZrTFwZqXsD5kD//8mXM0Jbf6Da/kRLi/GPlhB jsfQ== 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=J8iBlKsLRePu8lxeGZNajhb3cTDeiUEJCk/+foleLtE=; b=RfJJelsqoVieH2T8A/XWhY6HHbo6PDCN1yNNBlfcbKC+fDS1X4R3dH5xNFGjd7zUzx HUyKFHU0TWVrdj4mZ9INdTbaRfTldEVfhysxlZsJXRVpUR0g3Ru+dlB4MWH8kzTol7cK vMi0XJjGQMMfTy/29DwJi8qLY3HtdaEk6vIPEoNQ4RoU4piQZrxhCIAk8k1m84gXAvRe /yXDdRdghy6soDK6VH8DJ1xEn0UKfUsZs0CG+u4BfS8ypb3HXQj2qmOHsYxNaTcHpwpy C6aclauqvdWdwTSZjAxTWks1UJxtFeEA9y97wDpZJZ0XJTzWxLA1cQ9AwbGzHFqpdZzS LOwg== X-Gm-Message-State: ACrzQf0ZoGJpPI2AEEPe1FtzUgVlkyY0KK5PzrsuhGwDqQ5gYv+FDvEF H7oHbFrjcyO6o7S2g0puzDyVwxhUFZitIMxqW2nC4A== X-Received: by 2002:a63:1612:0:b0:461:4180:d88b with SMTP id w18-20020a631612000000b004614180d88bmr33596437pgl.434.1666703907223; Tue, 25 Oct 2022 06:18:27 -0700 (PDT) MIME-Version: 1.0 References: <20221020115513.93809-1-ulf.hansson@linaro.org> In-Reply-To: From: Ulf Hansson Date: Tue, 25 Oct 2022 15:17:50 +0200 Message-ID: Subject: Re: [PATCH] cpuidle: psci: Extend information in log about OSI/PC mode To: "Rafael J. Wysocki" 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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, 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! Kind regards Uffe