Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8235162rwi; Tue, 25 Oct 2022 04:20:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4WpUr+NDhAoCtBuvIHn9rkvMJddRFnsAeUF+Y/8Ir8b/gPWDI2ZglBEZ86CK37+fKwNXq6 X-Received: by 2002:a63:4307:0:b0:464:a24d:8201 with SMTP id q7-20020a634307000000b00464a24d8201mr32726665pga.116.1666696808376; Tue, 25 Oct 2022 04:20:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666696808; cv=none; d=google.com; s=arc-20160816; b=P23A+i9LbKjyQPgxYvO41QHPRxZiFKbCYJR8NzjvFKPOvQSBe/qHcdHaCEdVwlw9rp Dyae2m+ZZjbdrwDxtdC4KbaHR87sOiTMvUj9FuRqUxG8FIBAHxTZI7CIc2UhknGA46k2 1TCYCTkvNozCy6YKCKW3kPSjw5evVV0ZaN4O98aZdwR8+hLMvCQ4B644v42kelSFUcR2 72hkUrotCEFn8vem7XVw/3JBO/pIf9JUVmvo7EXCVJK8fWiGFpUYY5gSytBjzuqimeA6 fAYXgv49eqByYoFIwpW3ZbBvNsFblDc/kEhqrJWIDa1im2Ilke3DeXOTiLrm7W+2RNZ8 Z20A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=QFiuwIbv+bAoeutli0BiRLmAbI6CnnPeevj6u0N7M/w=; b=ZR2Zf0wfnGUxJiETLRsYIBnBopGJP3C6IzzlKatcAkf/7I325Fs3odtEXV1hlrWYxe 4Xr4n7pcLRKUvdkxTfmmC6fnWrMR/wdzJeKAxKC+aOQmcGKqaasCKzXTghDY2nc8K3Lm YMN3IQqX8a0L8EfCGquqodyXaStCuIDE7fgbOxhx6peggryKElJZqZsxXah47TJ69XKT kHma4FRV/Dl7uzZnDs4nYpPUghsEwMiJB6xiw/Awp4giDWeREXCvFmoWexFb+lYcapTZ tYe3FhHDtoClqwdydbJgRLdwxvgC+EiB3txzQAkd3+P7cCFmRxMF6G5gkNmFmm4/Z4e0 tdOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BGuPe5Qc; 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 j15-20020a63550f000000b0043ce8a884desi2604415pgb.856.2022.10.25.04.19.56; Tue, 25 Oct 2022 04:20:08 -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=BGuPe5Qc; 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 S231352AbiJYK0E (ORCPT + 99 others); Tue, 25 Oct 2022 06:26:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232369AbiJYKZS (ORCPT ); Tue, 25 Oct 2022 06:25:18 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E553D7C for ; Tue, 25 Oct 2022 03:22:59 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id j16so1485913lfe.12 for ; Tue, 25 Oct 2022 03:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=QFiuwIbv+bAoeutli0BiRLmAbI6CnnPeevj6u0N7M/w=; b=BGuPe5QcSnGzzHh+DjA2iAbyCVJqZVLdSh9ICX86csmBECrYkGIB6qFrUkobuh5dwW hMBosiwXdHYV9HHYzOjGqHiXdCHhodIZBtoORgtvGYpha7biEZQMO8OdxkKt5qcanQ+Z DfIsrJSNh7lqAn3cmcwL/G0AaMBi5FpyhjWAk0RufhFieiKKlbkJ84XhiCT3MYkH2SBd gKZxyNmfBkXYXQpjM+/w1pitxSxH5TYvlw3I8koYdomddhkGAV0/6g2BM6K6ZUD3Ikhz nttLEwOKHPz1seytHqgrvre2Hdds99Gi2M+FT98nagHKD07XgynFfWEIBYOJLL/s9A7p e5OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QFiuwIbv+bAoeutli0BiRLmAbI6CnnPeevj6u0N7M/w=; b=I8IUsAt0kFd/h7MDhm+5Y8PesBz1CcYkLSKFXO5zD4MsP+joEJMka9PYwXA7064KYv qqQMz1hTQ9wW0rCCM7ckAOqgIy0+6Kv2dsmhZfHdws5QDnbXFUgb5uFBzF9A5jHFvhNV TXvQ6NS3QVxKKFtyZKKPw9zXGNITgn1LZ+U+f7dPOLN4F6E9c4mEJ1Wyqx+/pLCthUC4 dkqEbMXMro0rXIIEMfAGG7hg58g+FOb66SP53pXL5yyBA0z5UCMW9DDgGOHRSJf3fI5Q PDsGhNvJHmVkNxZqGgazqrTYepXHXYmPt1dAcS7T9lZgMcxfB76zFNLKgrLFwAq7smFd TtZg== X-Gm-Message-State: ACrzQf3TS99/aMgbNxRLstg0qieeefWh3ujIAGxQ8ZUEkBhZrbOCjtim gWnKR8ci+swyPuXtDDyy07jWhg== X-Received: by 2002:a05:6512:b0f:b0:4ac:fa40:63ff with SMTP id w15-20020a0565120b0f00b004acfa4063ffmr2141859lfu.336.1666693377412; Tue, 25 Oct 2022 03:22:57 -0700 (PDT) Received: from [10.27.10.248] ([195.165.23.90]) by smtp.gmail.com with ESMTPSA id n22-20020a2e8796000000b002770a7e320esm424486lji.81.2022.10.25.03.22.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Oct 2022 03:22:56 -0700 (PDT) Message-ID: Date: Tue, 25 Oct 2022 13:22:56 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH] firmware/psci: demote suspend-mode warning to debug level Content-Language: en-GB To: Johan Hovold , Mark Rutland , Lorenzo Pieralisi Cc: Ulf Hansson , Sudeep Holla , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20221024143417.11463-1-johan+linaro@kernel.org> From: Dmitry Baryshkov In-Reply-To: <20221024143417.11463-1-johan+linaro@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 24/10/2022 17:34, Johan Hovold wrote: > 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 Acked-by: Dmitry Baryshkov > --- > > 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); > } > -- With best wishes Dmitry