Re: [PATCH V2] printk: rebalance printk

2015-08-12 Thread Pan Xinhui
hi, all I think you have already known how to reproduce it. Let me still share the debug patch to hit this printk issue in several seconds. +static int auto_printk(void *data) +{ + int irq = (int)data; + char b[64] = { + [0 ... 61] = 'F', + '\n', +

[PATCH V2] printk: rebalance printk

2015-08-12 Thread Pan Xinhui
From: Pan Xinhui printk can be called in any context, It's very useful to output debug info. But it might cause very bad issues on some special cases. For example, some driver hit errors, and it dumps many messages like reg values, etc. Sometimes, printk is called when irqs disabled. This is

[PATCH V2] printk: rebalance printk

2015-08-12 Thread Pan Xinhui
From: Pan Xinhui xinhuix@intel.com printk can be called in any context, It's very useful to output debug info. But it might cause very bad issues on some special cases. For example, some driver hit errors, and it dumps many messages like reg values, etc. Sometimes, printk is called when

Re: [PATCH V2] printk: rebalance printk

2015-08-12 Thread Pan Xinhui
hi, all I think you have already known how to reproduce it. Let me still share the debug patch to hit this printk issue in several seconds. +static int auto_printk(void *data) +{ + int irq = (int)data; + char b[64] = { + [0 ... 61] = 'F', + '\n', +