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 CC769C25B0E for ; Tue, 16 Aug 2022 18:04:34 +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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jtMROJkKLM1nyOa6bBFW1iA14Mbx3XkJq8xBFQvZ+wY=; b=RY2MAqu06plPF3rR5k25Ou8DrM ol4Rc/HxKac3i6THADwhF2tCjeBIieJVaRYwLOumsb9UwvlqHLMIjPUfPs3pCidVH5M/gtAfGjvnM yli/y3By5GhbX0GI1x2cuzSyh6FDqT9I8PeFeeDVqxJEnSleM3yEYnSpd89cXk6PGljpHh8Q9TnYD 2JujR3gnIEJBxKUjtV2Rtxdd1mlK0zj43aVnvEdUJP8dlItEbTHOTnjtbFyTpT3gmO/P7XT6bJW1B 2pXk1/JpPHw1xjzYkfLHq2MobMdH5QS9k0u7/mlgJA/cr92nqDY+qGMdGlwQERLImnamXrmeBhjV7 2O1BQADg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oO0uZ-005ao7-MA; Tue, 16 Aug 2022 18:03:31 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oO0uX-005ajX-3j for linux-arm-kernel@lists.infradead.org; Tue, 16 Aug 2022 18:03:30 +0000 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 9AEC961341; Tue, 16 Aug 2022 18:03:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CA73C433D6; Tue, 16 Aug 2022 18:03:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660673008; bh=G3oMU9H2bOD8Or2niXHgSPfeXd+eJLRmhjE1HQYY2Yo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TrfTG8CM2Eahz1Oe5xci61NtpAGdT3pJyr6A+2YaLwMxW48IRs79p3iqOM/qzP7Kw w94vBpCgUjtv55C2rFg4+0zoeQVDWe9k2AY8WpyB6FUzSVq43GdYRdCPFi33Zfc+nU YhmOZHiD5ANdLIdNb04DQX0d3pSsWT92PDEutYLI7xMyvgqi1is+L3X/m89bx4nUoj +0tQ0dvaOC7E0eUz8BmLMVhZzCyT7XZ+C9IR//GQBKm4sDM3FXbkx5QEJwxP/e1cul n/lwd7DQLABp8W/N+DA9fi4HwGpiagcxU/6jYyLJ+xf8S5BWr30jUd52DBSJk2AQb/ Pry17doAhQAUg== Date: Tue, 16 Aug 2022 19:03:21 +0100 From: Mark Brown To: Cristian Marussi Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sudeep.holla@arm.com, james.quinlan@broadcom.com, Jonathan.Cameron@huawei.com, f.fainelli@gmail.com, etienne.carriere@linaro.org, vincent.guittot@linaro.org, souvik.chakravarty@arm.com, wleavitt@marvell.com, peter.hilber@opensynergy.com, nicola.mazzucato@arm.com, tarek.el-sherbiny@arm.com Subject: Re: [RFC PATCH 5/6] firmware: arm_scmi: Add raw transmission support Message-ID: References: <20220816072450.3120959-1-cristian.marussi@arm.com> <20220816072450.3120959-6-cristian.marussi@arm.com> MIME-Version: 1.0 In-Reply-To: <20220816072450.3120959-6-cristian.marussi@arm.com> X-Cookie: laser, n.: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220816_110329_249511_911A00F3 X-CRM114-Status: GOOD ( 14.00 ) 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: multipart/mixed; boundary="===============7829474297219053067==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7829474297219053067== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oZ5z/uvlaRT/pQfx" Content-Disposition: inline --oZ5z/uvlaRT/pQfx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 16, 2022 at 08:24:49AM +0100, Cristian Marussi wrote: > Add SCMI Raw mode support which exposes a userspace interface rooted under > /sys/kernel/debug/scmi_raw. > Raw mode can be enabled/disabled at runtime via ./scmi_raw/enable. > Once enabled, all the regular SCMI drivers activity is inhibited and a > userspace application can then inject and read back bare SCMI messages > writing and reading to/from ./scmi_raw/message* entries. Is there a strong reason to have the runtime enable/disable? Given that this is going to be used in special kernel builds rather than something people have as standard it feels like the transition to/from raw mode is opening up a set of extra use cases that wouldn't normally come up for the SCMI drivers (especially if the testing ends up leaving the firmware in a weird state). --oZ5z/uvlaRT/pQfx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmL72+kACgkQJNaLcl1U h9AnIAf/UnFBTCcR2aSpToxnm1QOwTQhIIgWQ/EVMyflE/XcKEvUfHOiqtGmzGsf rl8P2gEYq1XtBvgtCLLPL9UVypr9TLgG01TRf8VimCR/V6rV/jQd/XCHcvYKDwFH 6ld6Yh6QWXuqj/Qs53g7KTiv3To3G6trbMhkCKZ4ooqGXvWqtWs5l+c/2E67Zc2i +51W8axpcx9CWuF6nqqO1MKlcoIL3PpPD21I8qlRvp8hueKgVtE9DLE3RaJlFvFA eslDuT011nyrlBkbwH5PKU3B85NXaixpSU4vBkFS3nOcCn+ZviUBGuc5LV5NxGYI x/mnqNwXBOL1WYv40GCf2zXbLGGa/g== =K2vg -----END PGP SIGNATURE----- --oZ5z/uvlaRT/pQfx-- --===============7829474297219053067== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============7829474297219053067==--