Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1401183imm; Fri, 14 Sep 2018 17:40:11 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbWLmvCU0lE2OqJxRkHF2ouD2AN4XT6ceztfNrylw6p9V23q7LI/HqlEDvayXu1G4dpM2sE X-Received: by 2002:a17:902:9307:: with SMTP id bc7-v6mr14164406plb.225.1536972011245; Fri, 14 Sep 2018 17:40:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536972011; cv=none; d=google.com; s=arc-20160816; b=b6YgGJAi/XOWa7H1w7LvbiLiHxeoRY/YDx2tRoxRwPCdqnk23Lkq7nHcSlueDF6qMD 649WNw4ZzfArq8VJS6ZJ8TLsAkCHnNG4wNLK7H2IBMZ2Ilrnnv9TKYDqN3Tiaai9wDXW wfuBu0OdMp952BPXcIqCBmQ6eJzmLJzQMxMoUjb+U0y4ejq/E0/tgIiGFxo9eT6OnG9S dAfYTJt7Jw+I3uA1RgLQDUsGimpP6+EUNIs3+DECqrRe7+uSjv1AFp4Qel2jQCyKueWV IsEyIBs09ZWOXapdOE224gkD/9BrmyXz+Rg0gVX2iw/vtjU4YjAnwfD8v0bPhzSKYRO3 u3rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=KtVtTFHcaHVtJCxf71DE/bjrheZLypwGVv0Ot5VUQTI=; b=QQYsD8R8bxCEP5vtYjpZ6iDFXxlGLruXQNwZJolx9gBMHOSopmrZK1c0o/0Nr1bllO 6gBWPDWgo9GJuYbewlyTpZR8TdyhblRcbh/YIxEu7OqtWDrWCKW9sj0fYwk74EJ4ciSt +SiRJHyNurSmj6+3s9zG7vF4iV7E0KZqGzHzpU8f0uIcCFLKFD0z50mHvM924jF7wtF3 rowRT9EDDvUAHTX+JhYmhKQ6ls3/Wn3pwcmdnGOgR7JmAZE1aMPz9vpPPXJN9OhQAjWJ V4zSokix3JhY7miCEKxMJ8WTcRMUlAky37On2qehLY8zr70lDU0cyCpeu7T9SdA8i5Vp l+mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kpYVXz1n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c31-v6si7545723pgl.126.2018.09.14.17.39.55; Fri, 14 Sep 2018 17:40:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kpYVXz1n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726834AbeIOFyT (ORCPT + 99 others); Sat, 15 Sep 2018 01:54:19 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:37360 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbeIOFyS (ORCPT ); Sat, 15 Sep 2018 01:54:18 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8F0bR6T071581; Fri, 14 Sep 2018 19:37:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1536971847; bh=KtVtTFHcaHVtJCxf71DE/bjrheZLypwGVv0Ot5VUQTI=; h=From:To:CC:Subject:Date; b=kpYVXz1nTk47qUK20UOPTUp4JTKYrTxA51yvyH207E6UuvNylYAdhKoGDy80OWc5X UBLWHp7rE5nnMO1QjxvZCDaF+yVtEiRgGlCh12hqJC3dPPSIm6BVgY9yAiVsVftnge F0+vmemr9IScCTKxOuXHrX1qzCsUrbq04q9qI31I= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8F0bRwL023585; Fri, 14 Sep 2018 19:37:27 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 14 Sep 2018 19:37:27 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 14 Sep 2018 19:37:27 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8F0bRIi007366; Fri, 14 Sep 2018 19:37:27 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.153]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w8F0bRx13335; Fri, 14 Sep 2018 19:37:27 -0500 (CDT) From: Suman Anna To: Bjorn Andersson CC: Ohad Ben-Cohen , Loic Pallardy , Arnaud Pouliquen , , , Suman Anna Subject: [PATCH 0/5] remoteproc sysfs fixes/improvements Date: Fri, 14 Sep 2018 19:37:20 -0500 Message-ID: <20180915003725.17549-1-s-anna@ti.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, The following series includes couple of fixes and improvements associated with the sysfs interfaces. Patches are based on top of 4.19-rc1. The first 3 patches are independent of each other. Following is the patch summary: - Patch 1 fixes an issue with unbalanced sysfs start/stop and module removal - Patch 2 adds a minor additional check on firmware name being echoed into the sysfs file - Patch 3 is a minor kerneldoc fix. - Patches 4 and 5 introduce a new request denial to sysfs interfaces to not allow userspace to meddle with a remoteproc client driven boot flow, and usage of it by Wkup M3 remoteproc driver regards Suman Suman Anna (5): remoteproc: Fix unbalanced boot with sysfs for no auto-boot rprocs remoteproc: Check for NULL firmwares in sysfs interface remoteproc: Add missing kernel-doc comment for auto-boot remoteproc: Introduce deny_sysfs_ops flag remoteproc/wkup_m3: Set deny_sysfs_ops flag drivers/remoteproc/remoteproc_sysfs.c | 29 ++++++++++++++++++++++++++- drivers/remoteproc/wkup_m3_rproc.c | 1 + include/linux/remoteproc.h | 3 +++ 3 files changed, 32 insertions(+), 1 deletion(-) -- 2.18.0