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 20DBFC00144 for ; Fri, 29 Jul 2022 11:51:00 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8PdDqCEMov2Yl9HbEJ4/MKZApBAdpf7/be99nqvftis=; b=lCRQlNHPcf2T82 9meov0BNcL+SYhPs6A98v9OePrLusdwUreWF/jfWqzZQQfIVKqbhQMHA/ukvlTB8un7nK14Abjvw4 V3OYbx2xrAmsbLJTsykzPTgbviZq3HDz+4d8he54oj6SeTP1QROjIDRxRXNFWVwFbSd/DOJco53DT 2TWvqXNrbpL3KvvfLlnTEQwB7gQYAcPmZmhJS5YQa8KPuTIyv3LunjNGY38oGMYXQ04ERtP12xt7d DzaIVzQWS8zZQzfVxheADfN2aYo0Loh4L5g7/Q8nQgxsD0y6G+zv+j4/6aDf3fYzhcEAIsXFRC1R/ ivAFaLuPt1rZcLzfo7lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oHOVC-004XEx-K8; Fri, 29 Jul 2022 11:49:58 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oHOV9-004XD5-LN for linux-arm-kernel@lists.infradead.org; Fri, 29 Jul 2022 11:49:57 +0000 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 05ED71063; Fri, 29 Jul 2022 04:49:51 -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 4995D3F73D; Fri, 29 Jul 2022 04:49:49 -0700 (PDT) Date: Fri, 29 Jul 2022 12:49:46 +0100 From: Sudeep Holla To: Mark Brown Cc: Dmitry Baryshkov , Mark Rutland , Sudeep Holla , Lorenzo Pieralisi , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH] firmware/psci: Add debugfs support to ease debugging Message-ID: <20220729114946.jhjjmkw36vjdsyj3@bogus> References: <20220727200901.1142557-1-dmitry.baryshkov@linaro.org> <20220728090806.nnighsbx2lcgugon@bogus> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220729_044955_786179_24DE6AA2 X-CRM114-Status: GOOD ( 15.46 ) 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 Thu, Jul 28, 2022 at 02:05:56PM +0100, Mark Brown wrote: > On Thu, Jul 28, 2022 at 10:08:06AM +0100, Sudeep Holla wrote: > > On Wed, Jul 27, 2022 at 11:09:01PM +0300, Dmitry Baryshkov wrote: > > > > To ease debugging of PSCI supported features, add debugfs file called > > > 'psci' describing PSCI and SMC CC versions > > > These 2 are for sure in the boot log. Having them is debugfs accessible > > via file system add not much value as we would hit issues quite early in > > the boot for most of the things related to PSCI. > > It can be useful to have something that can be queried at any point when > collecting diagnostics, even if there's been a lot of logging or log > rotation since boot. It makes it easier to give people instructions or > a tool which will reliably collect useful information when filing a bug > report. Fair enough. I agree this is will be useful to debug/analyse non boot issues. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel