Re: [PATCH rfc 2/5] irq-am: add some debugfs exposure on tuning state

2018-02-12 Thread Sagi Grimberg
+static int irq_am_register_debugfs(struct irq_am *am) +{ + char name[20]; + + snprintf(name, sizeof(name), "am%u", am->id); + am->debugfs_dir = debugfs_create_dir(name, + irq_am_debugfs_root); How is a user expected to figure out which driver am

Re: [PATCH rfc 2/5] irq-am: add some debugfs exposure on tuning state

2018-02-07 Thread Bart Van Assche
On Tue, 2018-02-06 at 00:03 +0200, Sagi Grimberg wrote: > +static int irq_am_register_debugfs(struct irq_am *am) > +{ > + char name[20]; > + > + snprintf(name, sizeof(name), "am%u", am->id); > + am->debugfs_dir = debugfs_create_dir(name, > + irq_am_debugfs_ro

Re: [PATCH rfc 2/5] irq-am: add some debugfs exposure on tuning state

2018-02-06 Thread kbuild test robot
Hi Sagi, I love your patch! Yet something to improve: [auto build test ERROR on v4.15] [also build test ERROR on next-20180206] [cannot apply to linus/master rdma/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github

Re: [PATCH rfc 2/5] irq-am: add some debugfs exposure on tuning state

2018-02-06 Thread kbuild test robot
Hi Sagi, I love your patch! Yet something to improve: [auto build test ERROR on v4.15] [also build test ERROR on next-20180206] [cannot apply to linus/master rdma/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github

[PATCH rfc 2/5] irq-am: add some debugfs exposure on tuning state

2018-02-05 Thread Sagi Grimberg
Useful for local debugging Signed-off-by: Sagi Grimberg --- include/linux/irq-am.h | 2 + lib/irq-am.c | 109 + 2 files changed, 111 insertions(+) diff --git a/include/linux/irq-am.h b/include/linux/irq-am.h index 5ddd5ca268aa..18df315