[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1595977697-15389-1-git-send-email-rishabhb@codeaurora.org>
Date: Tue, 28 Jul 2020 16:08:15 -0700
From: Rishabh Bhatnagar <rishabhb@...eaurora.org>
To: linux-remoteproc@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: bjorn.andersson@...aro.org, mathieu.poirier@...aro.org,
tsoni@...eaurora.org, psodagud@...eaurora.org,
sidgup@...eaurora.org, Rishabh Bhatnagar <rishabhb@...eaurora.org>
Subject: [PATCH 0/2] Move recovery and coredump interface to sysfs
>From Android R onwards Google has restricted access to debugfs in user
and user-debug builds. This restricts access to most of the features
exposed through debugfs. 'Coredump' and 'Recovery' are critical interfaces
that are required for remoteproc to work on Qualcomm Chipsets. Coredump
configuration needs to be set to "inline" in debug/test builds and
"disabled" in production builds. Whereas recovery needs to be "disabled"
for debugging purposes and "enabled" on production builds. Moving these
interfaces to sysfs will allow usage for these interfaces for
production and debug builds.
Rishabh Bhatnagar (2):
remoteproc: Move coredump entry from debugfs to sysfs.
remoteproc: Move recovery debugfs entry to sysfs
Documentation/ABI/testing/sysfs-class-remoteproc | 76 +++++++++++
drivers/remoteproc/remoteproc_debugfs.c | 167 -----------------------
drivers/remoteproc/remoteproc_sysfs.c | 123 +++++++++++++++++
3 files changed, 199 insertions(+), 167 deletions(-)
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists