On Tue, Mar 18, 2025 at 08:40:39PM +0000, Chaitanya Kulkarni wrote: > On 3/18/25 03:39, Daniel Wagner wrote: > > Newer kernel support to reset the target via the debugfs. Add a new test > > case which exercises this interface. > > > > Signed-off-by: Daniel Wagner<wagi@xxxxxxxxxx> > > Looks useful to me given that its a different code path in the target. One thing I forgot to add a check if the feature is available. I think the only way is to setup a target and see if the relevant file shows up... > do we have any testcaes similar for non-debugfs code path ? > (don't remember at this point) There is not direct way to trigger a target reset via a nvme command yet. The upcoming TP8028 brings cross controller reset. We have an indirect way to trigger a reset, via changing the number of queues the target supports (this test case is already there).