[PATCH v2] uio: disable lazy irq disable to avoid double fire

2020-06-28 Thread Thommy Jakobsson
: uio_pdrv_genirq_irqcontrol: enable irq 29 Tested on 5.7rc2 using uio_pdrv_genirq and a custom Xilinx MPSoC board. Signed-off-by: Thommy Jakobsson --- New in v2: - use dev_dbg instead of dev_info - make sure not to change current behaviour. If irq_data doesn't exists for some reasone, just skip doing disabling unlazy

Re: [PATCH] uio: disable lazy irq disable to avoid double fire

2020-05-23 Thread Thommy Jakobsson
On 2020-05-22 11:14, Greg KH wrote: > On Thu, May 21, 2020 at 04:42:09PM +0200, Thommy Jakobsson wrote: >> +if (uioinfo->irq) { > > How is this not true at this point in time based on the code above this? > ->irq should always be set here, right? It seems to

[PATCH] uio: disable lazy irq disable to avoid double fire

2020-05-21 Thread Thommy Jakobsson
: uio_pdrv_genirq_irqcontrol: enable irq 29 Tested on 5.7rc2 using uio_pdrv_genirq and a custom Xilinx MPSoC board. Signed-off-by: Thommy Jakobsson --- drivers/uio/uio_dmem_genirq.c | 24 drivers/uio/uio_pdrv_genirq.c | 24 2 files changed, 48 insertions(+) diff --git

BUG? DOC: Really jiffies in /proc/schedstat?

2018-06-22 Thread Thommy Jakobsson
though. Am I just confused? is it configuration/system dependent? or is the doc just plain wrong? Thanks, Thommy Jakobsson

BUG? DOC: Really jiffies in /proc/schedstat?

2018-06-22 Thread Thommy Jakobsson
though. Am I just confused? is it configuration/system dependent? or is the doc just plain wrong? Thanks, Thommy Jakobsson