Re: [PATCH v3 1/3] irq/irq_sim: add a simple interrupt simulator framework

From: Thomas Gleixner
Date: Mon Aug 14 2017 - 09:06:40 EST


On Mon, 14 Aug 2017, Bartosz Golaszewski wrote:

> Implement a simple, irq_work-based framework for simulating
> interrupts. Currently the API exposes routines for initializing and
> deinitializing the simulator object, enqueueing the interrupts and
> retrieving the allocated interrupt numbers based on the offset of the
> dummy interrupt in the simulator struct.
>
> Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> ---
> include/linux/irq_sim.h | 44 ++++++++++++++++++
> init/Kconfig | 4 ++
> kernel/Makefile | 1 +
> kernel/irq_sim.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++++

Please move this to kernel/irq/ ... and the config option to kernel/irq/Kconfig.

Thanks,

tglx