Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8447889rwi; Tue, 25 Oct 2022 06:53:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4+lMQ3HPH2TRd6/w/q5k/h1a4SW4cVXEOORRPtBYo++ZfMO/aQoi2iHeWX8z6qGVdXtM7f X-Received: by 2002:a17:906:cc4a:b0:7a0:71f0:3b25 with SMTP id mm10-20020a170906cc4a00b007a071f03b25mr15940878ejb.595.1666706039043; Tue, 25 Oct 2022 06:53:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666706039; cv=none; d=google.com; s=arc-20160816; b=LErnZ9bXZd+SAohFgrDwv+ifJmtZYBWaIyO86Xkew+X4GEzGf574mGFbokXvazQNQZ BDpHx0S3ct0PM03P7ZJ7hHerFMd/WYGnoTsq+BLgyR80s16ArLEgrizA4C5o+j7huaXL U0iuSeyX2rmprjGKDmWmgVTpFDxNy1r8fD+3udEq9N39DkDk7yvCcKqMqPmfxirC39yS bswyMhHvCBWDyOmL5uoJl0sskazuJ8kKLt5Mt5JyIdxJNy/JVruRmrOBPNHbiybIb9BN NHYhdFjdclItf8y3bzeGkeJcUghvcnTALaSAXTmIJyj4vymm3yCSxF6ZSqeQjld4FoQy 4PfA== 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:dkim-signature; bh=wcpI1BIV2bwJPvcfD+5baTvswR6eqVK8hdll7mk48aE=; b=pzYJtd1Zemia93fLNoNSrc/iSNtRU4aMExCkE1VTIWbtUaB73A7mPVP5nkEq4PKzUH prEWvoWpt4CtBbXd3qoK2mzhFmIzlUXF7OChOXKDQsuygkyKCSpnyuMKHGg/vf3Y/+tw KzJlHO6wcvVtKY50kovWADbKjZENNyJXfe+dFE+zdao1U3eS0ft3tk9sks/uf7g0Z+gD Xl9CMtnIMEkrcKCj8/PXYDjU/aU1BBeLBJmlU6TBrjWxVeuf2K8Spbt/KwYxNLcZwirj +gz/p4026D0JPx0TAnL+TViCP1Ts62fbSTv8s5wZRhKkTBiSPBf4ZGtvlWmLh5UYEBqg LG4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fRntCiii; 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 m7-20020a056402430700b004574154f09asi3213616edc.529.2022.10.25.06.53.34; Tue, 25 Oct 2022 06:53:59 -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=fRntCiii; 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 S232613AbiJYNAb (ORCPT + 99 others); Tue, 25 Oct 2022 09:00:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232979AbiJYM7m (ORCPT ); Tue, 25 Oct 2022 08:59:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 153078262D for ; Tue, 25 Oct 2022 05:56:20 -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 A5FD26191C for ; Tue, 25 Oct 2022 12:56:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1378CC433C1; Tue, 25 Oct 2022 12:56:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666702579; bh=bCqzRGl1FdGUqf/GpPxaKPWh93hx4ZWz6ftzxtQpuIM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fRntCiii7c5mSijZk1L3Fa+Qx4RLEixdsh2rozeRDnjojuqrR0tVa85Xvx0gVryYa VZp/ClVwMBri+BYU+uiFSvwNImaCNBcwNTUrTdFIJLbo38l2feEJ1KaoW2UwFPordm L+02ZpKW9IwFQ2wxOsyWVxwS4TZGpKsWEoSljj1MCo/Ekmr/uWBzblWNeLYjnEbzLP u37g/RcVLCmIrXAfgJHe2CPAiZ+f7U+O6vnWUz1h9eq22nskSGGTEJf+JpDlmtFH4v +Jie6glnXXIzlEQSm6MobnwXFGZ8QhRB3aKw67ziDM0kNBd+QW8drueZhEklAJxQcg xb7PWZVq47mZA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1onJTM-0001iG-Ju; Tue, 25 Oct 2022 14:56:01 +0200 Date: Tue, 25 Oct 2022 14:56:00 +0200 From: Johan Hovold To: Sudeep Holla Cc: Johan Hovold , Mark Rutland , Lorenzo Pieralisi , Ulf Hansson , Dmitry Baryshkov , Daniel Lezcano , 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: 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: <20221025115355.26zrhmaudigumivn@bogus> 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 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? 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. Johan