Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7030488rwi; Mon, 24 Oct 2022 09:01:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Ns+0Cc8XhNuA/PtQOoQ6NsnsVQnHPaZ+7VGGQ69jFTSjwrTrNyEJSrkSNnpApbGXZJeeY X-Received: by 2002:a17:907:d03:b0:7a2:d213:de18 with SMTP id gn3-20020a1709070d0300b007a2d213de18mr9334993ejc.124.1666627260337; Mon, 24 Oct 2022 09:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666627260; cv=none; d=google.com; s=arc-20160816; b=iR4CH0/MRazKtfiowhKcG3TIHIC+5boIU8Fdaa+Qw6QlRLT+tMM+f7ssyec/2KX45/ di5jBqw8RtaTqZCPVUkunT/H3Qeg30PX24+Fo3ltZ2Mx9mfEDqA0gaw4t3+N+GAjZUSX +u4VljaySwSgvdyZSYNV1Kig4fwT/FI1Zx36xbqlwhA1WFUO8OiF9pf4okieLtrNwUXY XsbBXkpetFKMgNSwlh9DHPnDv3h8J5FIT1sQe/D7NWEhE+Hqg1wbrCQXRISpsMcJaOBk S7LHHabZlmeg9wrK2JGRDZJRjP4EnVnOeMliuvTHODBS9xTbXHIKtQfo0a6xSd0gObdn Fc5w== 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=3t5x8whF290JU5HcZdu5kuZ+mvCBejatMNVm/rMoGu8=; b=HmVIIkAcBqYTPgtguVO4GN42NL5th7+fDIXPIY93iKpOvFU4AFlPmSRQh27XJwau+3 YDnHJ1zok0Vlq+LWtna7+1iUZH6zOfvU941wly0vle/OE2GE67g4OegXYG76oG3EjCJR Dx/WLyjD+ANZtWLzHYyYHRIXKyQs3LNhj8mKXy+QhuQP4IPO1Gro85t0SdaBU1EaZ6Rv DntKhwLAuhidr7eo/cPG2FX9S3qV+Y3TDwjQCsu1ivS8OG6SyQfFZceJ/L3MNEKt+de1 9M9l9DIsmvZDdqGuwTkg0aMMzJL29lxYCLICIVWtY8i8DE+ipKMIYj32IH63QDrZjkNv MVYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jlYzoYpq; 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 y5-20020a056402440500b004587cd5a5bdsi194164eda.81.2022.10.24.09.00.28; Mon, 24 Oct 2022 09:01:00 -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=@kernel.org header.s=k20201202 header.b=jlYzoYpq; 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 S230291AbiJXPuq (ORCPT + 99 others); Mon, 24 Oct 2022 11:50:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231817AbiJXPuV (ORCPT ); Mon, 24 Oct 2022 11:50:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 658601DF16 for ; Mon, 24 Oct 2022 07:44:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2DCA861411 for ; Mon, 24 Oct 2022 14:36:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B210C433C1; Mon, 24 Oct 2022 14:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666622183; bh=3kVC08NNnjFfypW5XVgXQUIfx+GRlGJ5ATemF0ZLdmw=; h=From:To:Cc:Subject:Date:From; b=jlYzoYpqGGQYY02ihbgVoc81e1agDYRoPao2MzOMdUiTfSm00R8EQj1B0+NtYNZ22 3t3gE0TeKcerQKjRrMvIVjbe3+DVRkQpUKMhrXRQiNvcoS+2WBdyTou6ou4Y2rsZQx eFGFxTtN+QyzIA9ijbAW0JaBNA2Gv1VKXtlX/P9ofeyKcxfbUXF13l0gE+ehTNu4/H VTDJsT2znJ7Y35vnFo68kaubli2YNgpSYAzyzQ7dcu2oAyg8eFdA29W1P5XFioaOuq 1v83QMhC44vsh0vQJez6dgChusgYSM9ykg4XQ29Yx5+w8ee7H0qDZJc6Ze6DU1YJKl D99mm77T8l6wQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1omyYh-00030Y-7j; Mon, 24 Oct 2022 16:36:07 +0200 From: Johan Hovold To: Mark Rutland , Lorenzo Pieralisi Cc: Ulf Hansson , Dmitry Baryshkov , Sudeep Holla , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH] firmware/psci: demote suspend-mode warning to debug level Date: Mon, 24 Oct 2022 16:34:17 +0200 Message-Id: <20221024143417.11463-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 some Qualcomm platform, like SC8280XP, the attempt to set PC mode during boot fails with PSCI_RET_DENIED and since commit 998fcd001feb ("firmware/psci: Print a warning if PSCI doesn't accept PC mode") this is now logged at warning level: psci: failed to set PC mode: -3 As there is nothing users can do about the firmware behaving this way, demote the warning to debug level. Signed-off-by: Johan Hovold --- Note that a separate change to the cpuidle driver will start logging the mode actually used: https://lore.kernel.org/all/20221020115513.93809-1-ulf.hansson@linaro.org/ Johan drivers/firmware/psci/psci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/psci/psci.c b/drivers/firmware/psci/psci.c index e7bcfca4159f..462f37fa6a86 100644 --- a/drivers/firmware/psci/psci.c +++ b/drivers/firmware/psci/psci.c @@ -165,7 +165,7 @@ int psci_set_osi_mode(bool enable) err = invoke_psci_fn(PSCI_1_0_FN_SET_SUSPEND_MODE, suspend_mode, 0, 0); if (err < 0) - pr_warn("failed to set %s mode: %d\n", enable ? "OSI" : "PC", err); + pr_debug("failed to set %s mode: %d\n", enable ? "OSI" : "PC", err); return psci_to_linux_errno(err); } -- 2.37.3