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 410B6C00144 for ; Mon, 1 Aug 2022 13:31:44 +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=7mGSCAqYeGsY5xJFJdQsFty++oYt2bVWZ/CrwU8CUyQ=; b=ECy8YXv/cZt/a0 jdjZfLAYBMHB3Etrcoqu1LL9S+N+19BoCQ4HFfcqCxh7gOEzDBFe6zCHou8EOwgthbrJC2SC3Aznn ARbicsrFJeU7eodRIE+XGw0EP//9nBzkhrzmEkKh8ykWcvSjdTuJlaXhpDQPgEzCvGQAPOpFg8Uiw hlMpK8x2OtPRDSXv388HHzjIdaHKa6QZFFdSLblWSfHUzSElaBzbdNMEB4CmMPCyk6IbG4H41URe5 GRohpo1MbwL+oqQEnYYh1lLr29YqA3nBAV9Q8IZpEEz9XDOiPxtFhAB6u55NTB3EQ4dPiYb8Iax+R enCS8ddAjXr+GrsOLSoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oIVVM-006iYl-6Y; Mon, 01 Aug 2022 13:30:44 +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 1oIVVJ-006iVp-2u for linux-arm-kernel@lists.infradead.org; Mon, 01 Aug 2022 13:30:43 +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 24290ED1; Mon, 1 Aug 2022 06:30:35 -0700 (PDT) Received: from bogus (unknown [10.57.11.114]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 97CF73F73B; Mon, 1 Aug 2022 06:30:32 -0700 (PDT) Date: Mon, 1 Aug 2022 14:30:29 +0100 From: Sudeep Holla To: Mark Brown Cc: Florian Fainelli , 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: <20220801133029.3gtjlvomwbydybwy@bogus> References: <20220727200901.1142557-1-dmitry.baryshkov@linaro.org> <20220728090806.nnighsbx2lcgugon@bogus> <7d9607ed-f8eb-f3a2-22e4-4d2a240919c9@gmail.com> <20220801095910.ngexid57qgmvhes7@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-20220801_063041_197541_C50C2D4E X-CRM114-Status: GOOD ( 16.13 ) 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 Mon, Aug 01, 2022 at 01:14:25PM +0100, Mark Brown wrote: > On Mon, Aug 01, 2022 at 10:59:10AM +0100, Sudeep Holla wrote: > > > So if we need this beyond PSCI FID range, better you have it as generic > > SMCCC debug FS. Thoughts ? > > That thought did cross my mind when reviewing Dmitry's patch but given > that as far as I'm aware SMCCC isn't particularly enumerable it seemed > like it might be more of a small library of helpers than something you > could write a general structure for. I might be missing something > though. Agreed. I don't know how feasible in that yet, but would like to know Florian's thoughts/requirements to give it a thought. I don't think you are missing anything. One thing I thought is to add SMCCC version as well if we are adding PSCI version as lots of new additions have happened and it is good to have info IMO. SMCCC_ARCH_FEATURES query APIs might be useful. This is just initial thoughts. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel