at every _sync initcall level after subsys initcall, allowing
these drivers to be probed earlier.
Signed-off-by: Vikram Mulukutla
Signed-off-by: Rishabh Bhatnagar
---
To give an example many Qualcomm drivers are dependent on the regulator and
bus driver. Both the regulator and bus driver are
From: Rishabh Bhatnagar
Drivers that are registered at an initcall level may have to
wait until late_init before the probe deferral mechanism can
retry their probe functions. It is possible that their
dependencies were resolved much earlier, in some cases even
before the next initcall level
at every _sync initcall level, allowing these drivers to be
probed earlier.
Signed-off-by: Vikram Mulukutla
Signed-off-by: Rishabh Bhatnagar
---
drivers/base/dd.c | 33 +++--
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git a/drivers/base/dd.c b/drivers
Vikram Mulukutla
Signed-off-by: Rishabh Bhatnagar
---
drivers/base/firmware_loader/main.c | 30 ++
1 file changed, 18 insertions(+), 12 deletions(-)
diff --git a/drivers/base/firmware_loader/main.c
b/drivers/base/firmware_loader/main.c
index 2e0c37a..db9038c0
using request_firmware_into_buf.
Fix alloc_lookup_fw_priv to not add to the fwc head list if FW_OPT_NOCACHE
is set, and also don't do the lookup in the list.
Fixes: 0e742e9275 ("firmware: provide infrastructure to make fw caching
optional")
Signed-off-by: Vikram Mulukutla
Si
From: "ckad...@codeaurora.org"
Documentation for last level cache controller device tree bindings,
client bindings usage examples.
Change-Id: Ic2d6d6154ab8269cfce6828e9f2250320a0572e8
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
.../devicetree/bindings/ar
by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
drivers/soc/qcom/llcc-sdm845.c | 120 ++
drivers/soc/qcom/llcc-slice.c | 454 +
include/linux/soc/qcom/llcc-qcom.h | 178 +++
3 files changed, 752 insertions(+)
create mode
This series implements system cache or LLCC(Last Level Cache Controller) driver
for SDM845 SOC. The purpose of the driver is to partition the system cache and
program the settings such as priortiy, lines to probe while doing a look up
in the system cache, low power related settings etc. The partiti
Documentation for last level cache controller device tree bindings,
client bindings usage examples.
Change-Id: Ic2d6d6154ab8269cfce6828e9f2250320a0572e8
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
.../devicetree/bindings/arm/msm/qcom,llcc.txt | 70
This series implements system cache or LLCC(Last Level Cache Controller) driver
for SDM845 SOC. The purpose of the driver is to partition the system cache and
program the settings such as priortiy, lines to probe while doing a look up
in the system cache, low power related settings etc. The partiti
to get information such size & ID of the
slice they get and activate or deactivate the slice as needed. LLCC driver
provides API interfaces for the clients to perform these operations.
Change-Id: I93c5f3225d0a917f0d6c64c7588a4e64e33a59ed
Signed-off-by: Channagoud Kadabi
Signed-off-by: Ris
Documentation for last level cache controller device tree bindings,
client bindings usage examples.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
.../devicetree/bindings/arm/msm/qcom,llcc.txt | 58 ++
1 file changed, 58 insertions(+)
create
This series implements system cache or LLCC(Last Level Cache Controller)
driver for SDM845 SOC. The purpose of the driver is to partition the
system cache and program the settings such as priortiy, lines to probe
while doing a look up in the system cache, low power related settings etc.
The partiti
to get information such size & ID of the
slice they get and activate or deactivate the slice as needed. LLCC driver
provides API for the clients to perform these operations.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
drivers/soc/qcom/Kconfig | 17 ++
dri
compiling with Clang 6.0. Change it to iter->skip.
Change-Id: I5abd1ce5ba76737a73bd6eca94b07b1bd5267523
Signed-off-by: Rishabh Bhatnagar
---
lib/rhashtable.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/rhashtable.c b/lib/rhashtable.c
index 9427b57..3109b2e 100
to get information such size & ID of the
slice they get and activate or deactivate the slice as needed. LLCC driver
provides API for the clients to perform these operations.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
Reviewed-by: Evan Green
Reviewed-by: Rob Her
Documentation for last level cache controller device tree bindings,
client bindings usage examples.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
Reviewed-by: Evan Green
Reviewed-by: Rob Herring
---
.../devicetree/bindings/arm/msm/qcom,llcc.txt | 26
This series implements system cache or LLCC(Last Level Cache Controller)
driver for SDM845 SOC. The purpose of the driver is to partition the
system cache and program the settings such as priortiy, lines to probe
while doing a look up in the system cache, low power related settings etc.
The partiti
Documentation for last level cache controller device tree bindings,
client bindings usage examples.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
.../devicetree/bindings/arm/msm/qcom,llcc.txt | 70 ++
1 file changed, 70 insertions(+)
create
This series implements system cache or LLCC(Last Level Cache Controller) driver
for SDM845 SOC. The purpose of the driver is to partition the system cache and
program the settings such as priortiy, lines to probe while doing a look up
in the system cache, low power related settings etc. The partiti
to get information such size & ID of the
slice they get and activate or deactivate the slice as needed. LLCC driver
provides API interfaces for the clients to perform these operations.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
drivers/soc/qcom/Kco
Documentation for last level cache controller device tree bindings,
client bindings usage examples.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
.../devicetree/bindings/arm/msm/qcom,llcc.txt | 26 ++
1 file changed, 26 insertions(+)
create
to get information such size & ID of the
slice they get and activate or deactivate the slice as needed. LLCC driver
provides API for the clients to perform these operations.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
drivers/soc/qcom/Kconfig | 17 ++
dri
This series implements system cache or LLCC(Last Level Cache Controller)
driver for SDM845 SOC. The purpose of the driver is to partition the
system cache and program the settings such as priortiy, lines to probe
while doing a look up in the system cache, low power related settings etc.
The partiti
o __field_ext macro which does is_signed_type
check on the type argument. Since initcall_t is defined as a function
pointer, using it as the type in the __field macro, leads to an ordered
comparison of function pointer warning, inside the check. Using
__field_struct macro avoids the issue.
Signed-off-by: R
creating a high priority workqueue
will utilize separate worker threads with higher nice values than
normal ones.
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/remoteproc_core.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/remoteproc/remoteproc_core.c
Add capability to load blobs parallely during loading
of firmware. Create a high priority unbound workqueue and
schedule work items to load the firmware blobs parallely.
This helps in improving firmware loading times.
Signed-off-by: Rishabh Bhatnagar
---
drivers/soc/qcom/mdt_loader.c | 147
has finished shutting
down.
Signed-off-by: Siddharth Gupta
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/qcom_common.c | 46 +--
include/linux/remoteproc/qcom_rproc.h | 14 +++
2 files changed, 58 insertions(+), 2 deletions(-)
diff --git a
river is removed. This is done by creating a
global list of per-remoteproc notification info data structures which
remain static. An API is exported to register for a remoteproc's SSR
notifications and uses remoteproc's ssr_name and notifier block as
arguments.
Rishabh Bhatnagar (1):
r
structure's notification chain.
Signed-off-by: Siddharth Gupta
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/qcom_common.c | 89 ++-
drivers/remoteproc/qcom_common.h | 10 +++-
include/linux/remoteproc/qcom_rproc.h | 20 ++--
3 files change
-by: Siddharth Gupta
Signed-off-by: Rishabh Bhatnagar
Acked-by: Mathieu Poirier
---
drivers/remoteproc/qcom_q6v5_pas.c | 2 ++
drivers/remoteproc/remoteproc_core.c | 5 +
2 files changed, 7 insertions(+)
diff --git a/drivers/remoteproc/qcom_q6v5_pas.c
b/drivers/remoteproc/qcom_q6v5_pas.c
This series implements system cache or LLCC(Last Level Cache Controller)
driver for SDM845 SOC. The purpose of the driver is to partition the
system cache and program the settings such as priortiy, lines to probe
while doing a look up in the system cache, low power related settings etc.
The partiti
Documentation for last level cache controller device tree bindings,
client bindings usage examples.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
.../devicetree/bindings/arm/msm/qcom,llcc.txt | 60 ++
1 file changed, 60 insertions(+)
create
to get information such size & ID of the
slice they get and activate or deactivate the slice as needed. LLCC driver
provides API for the clients to perform these operations.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
drivers/soc/qcom/Kconfig | 17 ++
dri
to get information such size & ID of the
slice they get and activate or deactivate the slice as needed. LLCC driver
provides API for the clients to perform these operations.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
drivers/soc/qcom/Kconfig | 17 ++
dri
This series implements system cache or LLCC(Last Level Cache Controller)
driver for SDM845 SOC. The purpose of the driver is to partition the
system cache and program the settings such as priortiy, lines to probe
while doing a look up in the system cache, low power related settings etc.
The partiti
Documentation for last level cache controller device tree bindings,
client bindings usage examples.
Signed-off-by: Channagoud Kadabi
Signed-off-by: Rishabh Bhatnagar
---
.../devicetree/bindings/arm/msm/qcom,llcc.txt | 32 ++
1 file changed, 32 insertions(+)
create
processors.
Signed-off-by: Rishabh Bhatnagar
Reviewed-by: Bjorn Andersson
Reviewed-by: Mathieu Poirier
---
drivers/remoteproc/remoteproc_debugfs.c | 86 +
1 file changed, 86 insertions(+)
diff --git a/drivers/remoteproc/remoteproc_debugfs.c
b/drivers/remoteproc
Move all coredump functionality to an individual file. This is
being done so that the current functionality can be extended
in future patchsets.
Signed-off-by: Rishabh Bhatnagar
Reviewed-by: Bjorn Andersson
Reviewed-by: Mathieu Poirier
---
drivers/remoteproc/Makefile | 1
adds inline coredump
functionality that avoids extra memory usage. This requires
recovery to be halted until data is read by userspace and free
function is called.
Signed-off-by: Rishabh Bhatnagar
Reviewed-by: Bjorn Andersson
Reviewed-by: Mathieu Poirier
---
drivers/remoteproc/qcom_q6v5_mss.c
ump according to conf. set by userspace
- Move the userspace configuration to debugfs from sysfs.
- Keep the default coredump implementation as is
v2 -> v1:
- Introduce new file for coredump.
- Add userspace sysfs configuration for dump type.
Rishabh Bhatnagar (3):
remoteproc: Move coredump fun
has finished shutting
down.
Signed-off-by: Siddharth Gupta
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/qcom_common.c | 46 +--
include/linux/remoteproc/qcom_rproc.h | 14 +++
2 files changed, 58 insertions(+), 2 deletions(-)
diff --git a
; v3:
- Fix naming convention
v3 -> v2:
- Create a global list of per remoteproc notification data structure
- Pass ssr_name and crashed information as part of notification data
- Move notification type enum to qcom_rproc.h from remoteproc.h
v2 -> v1:
- Fix commit text
Rishabh Bhatnagar (1):
r
structure's notification chain. Also move from blocking notifier
to srcu notifer based implementation to support dynamic notifier head
creation.
Signed-off-by: Siddharth Gupta
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/qcom_common.c | 84 ++-
dr
processors.
Signed-off-by: Rishabh Bhatnagar
Reviewed-by: Bjorn Andersson
Reviewed-by: Mathieu Poirier
---
drivers/remoteproc/remoteproc_debugfs.c | 86 +
1 file changed, 86 insertions(+)
diff --git a/drivers/remoteproc/remoteproc_debugfs.c
b/drivers/remoteproc
adds inline coredump
functionality that avoids extra memory usage. This requires
recovery to be halted until data is read by userspace and free
function is called.
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/qcom_q6v5_mss.c | 9 +-
drivers/remoteproc/remoteproc_coredump.c | 160
file for coredump.
- Add userspace sysfs configuration for dump type.
Rishabh Bhatnagar (3):
remoteproc: Move coredump functionality to a new file
remoteproc: Add inline coredump functionality
remoteproc: Add coredump debugfs entry
drivers/remoteproc/Makefile | 1 +
drivers/r
Move all coredump functionality to an individual file. This is
being done so that the current functionality can be extended
in future patchsets.
Signed-off-by: Rishabh Bhatnagar
Reviewed-by: Bjorn Andersson
Reviewed-by: Mathieu Poirier
---
drivers/remoteproc/Makefile | 1
num to qcom_rproc.h from remoteproc.h
v2 -> v1:
- Fix commit text
Rishabh Bhatnagar (1):
remoteproc: qcom: Add per subsystem SSR notification
Siddharth Gupta (1):
remoteproc: qcom: Add notification types to SSR
drivers/remoteproc/qcom_common.c | 128 +++
.
Signed-off-by: Siddharth Gupta
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/qcom_common.c | 44 ++-
include/linux/remoteproc/qcom_rproc.h | 16 +
2 files changed, 59 insertions(+), 1 deletion(-)
diff --git a/drivers/remoteproc
structure's notification chain. Also move from blocking notifier
to srcu notifer based implementation to support dynamic notifier head
creation.
Signed-off-by: Siddharth Gupta
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/qcom_common.c | 86 +--
dr
Add coredump as part of the sysfs interface. This will
allow usage of this configuration feature in production
devices where access to debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 24 +
drivers/remoteproc
Add recovery configuration to the sysfs interface. This will
allow usage of this configuration feature in production
devices where access to debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 20 +
drivers/remoteproc
t; v2:
- Remove the coredump/recovery entries from debugfs
- Expose recovery/coredump from sysfs under a feature flag
v1 -> v2:
- Correct the contact name in the sysfs documentation.
- Remove the redundant write documentation for coredump/recovery sysfs
- Add a feature flag to make this interf
Currently "default" configuration option means coredumps are
enabled. To avoid confusion rename the "default" configuration
option to "enabled" and disable collection of dumps by default
as doing so makes sense for production devices.
Signed-off-by: Rishabh Bhat
in the sysfs documentation.
- Remove the redundant write documentation for coredump/recovery sysfs
- Add a feature flag to make this interface switch configurable.
Rishabh Bhatnagar (3):
remoteproc: Move coredump configuration to sysfs
remoteproc: Move recovery configuration to sysfs
r
Move recovery configuration from debugfs to sysfs.This will
allow usage of this configuration feature in production
devices where access to debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 20 ++
drivers/remoteproc
Move coredump configuration from debugfs to sysfs.This will
allow usage of this configuration feature in production
devices where access to debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 24 +++
drivers/remoteproc
Disable the coredump collection by default as doing so makes sense
for production devices. Also rename the "default" configuration
option to "enabled" to avoid confusion.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 10 ++
adds inline coredump
functionality that avoids extra memory usage. This requires
recovery to be halted until data is read by userspace and free
function is called.
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/remoteproc_coredump.c | 129 +--
include/linux
v1:
- Introduce new file for coredump.
- Add userspace sysfs configuration for dump type.
Rishabh Bhatnagar (3):
remoteproc: Move coredump functionality to a new file
remoteproc: Add inline coredump functionality
remoteproc: Add coredump debugfs entry
drivers/remoteproc/Makefile
processors.
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/remoteproc_debugfs.c | 86 +
1 file changed, 86 insertions(+)
diff --git a/drivers/remoteproc/remoteproc_debugfs.c
b/drivers/remoteproc/remoteproc_debugfs.c
index 732770e..2f611de 100644
--- a
Move all coredump functionality to an individual file. This is
being done so that the current functionality can be extended
in future patchsets.
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/remoteproc_core.c | 191
: Rishabh Bhatnagar
---
drivers/remoteproc/Kconfig | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
index c6659dfe..8aecf70 100644
--- a/drivers/remoteproc/Kconfig
+++ b/drivers/remoteproc/Kconfig
@@ -275,6 +275,18 @@ config
/recovery sysfs
- Add a feature flag to make this interface switch configurable.
Rishabh Bhatnagar (3):
remoteproc: Expose remoteproc configuration through sysfs
remoteproc: Add coredump configuration to sysfs
remoteproc: Add recovery configuration to sysfs
Documentation/ABI/testing
Expose recovery configuration in sysfs under a feature
flag. This is useful for systems where access to
debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 20
drivers/remoteproc/remoteproc_debugfs.c | 6
Expose coredump configuration in sysfs under a feature
flag. This is useful for systems where access to
debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 24 +
drivers/remoteproc/remoteproc_debugfs.c | 4
Remove the redundant write documentation for coredump/recovery sysfs
- Add a feature flag to make this interface switch configurable.
Rishabh Bhatnagar (3):
remoteproc: Expose remoteproc configuration through sysfs
remoteproc: Add coredump configuration to sysfs
remoteproc: Add recovery conf
Expose recovery configuration in sysfs under a feature
flag. This is useful for systems where access to
debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 20 ++
drivers/remoteproc/remoteproc_debugfs.c | 78
: Rishabh Bhatnagar
---
drivers/remoteproc/Kconfig | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
index c6659dfe..98d52cbe 100644
--- a/drivers/remoteproc/Kconfig
+++ b/drivers/remoteproc/Kconfig
@@ -275,6 +275,17 @@ config
Expose coredump configuration in sysfs under a feature
flag. This is useful for systems where access to
debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 24 +++
drivers/remoteproc/remoteproc_debugfs.c | 90
that notifier chain is taking a long time.
The timeout is set to 20secs by default and can be adjusted.
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/Kconfig | 16
drivers/remoteproc/qcom_common.c | 41
2 files changed, 49
ation to debugfs from sysfs.
- Keep the default coredump implementation as is
v2 -> v1:
- Introduce new file for coredump.
- Add userspace sysfs configuration for dump type.
Rishabh Bhatnagar (3):
remoteproc: Move coredump functionality to a new file
remoteproc: Add inline coredump fu
From: Sibi Sankar
In order to land inline coredump support for mss, the dump_segment
function would need to support granularities less than the segment
size. This is achieved by replacing mask based tracking with size.
Signed-off-by: Sibi Sankar
Signed-off-by: Rishabh Bhatnagar
---
drivers
processors.
Signed-off-by: Rishabh Bhatnagar
Reviewed-by: Bjorn Andersson
Reviewed-by: Mathieu Poirier
Tested-by: Sibi Sankar
Reviewed-by: Sibi Sankar
---
drivers/remoteproc/remoteproc_debugfs.c | 90 +
1 file changed, 90 insertions(+)
diff --git a/drivers
adds inline coredump
functionality that avoids extra memory usage. This requires
recovery to be halted until data is read by userspace and free
function is called. Also modify the qcom_q6v5_mss driver to include
size and offset in the segment dump function.
Signed-off-by: Rishabh Bhatnagar
Reviewed
Move all coredump functionality to an individual file. This is
being done so that the current functionality can be extended
in future patchsets.
Signed-off-by: Rishabh Bhatnagar
Reviewed-by: Bjorn Andersson
Reviewed-by: Mathieu Poirier
Reviewed-by: Sibi Sankar
Tested-by: Sibi Sankar
. Also trace the scm pas calls
used to boot/load remote processors.
Changelog:
v2 -> v1:
- Add traces in qcom_scm driver
- Add traces in remoteproc core to trace the remoteproc state
- Trace the physical address where segment is loaded in mdt_loader
Rishabh Bhatnagar (3):
soc: qcom:
Add trace events to the qcom_scm driver to trace pas calls.
These events can help us analyze the time impact for each scm
operation and can also serve as standard checkpoints in code.
Signed-off-by: Rishabh Bhatnagar
---
drivers/firmware/qcom_scm.c | 9 +
include/trace/events
Add trace events to the mdt loader driver. These events
can help us trace the region where we are loading the
segments and the time it takes to initialize the image
and setup the memory region.
Signed-off-by: Rishabh Bhatnagar
---
drivers/soc/qcom/mdt_loader.c | 7 +++
include/trace
Add trace events to trace bootup/shutdown/recovery of remote
processors. These events are useful in analyzing the time
spent in each step in the life cycle and can be used for
performace analysis. Also these serve as standard checkpoints
in debugging.
Signed-off-by: Rishabh Bhatnagar
Create and insert trace points in mdt_loader and qcom_q6v5_pas
drivers. These tracepoints will be used to analyze the time taken
at each step during bootup/shutdown of the remoteproc. Also
provide information about location and size of firmware segments
being loaded.
Rishabh Bhatnagar (2):
soc
Add trace events to the mdt loader driver. These events
can help us trace the region where we are loading the
segments and the time it takes to initialize the image
and setup the memory region.
Signed-off-by: Rishabh Bhatnagar
---
drivers/soc/qcom/mdt_loader.c | 8 ++
include/trace
Add tracepoints for q6v5_pas driver. These will help in
analyzing the time taken by each step in remoteproc
bootup/shutdown process and also serve as standard
checkpoints in code.
Signed-off-by: Rishabh Bhatnagar
---
drivers/remoteproc/qcom_q6v5_pas.c | 11 +++
include/trace/events
low 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_debug
Expose coredump configuration from sysfs instead of debugfs.
In some operating systems access to debugfs might be limited.
This restricts user from selecting the coredump configuration
at all, hence move this interface to sysfs.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing
Expose recovery mechanism through sysfs rather than exposing through
debugfs. Some operating systems may limit access to debugfs through
access policies. This restricts user access to recovery mechanism,
hence move it to sysfs.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing
Change the segment dump API signature to include size and offset
arguments. Refactor the qcom_q6v5_mss driver to use these
arguments while copying the segment. Doing this lays the ground
work for "inline" coredump functionality being added in the next
patch.
Signed-off-by: Rishabh
adds inline coredump
functionality that avoids extra memory usage. This requires
recovery to be halted until data is read by userspace and free
function is called.
Signed-off-by: Rishabh Bhatnagar
Tested-by: Sibi Sankar
---
drivers/remoteproc/remoteproc_coredump.c | 156
processors.
Signed-off-by: Rishabh Bhatnagar
Reviewed-by: Bjorn Andersson
Reviewed-by: Mathieu Poirier
Tested-by: Sibi Sankar
Reviewed-by: Sibi Sankar
---
drivers/remoteproc/remoteproc_debugfs.c | 90 +
1 file changed, 90 insertions(+)
diff --git a/drivers
From: Sibi Sankar
In order to land inline coredump support for mss, the dump_segment
function would need to support granularities less than the segment
size. This is achieved by replacing mask based tracking with size.
Signed-off-by: Sibi Sankar
Signed-off-by: Rishabh Bhatnagar
---
drivers
Move all coredump functionality to an individual file. This is
being done so that the current functionality can be extended
in future patchsets.
Signed-off-by: Rishabh Bhatnagar
Reviewed-by: Bjorn Andersson
Reviewed-by: Mathieu Poirier
Reviewed-by: Sibi Sankar
Tested-by: Sibi Sankar
rom sysfs.
- Keep the default coredump implementation as is
v2 -> v1:
- Introduce new file for coredump.
- Add userspace sysfs configuration for dump type.
Rishabh Bhatnagar (4):
remoteproc: Move coredump functionality to a new file
remoteproc: Add size and offset arguments to segment dump f
Move coredump configuration from debugfs to sysfs.This will
allow usage of this configuration feature in production
devices where access to debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 24 +++
drivers/remoteproc
Move recovery configuration from debugfs to sysfs.This will
allow usage of this configuration feature in production
devices where access to debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 20 ++
drivers/remoteproc
under a feature flag
v1 -> v2:
- Correct the contact name in the sysfs documentation.
- Remove the redundant write documentation for coredump/recovery sysfs
- Add a feature flag to make this interface switch configurable.
Rishabh Bhatnagar (2):
remoteproc: Move coredump configuration to sysfs
remotep
Move recovery configuration from debugfs to sysfs. This will
allow usage of this configuration feature in production
devices where access to debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 20 ++
drivers/remoteproc
Move coredump configuration from debugfs to sysfs. This will
allow usage of this configuration feature in production
devices where access to debugfs might be limited.
Signed-off-by: Rishabh Bhatnagar
---
Documentation/ABI/testing/sysfs-class-remoteproc | 24 +++
drivers/remoteproc
the sysfs documentation.
- Remove the redundant write documentation for coredump/recovery sysfs
- Add a feature flag to make this interface switch configurable.
Rishabh Bhatnagar (3):
remoteproc: Expose remoteproc configuration through sysfs
remoteproc: Add coredump configuration to sysfs
rem
coredump.c
- Modify rproc_coredump to perform dump according to conf. set by userspace
- Move the userspace configuration to debugfs from sysfs.
- Keep the default coredump implementation as is
v2 -> v1:
- Introduce new file for coredump.
- Add userspace sysfs configuration for dump type.
1 - 100 of 106 matches
Mail list logo