Re: [PATCH 2/4] soc: qcom: aoss: Add debugfs interface for sending messages
From: Pavan Kondeti
Date: Tue Aug 01 2023 - 00:41:26 EST
On Sun, Jul 30, 2023 at 09:10:11PM -0700, Bjorn Andersson wrote:
> From: Chris Lew <clew@xxxxxxxxxxxxxx>
>
> In addition to the normal runtime commands, the Always On Processor
> (AOP) provides a number of debug commands which can be used during
> system debugging for things such as preventing power collapse or placing
> floor votes for certain resources. Some of these are documented in the
> Robotics RB5 "Debug AOP ADB" linked below.
>
> Provide a debugfs interface for the developer/tester to send these
> commands to the AOP.
>
> Link: https://docs.qualcomm.com/bundle/publicresource/topics/80-88500-3/85_Debugging_AOP_ADB.html
> Signed-off-by: Chris Lew <clew@xxxxxxxxxxxxxx>
> [bjorn: Dropped debugfs guards, improve error codes, rewrote commit message]
> Signed-off-by: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>
Thanks Bjorn and Chris for enabling this interface. It will be very useful.
We use this interface in downstream kernel during throughput/suspend issues debug.
I have tested your series with v6.4 on SM8550 and it works as expected.
Thanks,
Pavan