Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp763140rwi; Thu, 20 Oct 2022 05:06:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6hmRMpg8xRI7YpPZEzXyt3ijmtSE8D4eT2FcIXOehAHPYs+qBHfVy3dwj9q8goJjZ5iinX X-Received: by 2002:a17:907:2cf1:b0:78d:cafc:caba with SMTP id hz17-20020a1709072cf100b0078dcafccabamr10767499ejc.154.1666267605190; Thu, 20 Oct 2022 05:06:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666267605; cv=none; d=google.com; s=arc-20160816; b=cEKSXB0rDjprm/jeFQtxvJNzbVR2XCij8I8aXuN9q7/Qsoc3iiL7DpLheghpxKf8nh JMbTtjicxqUOl49468T1N1HaXwfftrlrHNDDH8sDM89AEXD3RxFU9EPr/9MEpjBdcePe PYqd/Rz2+YTteEZxRlgn9zwUwL3c4CbITtFi2lXa2CTSHyvk3OaZO1D3pQFf3f6qboKt 0RLy+wXlL70x8UYca8ziI4BSWmDPxlDk88aexzmThdlFqmzm43Xu5cOZiH9yZ8wTBzUN You8OJ0Nv/2WhboqYgM8Gs4j1rj3mWnmY6uhF7RYjpKUk1ZqaFte8w0KRg86c0LWoCTX I2HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=LsYCCTAqbxl1nYegcA6XVTC9x8A8DOyUVzkeALJAq+8=; b=U4Rlixit7YuZh4wwheAa8LhIZBENg4kjyTZZ73V0g/Eu/YNSSNjU4m7hhAMeoO9+lC 5D6kCOll4U99wuBUD9XeBj+VSxPqzDi/52MbMKlzhsXrm80hFhj4Q/aIrJOeQWP8WKGL wF4+VeQJB6lTDYc3KShXzdSiBpCzIHkaOW0np2mXLDytA7/jVSZwr5f2MI0t+0bp+U7m MrSnaUBfM7mFyVGjOjXe8VznL+ZZaY3JMQxG27Xj3tMk3za/WTIfqBEVjafaYX4MTROi dOvSiAYvgfeHOPibVOTSouyWw0j+WshxKPaElVRCzy8sJU8DvAgdwbHrc9PdvxP5EVPr rejw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NBtRzRBt; 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 z11-20020a05640235cb00b0045d0444e410si19596689edc.0.2022.10.20.05.06.12; Thu, 20 Oct 2022 05:06:45 -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=NBtRzRBt; 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 S229613AbiJTLzc (ORCPT + 99 others); Thu, 20 Oct 2022 07:55:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbiJTLza (ORCPT ); Thu, 20 Oct 2022 07:55:30 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 397EA133323 for ; Thu, 20 Oct 2022 04:55:29 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id r14so33130095lfm.2 for ; Thu, 20 Oct 2022 04:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=LsYCCTAqbxl1nYegcA6XVTC9x8A8DOyUVzkeALJAq+8=; b=NBtRzRBtf3CHp+ZqCc1ugzJAxtf+FQVKg2znqKAHKcyqQD28FLc1pZigowJDa5b4cx T14yJBOg6h/DCw82V1QIGM5NujztBo7z5POKBdEh5+GvZIpQO2i62wrTbaUya4zjj0Jw nGJDa6LGC2eIuoWcU+F57K/9Qxd4SMDa/bgId48bb9tHTIDzwE95NvzZQyMscY4iPcD6 UZwmxGMzeB2fHWb5jDfOtSSwUjZ3KGnLsHuHwaicwmoEa7hdVRhuEFI3rTONtWv3Ijlv OvKXGcaJibok55AsceVFipb8FoGx2bs8Kyk/0c5y0e2+o4xRRqSkc+sJnYg66ADBpmj8 VOpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LsYCCTAqbxl1nYegcA6XVTC9x8A8DOyUVzkeALJAq+8=; b=xeQoBKM0j7hZjCKUy17HAwfcIwMZyY9UeilZYY/NXWdhc9L5iKHxoxu3P8TQF8fu+h V2B9xHorqwNNF3ipdPjJbc6tQn+u8bJ1KojHnCtOwopfckgzkqWxavUEDwIHc/cpDqyP 5JmMzkTgfOMpg6ZXloNzfWltsACNxl+i086yuuszS3p+I6tGVejsbso2EcqKxR8A7sje fbVpyFYUq2RhGCSxEzZljYKk0ncvEUDFmrl/g23v/J5VZpFhMhWw7d+zxicr36vCdAF1 j0NDru5iSRVuL9DkHkrBqmBeIfYEMgym4EbTgkEY7bt1rVL7WMuCIqd8mk6Gt17i64i2 4ehQ== X-Gm-Message-State: ACrzQf0z2VeTIsA00GiyYuObysDmY/C95qZgVYZ6KwlDgvMG4Y8MGIT0 fKKxhLlWrl/s1Toht9SDgX9dFw== X-Received: by 2002:a05:6512:40d:b0:4a2:d61d:6c82 with SMTP id u13-20020a056512040d00b004a2d61d6c82mr4378263lfk.381.1666266927538; Thu, 20 Oct 2022 04:55:27 -0700 (PDT) Received: from uffe-XPS13.. (h-94-254-63-18.NA.cust.bahnhof.se. [94.254.63.18]) by smtp.gmail.com with ESMTPSA id s16-20020a056512215000b0049adf925d00sm2701626lfr.1.2022.10.20.04.55.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 04:55:26 -0700 (PDT) From: Ulf Hansson To: "Rafael J . Wysocki" , linux-pm@vger.kernel.org Cc: Johan Hovold , Dmitry Baryshkov , Sudeep Holla , Lorenzo Pieralisi , Daniel Lezcano , Ulf Hansson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] cpuidle: psci: Extend information in log about OSI/PC mode Date: Thu, 20 Oct 2022 13:55:13 +0200 Message-Id: <20221020115513.93809-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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: -- 2.34.1