From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753284AbdHNNGi (ORCPT ); Mon, 14 Aug 2017 09:06:38 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:46812 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753173AbdHNNGg (ORCPT ); Mon, 14 Aug 2017 09:06:36 -0400 Date: Mon, 14 Aug 2017 15:06:29 +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: <20170814112056.3751-2-brgl@bgdev.pl> 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: > 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