lkml.org 
[lkml]   [2020]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Move recovery and coredump interface to sysfs
Date
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

\
 
 \ /
  Last update: 2020-07-29 01:09    [W:0.059 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site