genirq/irq_sim: Add a simple interrupt simulator framework
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. Change-Id: I949f4adff07284a613c6b317cd0908002074c4c0 Signed-off-by:Bartosz Golaszewski <brgl@bgdev.pl> Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: linux-doc@vger.kernel.org Cc: linux-gpio@vger.kernel.org Cc: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> Cc: Jonathan Cameron <jic23@kernel.org> Link: http://lkml.kernel.org/r/20170814145318.6495-2-brgl@bgdev.pl Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Git-commit: b19af510e67e6ca696b8721f45c148119437307c Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Vijay Navnath Kamble <vkambl@codeaurora.org>
Loading
Please register or sign in to comment