From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752219AbdHPOor (ORCPT ); Wed, 16 Aug 2017 10:44:47 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:58613 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752066AbdHPOop (ORCPT ); Wed, 16 Aug 2017 10:44:45 -0400 Date: Wed, 16 Aug 2017 16:44:37 +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 v4 0/3] simulated interrupts In-Reply-To: <20170814145318.6495-1-brgl@bgdev.pl> Message-ID: References: <20170814145318.6495-1-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: > Some frameworks (e.g. iio, gpiolib) use irq_work to implement simulated > interrupts that can be 'fired' from process context when needed and > requested just like normal interrupts. This is useful for testing and > development purposes. > > Currently this code is reimplemented by every user. This series > proposes to add a new set of functions that can be used by drivers > that want to simulate interrupts without having to duplicate any > boilerplate code. > > The first patch adds a simple irq simulator framework. The second > extends it with resource management. The third uses the new > functionality in the gpio-mockup testing driver. I merged the irq part (1+2) into a separate branch, which can be consumed by the gpio folks so the mockup driver patch can be merged as well. git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/for-gpio Thanks, tglx