From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42C7AECAAA1 for ; Mon, 24 Oct 2022 14:37:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=MNNbDt13UtFRkiAnrVwGxkW5jJ9tZggx6ddT2cTBvdo=; b=kdYNBFCW/Fc4uE r02MPWO2exDv1BBp7+EuZfaIt9hs0p4PO9JnXLnsURGAHYhMEfClnCgKbPCzDC5ZaZ5akBMEpCMGl TXNKmNVSkYVNk6ZuGFZKLFbYtkODK8us1N0QQbDl8BBnQrc/OqyJsXYGvC1WgW2PJ45dpGWXPgwxw 6aMHEeHzK4kOOUYnhyvbUaYV1TEn+w7CDRAG1kWaJQfag8IiAov35I0XYWL3f1vCPaHN+1HZedc+n su8QYj/eBRS6/vhvD96Gc72W6Kp87QL7ZpxRW+hbQJiYx9kR41fbmYSfE/W+EdPVyr938EOOtm57r vIWlva3rkAyUiOC6DU6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1omyZ3-001vzo-RL; Mon, 24 Oct 2022 14:36:29 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1omyYy-001vzE-Tx for linux-arm-kernel@lists.infradead.org; Mon, 24 Oct 2022 14:36:26 +0000 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 7C9846140B; 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_073625_021591_A97A05BF X-CRM114-Status: GOOD ( 14.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel