Re: [PATCH v3 24/33] leon3: use qemu_irq framework instead of callback as property

2019-11-18 Thread Peter Maydell
On Wed, 23 Oct 2019 at 18:34, Marc-André Lureau wrote: > > "set_pin_in" property is used to define a callback mechanism where the > device says "call the callback function, passing it an opaque cookie > and a 32-bit value". We already have a generic mechanism for doing > that, which is the

Re: [PATCH v3 24/33] leon3: use qemu_irq framework instead of callback as property

2019-11-18 Thread KONRAD Frederic
Hi Marc-André, Le 10/23/19 à 7:31 PM, Marc-André Lureau a écrit : "set_pin_in" property is used to define a callback mechanism where the device says "call the callback function, passing it an opaque cookie and a 32-bit value". We already have a generic mechanism for doing that, which is the

[PATCH v3 24/33] leon3: use qemu_irq framework instead of callback as property

2019-10-23 Thread Marc-André Lureau
"set_pin_in" property is used to define a callback mechanism where the device says "call the callback function, passing it an opaque cookie and a 32-bit value". We already have a generic mechanism for doing that, which is the qemu_irq. So we should just use that. Signed-off-by: Marc-André Lureau