Re: [PATCH] kernel:irq:manage: request threaded irq with a specified priority

2021-04-18 Thread chensong
Daniel & tglx, Points taken and thanks a lot for such detailed explanations. BR Song On 2021/4/16 下午5:09, Thomas Gleixner wrote: On Fri, Apr 16 2021 at 12:57, chensong wrote: On 2021/4/13 下午4:39, Thomas Gleixner wrote: It breaks because the system designer failed to assign pr

Re: [PATCH] kernel:irq:manage: request threaded irq with a specified priority

2021-04-15 Thread chensong
On 2021/4/13 下午4:39, Thomas Gleixner wrote: On Tue, Apr 13 2021 at 14:19, Song Chen wrote: In general, irq handler thread will be assigned a default priority which is MAX_RT_PRIO/2, as a result, no one can preempt others. Here is the case I found in a real project, an interrupt int_a is

[PATCH] staging: comedi: remove warnings of comedi_lrange

2020-12-22 Thread chensong
Checkpatch.pl reports "warning: struct comedi_lrange should normally be const" in some places, which are supposed to be removed. Signed-off-by: chensong --- drivers/staging/comedi/drivers/das16.c | 4 ++-- drivers/staging/comedi/drivers/jr3_pci.c | 4 ++-- drivers/staging/come

[PATCH] staging: comedi: clean up debugging code in #if 0 or 1

2020-12-22 Thread chensong
There are a log of "#if 0" or "#if 1" in comedi driver which cause warning when running checkpatch.pl, they are supposed to be cleaned up before release. Signed-off-by: chensong --- drivers/staging/comedi/drivers/cb_pcidas64.c | 95 -- drivers/st

[PATCH] staging: comedi: correct spelling mistakes of I/O port base address

2020-12-22 Thread chensong
"base" was double input in comment line "I/O port base address", remove one of them. Signed-off-by: chensong --- drivers/staging/comedi/drivers/dt2815.c | 2 +- drivers/staging/comedi/drivers/dt2817.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dr