Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1691634

Re: [PATCH 0/3] simulated interrupts

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] simulated interrupts
Date 2017-07-19 14:30 +0200
Message-ID <u4Wh4-8vz-11@gated-at.bofh.it> (permalink)
References <u4Wh4-8vz-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 19 Jul 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.
> 
> NOTE: The next candidate for using this API would be iio-dummy-evgen.

I like the general idea - have not looked at the code yet. Just a quick
question: How many copies/variants of this scheme do we have in tree?

Thanks,

	tglx

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 0/3] simulated interrupts Thomas Gleixner <tglx@linutronix.de> - 2017-07-19 14:30 +0200
  Re: [PATCH 0/3] simulated interrupts Bartosz Golaszewski <brgl@bgdev.pl> - 2017-07-19 14:50 +0200
    Re: [PATCH 0/3] simulated interrupts Thomas Gleixner <tglx@linutronix.de> - 2017-07-19 16:00 +0200
      Re: [PATCH 0/3] simulated interrupts Marc Zyngier <marc.zyngier@arm.com> - 2017-07-19 16:30 +0200
        Re: [PATCH 0/3] simulated interrupts Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-07-19 16:50 +0200
          Re: [PATCH 0/3] simulated interrupts Thomas Gleixner <tglx@linutronix.de> - 2017-07-19 17:00 +0200
            Re: [PATCH 0/3] simulated interrupts Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-07-19 18:00 +0200

csiph-web