From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752813AbdHNOsn (ORCPT ); Mon, 14 Aug 2017 10:48:43 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:47941 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752314AbdHNOsl (ORCPT ); Mon, 14 Aug 2017 10:48:41 -0400 Date: Mon, 14 Aug 2017 16:48:33 +0200 (CEST) From: Thomas Gleixner To: Bartosz Golaszewski cc: Linus Walleij , Marc Zyngier , Jonathan Corbet , Bamvor Jian Zhang , Jonathan Cameron , Lars-Peter Clausen , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v3 1/3] irq/irq_sim: add a simple interrupt simulator framework In-Reply-To: Message-ID: References: <20170814112056.3751-1-brgl@bgdev.pl> <20170814112056.3751-2-brgl@bgdev.pl> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Aug 2017, Bartosz Golaszewski wrote: > 2017-08-14 15:06 GMT+02:00 Thomas Gleixner : > > 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 > >> Reviewed-by: Jonathan Cameron > >> --- > >> 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