Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8496256rwi; Tue, 25 Oct 2022 07:23:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7XXO1k0u92aVtBBiVOQU07WtuHkWE7Icl2tUXYoarhO5CuSYH0jf9CZZANkQ0YO/GsCKsJ X-Received: by 2002:a05:6402:26c6:b0:45d:374b:fb73 with SMTP id x6-20020a05640226c600b0045d374bfb73mr35408477edd.424.1666707797052; Tue, 25 Oct 2022 07:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666707797; cv=none; d=google.com; s=arc-20160816; b=JaLBFrHLTpvM07fRT4yr1Fqq4a90JtP8st5cBmTx5lmpUhuy/hHwRtu65DBDwGGsP1 TudwyKVPNOIGh5t/96nYWfbCzZgvz9aFhlNqRLiE3FhMvwe2amlUPRGwI/VvHULOOrv3 Un2VsKhixoy5vcBpogEQozUPB5IpLNTlTuDi1bd7fdUlUN0+Z4t7ecQF4x5Or+triSfZ pUNOPILbGCee78I+5ik5U0o8Mg5CkYDOkttbdRSD9JBKop8+Q6kf7nNQWCPtHYaJeHvt kRunZAMNScHIW2lJKQ27IuI1vVGe8yVawG46DJ666+if85DZIOjk5OWfOm5/suLfvXYz gXQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=wsNa4ou7o5jU2neZZ8W7NIetpEg23TCwV0Oqgfwlf/w=; b=IB8pFjkTjyvZrAIctvHuSkeCqO49K1gshksLH7+58G5nrw0fb9IyIOdVNmFIz0/S+v YCE0POsHC3EaCNcsi+BC7V6ZrAEBOnmQVpsGEXEaFM1G1I6EUtr56v0FcVvogM9SYQdv 7X+dVpWRFreA4OeZqZ7savf/xgx1Gv4wPeonmoC/5qin7Ehhgf0kTIsGnsCA6/bmB0Dp H5gyEZSEd1XglX8Ov6Sae2Dmn/3ayFyi+cVNKaaItqR9hpxUhJrIQjGA5CIxVO/ur4K3 a8gl7iXhzf/CYc1hOrcpn0o74nLSUdaRkYHyNyCgz9CnKZ11Hr7sV5iFVbZ5oqXHLDVD xQFA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d23-20020aa7c1d7000000b0046194b2dd53si2740975edp.119.2022.10.25.07.22.51; Tue, 25 Oct 2022 07:23:17 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232830AbiJYN1I (ORCPT + 99 others); Tue, 25 Oct 2022 09:27:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232825AbiJYN1E (ORCPT ); Tue, 25 Oct 2022 09:27:04 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C4C79766A for ; Tue, 25 Oct 2022 06:26:59 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2B7AE23A; Tue, 25 Oct 2022 06:27:05 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 939043F71A; Tue, 25 Oct 2022 06:26:57 -0700 (PDT) Date: Tue, 25 Oct 2022 14:26:55 +0100 From: Sudeep Holla To: Johan Hovold Cc: Johan Hovold , Mark Rutland , Lorenzo Pieralisi , Ulf Hansson , Dmitry Baryshkov , Daniel Lezcano , Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] firmware/psci: demote suspend-mode warning to debug level Message-ID: <20221025132655.4kddpdod5czw3vts@bogus> References: <20221024143417.11463-1-johan+linaro@kernel.org> <20221025115355.26zrhmaudigumivn@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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, Oct 25, 2022 at 02:56:00PM +0200, Johan Hovold wrote: > On Tue, Oct 25, 2022 at 12:53:55PM +0100, Sudeep Holla wrote: > > On Mon, Oct 24, 2022 at 04:34:17PM +0200, 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. > > > > > > > As mentioned in the other thread I prefer to keep this as error as we > > shouldn't mask this error and enable more/newer platforms to ignore it > > when they can go and fix it. So I don't agree with this. > > But now every owner of an X13s laptop will see this not very informative > error at every boot and wonder what it means. Has something gone broken? > Should they be worried? Can something be done about it? > I understand that but I have expressed why I am concerned on generalising it. As long as we inform the concerned owners running Linux(which is quite small at the moment), keeping it will help to get these fixed on platforms that are running Linux today for validation and get it fixed if their platform firmware suffers from the same. > Remember that this is firmware used by Windows machines so by the time > we see this in Linux it's probably way too late to fix in firmware > anyway. > I am well aware of that fact, but I am targeting platforms that are using Linux for validation today. Honestly, I am not sure if we need to target for zero errors or warnings on the platforms instead of repeatedly annoy them with warnings until it is fixed. Otherwise I see it won't be fixed ever. That said, this is just my opinion. -- Regards, Sudeep