Good stuff, thanks for finally pushing this upstream!
Regarding the use of debugfs, have you considered making your
own file system independent of that? Currently, you'd need
a lot of boilerplate code (basically a copy of debugs/inode.c),
but I think it'd be appropriate since you're adding more than
just a few simple files in debugfs.
Maybe we can talk next monday when I'm in the office, because
some time ago, I have already started a patch set that would
make it trivial to add a new debugfs-like file system.
Arnd <><
--