Re: [PATCH v5 2/3] venus: Add a debugfs file for SSR trigger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stephen,

Reviving the discussion on this change as we need to pull this in.

As per your suggestion, I explored the fault injection framework to implement this functionality.
But I don't think that meets our requirements.

We need a way to trigger subsystem restart from the client-side, it's not derived from the driver.

while fault injection framework enables the driver to trigger an injection when a specific event occurs for eg: page allocation failure or memory access failure.

So, IMO, we will have to use custom debugfs only.

Please feel free to correct me in case my understanding of the framework is wrong.

Thanks,
Dikshita

On 2020-08-12 03:19, Stephen Boyd wrote:
Quoting Stanimir Varbanov (2020-07-30 02:53:49)
The SSR (SubSystem Restart) is used to simulate an error on FW
side of Venus. We support following type of triggers - fatal error,
div by zero and watchdog IRQ.

Can this use the fault injection framework instead of custom debugfs?
See Documentation/fault-injection/.



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux