On 10-08-21, 15:55, Viresh Kumar wrote:
This patch adds IRQ support for the virtio GPIO driver. Note that this uses the irq_bus_lock/unlock() callbacks, since those operations over virtio may sleep. Also the notifications for the eventq are processed using a work item to allow sleep-able operations.
Signed-off-by: Viresh Kumar viresh.kumar@linaro.org
drivers/gpio/Kconfig | 1 + drivers/gpio/gpio-virtio.c | 301 ++++++++++++++++++++++++++++++- include/uapi/linux/virtio_gpio.h | 25 +++ 3 files changed, 323 insertions(+), 4 deletions(-)
Marc,
Will it be possible for you to have a look at this patch, it will help us understand shortcomings of the specification better and this implementation as well.
Thanks.