Thread (1 message) flat view 1 message, 1 author, 2021-03-18

Re: [PATCH v8] i2c: virtio: add a virtio i2c frontend driver

From: Arnd Bergmann <arnd@arndb.de>
Date: 2021-03-18 14:53:45
Also in: linux-i2c, lkml

On Thu, Mar 18, 2021 at 3:42 PM Enrico Weigelt, metux IT consult
[off-list ref] wrote:
On 16.03.21 08:44, Viresh Kumar wrote:
quoted
FWIW, this limits this driver to support a single device ever. We
can't bind multiple devices to this driver now. Yeah, perhaps we will
never be required to do so, but who knows.
Actually, I believe multiple devices really should be possible.

The major benefit of virtio-i2c is either bridging certan real bus'es
into a confined workload, or creating virtual hw testbeds w/o having to
write a complete emulation (in this case, for dozens of different i2c
controllers) - and having multiple i2c interfaces in one machine isn't
exactly rare.
Allowing multiple virtio-i2c controllers in one system, and multiple i2c
devices attached to each controller is clearly something that has to work.

I don't actually see a limitation though. Viresh, what is the problem
you see for having multiple controllers?

         Arnd
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help