[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1708141647390.1865@nanos>
Date: Mon, 14 Aug 2017 16:48:33 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Bartosz Golaszewski <brgl@...ev.pl>
cc: Linus Walleij <linus.walleij@...aro.org>,
Marc Zyngier <marc.zyngier@....com>,
Jonathan Corbet <corbet@....net>,
Bamvor Jian Zhang <bamvor.zhangjian@...aro.org>,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-doc@...r.kernel.org
Subject: Re: [PATCH v3 1/3] irq/irq_sim: add a simple interrupt simulator
framework
On Mon, 14 Aug 2017, Bartosz Golaszewski wrote:
> 2017-08-14 15:06 GMT+02:00 Thomas Gleixner <tglx@...utronix.de>:
> > 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@...ev.pl>
> >> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@...wei.com>
> >> ---
> >> 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
> >
> >
>
> How about moving irq_work.c there too?
We could, but irq_work is not really part of the interrupt subsystem, while
your interrupt simulator definitely is.
Thanks,
tglx
Powered by blists - more mailing lists