Re: [RFC 06/19] ktf: A simple debugfs interface to test results

2019-08-15 Thread Greg Kroah-Hartman
On Thu, Aug 15, 2019 at 12:35:26PM +0200, Knut Omang wrote: > On Thu, 2019-08-15 at 10:49 +0200, Greg Kroah-Hartman wrote: > > > I perfectly agree with you that reducing the hole for a race condition > > > is generally a bad idea, but from the above mail thread > > > it seems that's the only avai

Re: [RFC 06/19] ktf: A simple debugfs interface to test results

2019-08-15 Thread Knut Omang
On Thu, 2019-08-15 at 10:49 +0200, Greg Kroah-Hartman wrote: > On Wed, Aug 14, 2019 at 07:17:07PM +0200, Knut Omang wrote: > > I notice the discussion and your response here: > > http://linux-kernel.2935.n7.nabble.com/debugfs-and-module-unloading-td865175.html > > I assume that means that protecti

Re: [RFC 06/19] ktf: A simple debugfs interface to test results

2019-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 14, 2019 at 07:17:07PM +0200, Knut Omang wrote: > I notice the discussion and your response here: > http://linux-kernel.2935.n7.nabble.com/debugfs-and-module-unloading-td865175.html > I assume that means that protection against module unload while a debugfs file > is open is now safe.

Re: [RFC 06/19] ktf: A simple debugfs interface to test results

2019-08-14 Thread Knut Omang
On Tue, 2019-08-13 at 10:21 +0200, Greg Kroah-Hartman wrote: > On Tue, Aug 13, 2019 at 08:09:21AM +0200, Knut Omang wrote: > > From: Alan Maguire > > > > While test results is available via netlink from user space, sometimes > > it may be useful to be able to access the results from the kernel as

Re: [RFC 06/19] ktf: A simple debugfs interface to test results

2019-08-13 Thread Greg Kroah-Hartman
On Tue, Aug 13, 2019 at 08:09:21AM +0200, Knut Omang wrote: > From: Alan Maguire > > While test results is available via netlink from user space, sometimes > it may be useful to be able to access the results from the kernel as well, > for instance due to a crash. Make that possible via debugfs. >

[RFC 06/19] ktf: A simple debugfs interface to test results

2019-08-12 Thread Knut Omang
From: Alan Maguire While test results is available via netlink from user space, sometimes it may be useful to be able to access the results from the kernel as well, for instance due to a crash. Make that possible via debugfs. ktf_debugfs.h: Support for creating a debugfs representation of test