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 6B99EC433F5 for ; Wed, 16 Feb 2022 08:14:12 +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:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=IuKATsPP91jZI/SJBSs1f1JC39FcYYT6vjZBNNXDoeA=; b=fJjb3UDFTuGEIk V2/SaWG6Wwm873q9LxGCFTwr2riJutqSD6Rb0MkbHaEPariuaJi0H+NS/3u69DhQSW/b1gAoLM4+x ZKKcVrmi+VHgukYyE25XTw66WJ4Cx18XZtgq06BJPUEC3oGJHPqgKQjuL4HG/caKCUAEH6nsyqE8v 2EZea+4vBtQWn3Yx0Aqobawe/j6N8WOoR44jo14ilRMCbth7GkJV0j/dKEKhu8PzpuuCiVYcLqsoh XZS7ZHewbW9zazIuRswUqpORF1wcSFf5dgV1X7vaFZnXO2AlW1ERZHqmqR2b03+0IHJD1PWEAKVZr JaPvail+t5nu4tNLKVHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKFQb-00632x-GC; Wed, 16 Feb 2022 08:12:46 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKFQT-00630D-FK for linux-arm-kernel@lists.infradead.org; Wed, 16 Feb 2022 08:12:39 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 21G8CaVt091592; Wed, 16 Feb 2022 02:12:36 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1644999156; bh=KAQc8YkqRT1ouuazoxPakEAsSCwiMEHewqlC7GzcM50=; h=From:To:CC:Subject:Date; b=AyF6sTSNWEzgqtcXMnga5yQDzHPqM9OAEyaCt8WEXZtXmVgunHJNypfs1416z57GU x+8Pp1PtPVX70kTB0fe/mM4a7CyS0L/udhpK/0Ebxmb/R9gYtWjxVIbxEW+TKtRIuC qvsgnfNcVSA+ltIDkG3KuLyltDVctRkNcdSiWDt0= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 21G8CaoA064513 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 16 Feb 2022 02:12:36 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 16 Feb 2022 02:12:36 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Wed, 16 Feb 2022 02:12:36 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 21G8CYtC032917; Wed, 16 Feb 2022 02:12:35 -0600 From: Puranjay Mohan To: , , , , , , , CC: Puranjay Mohan Subject: [PATCH v5 0/2] remoteproc sysfs fixes/improvements Date: Wed, 16 Feb 2022 13:42:22 +0530 Message-ID: <20220216081224.9956-1-p-mohan@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220216_001237_645133_3D6BE775 X-CRM114-Status: GOOD ( 11.91 ) 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 This is a refresh of the patches from an old series [1]. Patch 1 of that series is not required now as [2] serves its purpose. Patch 2 has been improved and is being posted here. Patch 3 is unchanged, it has been rebased and posted. The features being introduced here will be needed by the recently posted PRU remoteproc driver [3] in addition to the existing Wkup M3 remoteproc driver. Both of these drivers follow a client-driven boot methodology, with the latter strictly booted by another driver in kernel. The PRU remoteproc driver will be supporting both in-kernel clients as well as control from userspace orthogonally. The logic though is applicable and useful to any remoteproc driver not using 'auto-boot' and using an external driver/application to boot the remoteproc. [1] https://patchwork.kernel.org/project/linux-remoteproc/cover/20201121030156.22857-1-s-anna@ti.com/ [2] https://patchwork.kernel.org/project/linux-remoteproc/patch/20201126210642.897302-4-mathieu.poirier@linaro.org/ [3] https://patchwork.kernel.org/project/linux-remoteproc/cover/20201119140850.12268-1-grzegorz.jaszczyk@linaro.org/ Puranjay Mohan (1): remoteproc: Introduce sysfs_read_only flag Suman Anna (1): remoteproc: wkup_m3: Set sysfs_read_only flag drivers/remoteproc/remoteproc_sysfs.c | 19 ++++++++++++++++++- drivers/remoteproc/wkup_m3_rproc.c | 1 + include/linux/remoteproc.h | 2 ++ 3 files changed, 21 insertions(+), 1 deletion(-) -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel