Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1710787
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Jonathan Cameron <jic23@jic23.retrosnub.co.uk> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/3] irq/irq_sim: add a simple interrupt simulator framework |
| Date | Mon, 14 Aug 2017 12:10:01 +0200 |
| Message-ID | <uektP-2Py-1@gated-at.bofh.it> (permalink) |
| References | <u9GOm-5h7-17@gated-at.bofh.it> <u9GOm-5h7-15@gated-at.bofh.it> <udD5v-bo-3@gated-at.bofh.it> <uekka-2xb-21@gated-at.bofh.it> |
| User-Agent | K-9 Mail for Android |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8BIT |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 60 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Linus Walleij <linus.walleij@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <marc.zyngier@arm.com>, Jonathan Corbet <corbet@lwn.net>, Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>, Lars-Peter Clausen <lars@metafoo.de>, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org |
| X-Original-Date | Mon, 14 Aug 2017 18:04:12 +0800 |
| X-Original-Message-ID | <9179B569-5F66-4F50-8D8D-DE2DB8F91243@jic23.retrosnub.co.uk> |
| X-Original-References | <20170801145028.7558-1-brgl@bgdev.pl> <20170801145028.7558-2-brgl@bgdev.pl> <20170812124357.56ddd01d@archlinux> <CAMRc=MdZXbY4Lp-a=qu+d7civ9PFQi2niXqzeFYqvVF03sy=Cw@mail.gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1710787 |
Show key headers only | View raw
On 14 August 2017 17:54:22 GMT+08:00, Bartosz Golaszewski <brgl@bgdev.pl> wrote: >2017-08-12 13:43 GMT+02:00 Jonathan Cameron <jic23@kernel.org>: >> On Tue, 1 Aug 2017 16:50:26 +0200 >> Bartosz Golaszewski <brgl@bgdev.pl> 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@bgdev.pl> >> Looks good to me. >> >> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> >> >> Only tiny thing is the lack of a specified license for the code... > >I'll send a v3 with license added. > >> + checkpatch is warning about wrong file mode... >> #105: >> new file mode 100644 >> >> Though I have no idea why... >> > >I think this only says that a file was created with given mode, it's >not a warning. The actual warning is about missing a new entry in >MAINTAINERS. Doh, how did I miss that! > >>> --- a/init/Kconfig >>> +++ b/init/Kconfig >>> @@ -23,6 +23,10 @@ config CONSTRUCTORS >>> config IRQ_WORK >>> bool >>> >>> +config IRQ_SIM >>> + bool >> You could make this tristate, but then the handling of the >> users would get complex so perhaps given it's so small boolean >> is the way to go. >> > >Nah, irq_work is built-in to at even greater size. Let's just leave it >like this, especially when only testing modules select it. > Fair enough. >Thanks, >Bartosz -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH v2 1/3] irq/irq_sim: add a simple interrupt simulator framework Jonathan Cameron <jic23@kernel.org> - 2017-08-12 13:50 +0200
Re: [PATCH v2 1/3] irq/irq_sim: add a simple interrupt simulator framework Bartosz Golaszewski <brgl@bgdev.pl> - 2017-08-14 12:00 +0200
Re: [PATCH v2 1/3] irq/irq_sim: add a simple interrupt simulator framework Jonathan Cameron <jic23@jic23.retrosnub.co.uk> - 2017-08-14 12:10 +0200
csiph-web