Re: [PATCH v5 09/10] dma-buf-map: Add memcpy and pointer-increment interfaces

2020-11-05 Thread Linus Walleij
be really big, do we want (in the long run, not now) open up to the idea to slot in hardware-accelerated memcpy() here? Yours, Linus Walleij ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Re: [PATCH 0/8] slab: provide and use krealloc_array()

2020-11-05 Thread Linus Walleij
l follow adding devm_krealloc_array() which is > needed in the xilinx adc driver. The series: Acked-by: Linus Walleij I really like this. Yours, Linus Walleij ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Re: [PATCH v3 5/9] pinctrl: use krealloc_array()

2020-11-10 Thread Linus Walleij
Reviewed-by: Linus Walleij Yours, Linus Walleij ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Re: Howto listen to/handle gpio state changes ? Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-08 Thread Linus Walleij
fig it does: select IRQ_SIM Then this is used: include/linux/irq_sim.h This is intended for simulating IRQs and both GPIO and IIO use it. I think this inserts IRQs from debugfs and I have no idea how flexible that is. If it is suitable for what you want to do I don't know but it

Re: Howto listen to/handle gpio state changes ? Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-09 Thread Linus Walleij
I suspect irq_chip would be best because all drivers using GPIOs for interrupts are expecting interrupts, and it would be an enormous task to change them all and really annoying to create a new mechanism on the side. Yours, Linus Walleij ___ V

Re: Howto listen to/handle gpio state changes ? Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-09 Thread Linus Walleij
On Wed, Dec 9, 2020 at 12:19 PM Arnd Bergmann wrote: > On Wed, Dec 9, 2020 at 9:51 AM Linus Walleij wrote: > > On Tue, Dec 8, 2020 at 3:07 PM Enrico Weigelt, metux IT consult > > wrote: > > > What we need to understand is if your new usecase is an outlier > >

Re: [PATCH V3 1/3] gpio: Add virtio-gpio driver

2021-06-10 Thread Linus Walleij
very time we add something new (and we will). Yours, Linus Walleij ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Re: [PATCH V3 2/3] gpio: virtio: Add IRQ support

2021-06-10 Thread Linus Walleij
other messages have been sent in .irq_bus_sync_unlock() so that the next GPIO IRQ can be dispatched after that. (Is this how messaged signalled interrupts work? No idea. When in doubt ask the IRQ maintainers.) Thanks, Linus Walleij ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Re: [PATCH V3 1/3] gpio: Add virtio-gpio driver

2021-06-15 Thread Linus Walleij
nux.git/tree/tools/gpio/gpio-event-mon.c Yours, Linus Walleij ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Re: [PATCH] drivers: gpio: add virtio-gpio guest driver

2021-06-16 Thread Linus Walleij
We really need a virtio GPIO driver, no doubt, so if everyone could just work toward that goal and compromise with their specific pet peeves that would be great. Yours, Linus Walleij ___ Virtualization mailing list Virtualization@lists.li

Re: [PATCH V3 1/3] gpio: Add virtio-gpio driver

2021-06-18 Thread Linus Walleij
rpmsg is conceptually a child of virtio: when the subsystem was proposed by TI Arnd noted that virtio has large similarities in shared memory transport and as the potential reuse for buffer handling etc was excellent virtio was used as a base for rpmsg/remot

Re: [PATCH V5 1/2] gpio: Add virtio-gpio driver

2021-08-11 Thread Linus Walleij
gt; > Based on the initial work posted by: > "Enrico Weigelt, metux IT consult" . > > Signed-off-by: Viresh Kumar I see there is a dependency that needs to be fixed but the driver looks good to me: Reviewed-by: Linus Walleij Yours, Linus Walleij __

Re: [PATCH V5 2/2] gpio: virtio: Add IRQ support

2021-08-11 Thread Linus Walleij
work item to allow sleep-able operations. > > Signed-off-by: Viresh Kumar Looks good to me from a GPIO point of view: Reviewed-by: Linus Walleij Yours, Linus Walleij ___ Virtualization mailing list Virtualization@lists.linux-fo

Re: [PATCH] drm/simple-kms: Standardize arguments for callbacks

2019-10-23 Thread Linus Walleij
nn (v1) > Cc: Thomas Zimmermann > Cc: Noralf Trønnes > Cc: Gerd Hoffmann > Cc: Eric Anholt > Cc: Emil Velikov > Cc: virtualization@lists.linux-foundation.org > Cc: Linus Walleij > Signed-off-by: Daniel Vetter Makes perfect sense. Revi