Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp737652rwi; Thu, 27 Oct 2022 07:05:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5CqDeSA0Lff1RSY8dL1V4bzd5lqgULAaRDZ+KfCJDHt3hBedaEzQrO3cqimjUA/smkiXGz X-Received: by 2002:a63:4904:0:b0:439:e6a4:a3b5 with SMTP id w4-20020a634904000000b00439e6a4a3b5mr40690488pga.182.1666879515939; Thu, 27 Oct 2022 07:05:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666879515; cv=none; d=google.com; s=arc-20160816; b=EJxBfqJabzQNq6XSBrnnYt0/GHZh54x5HgxOgQ6ronrccaT4kjU0tF4ePNEqhuQ1Sd z2GXtzgyxHgvKsSEQd96D8klNM/rm7V+lGGX2nJtdy4DRuQWWxuK+vAC3ERAyUGmAdGl 3h9pvSqI+R9HYJoHfjrQYzesybUUr210mHlaic/NLr+IFBkrej9RyYGV6V4NHVDJ7357 FCjHenuwemuNA56H9V2vQoBlJ0RVlJjU7P+P4FOUsQ5bVAjK4uFIYd3/mE9PjG6ShIBV JNp1KhkEq36fEiSwPj76WjjbEy1A7c5vW7gFd+d/qcXluycQ1L1hZozw3+m+nBUwfath VMWw== 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=KMDofYqKCYns4OXWaJxd/7QBnTjVi75ALiR0NgTuexU=; b=f4Y49PxQIrJj/wRjArcDprxXEqcyQcGQcERfMsTOenijuugPciaDxFTOuR2M5UtPs4 s3/ecs8uHCL/72wKOwRyFmu9cFVzBqKtvZI7G4zjBikXk89y46KO/UOLcMVpIX9n2Anq wgYsVEPbmVr4sVDolNzgD0NIkJzU1T6+M8UyZEN35SgFXsjB1u1iUkhuR66cidSDeL+H P6fokh91fRWUjncxyQVYLy/zVVRxtFXHATyYOVOmWSVkiny1wJA6gxC/V5hab2g/CuYg jZSyEJZrv1P7PJ9IfxF4T7NSEi/kR4YX3l9PS9wtOW2hBKuDHnPySoNwHqawwtH+dKVp B97g== 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 bm18-20020a656e92000000b0044ac2bbaccasi1707070pgb.729.2022.10.27.07.05.03; Thu, 27 Oct 2022 07:05:15 -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 S235285AbiJ0M6m (ORCPT + 99 others); Thu, 27 Oct 2022 08:58:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233473AbiJ0M6l (ORCPT ); Thu, 27 Oct 2022 08:58:41 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 39F9F173FC4 for ; Thu, 27 Oct 2022 05:58:40 -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 4699D23A; Thu, 27 Oct 2022 05:58:46 -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 C5EBD3F7B4; Thu, 27 Oct 2022 05:58:38 -0700 (PDT) Date: Thu, 27 Oct 2022 13:58:36 +0100 From: Sudeep Holla To: Mark Rutland Cc: Johan Hovold , Sudeep Holla , Lorenzo Pieralisi , Ulf Hansson , Dmitry Baryshkov , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] firmware/psci: demote suspend-mode warning to info level Message-ID: <20221027125836.jlqis3qzyh232smy@bogus> References: <20221026135445.8004-1-johan+linaro@kernel.org> 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 Thu, Oct 27, 2022 at 01:15:59PM +0100, Mark Rutland wrote: > On Wed, Oct 26, 2022 at 03:54:45PM +0200, Johan Hovold wrote: > > On some Qualcomm platforms, 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 info level and clearly mark it as a firmware bug: > > > > psci: [Firmware Bug]: failed to set PC mode: -3 > > > > Signed-off-by: Johan Hovold > > On the assumption that we don't have any latent issues in this case, this looks > ok to me, so: > > Acked-by: Mark Rutland > > Sudeep, does this reasonable to you? > > Are there any latent issues that mean we should keep this as a pr_warn()? I am fine removing it as warning but making it debug may mask the issue completely on the platforms that are using Linux itself for validation of their PSCI firmware implementation. This sounds like a good compromise instead of jumping from warning directly to debug. I just want to give a chance for platforms noticing this and working on getting their firmware fixed. So for this version: Acked-by: Sudeep Holla -- Regards, Sudeep