Re: [PATCH] hw/i2c: flatten pca954x mux device

2022-02-02 Thread Patrick Venture
On Wed, Feb 2, 2022 at 9:31 AM Philippe Mathieu-Daudé wrote: > On 2/2/22 17:40, Patrick Venture wrote: > > > Philippe, > > > > I0202 08:29:45.380384 6641 stream.go:31] qemu: child buses at > > "pca9546": "channel[*]", "channel[*]", "channel[*]", "channel[*]" > > > > Ok, so

Re: [PATCH] hw/i2c: flatten pca954x mux device

2022-02-02 Thread Patrick Venture
On Wed, Feb 2, 2022 at 11:01 AM Peter Maydell wrote: > On Wed, 2 Feb 2022 at 17:36, Patrick Venture wrote: > > Just saw your reply, and found a bunch of other non-spam in my > > spam folder. I sent the message to the anti-spam team, hopefully > > that'll resolve this for myself and presumably

Re: [PATCH] hw/i2c: flatten pca954x mux device

2022-02-02 Thread Peter Maydell
On Wed, 2 Feb 2022 at 17:36, Patrick Venture wrote: > Just saw your reply, and found a bunch of other non-spam in my > spam folder. I sent the message to the anti-spam team, hopefully > that'll resolve this for myself and presumably others. I dunno if you folk get a specially tuned version or

Re: [PATCH] hw/i2c: flatten pca954x mux device

2022-02-02 Thread Philippe Mathieu-Daudé via
On 2/2/22 17:40, Patrick Venture wrote: Philippe, I0202 08:29:45.380384  6641 stream.go:31] qemu: child buses at "pca9546": "channel[*]", "channel[*]", "channel[*]", "channel[*]" Ok, so that's interesting.  In one system (using qom-list) it's correct, but then when using

Re: [PATCH] hw/i2c: flatten pca954x mux device

2022-02-02 Thread Patrick Venture
On Tue, Feb 1, 2022 at 12:54 PM Patrick Venture wrote: > > > On Tue, Feb 1, 2022 at 11:02 AM Philippe Mathieu-Daudé > wrote: > >> On 1/2/22 17:30, Patrick Venture wrote: >> > Previously this device created N subdevices which each owned an i2c bus. >> > Now this device simply owns the N i2c

Re: [PATCH] hw/i2c: flatten pca954x mux device

2022-02-02 Thread Patrick Venture
On Wed, Feb 2, 2022 at 8:34 AM Patrick Venture wrote: > > > On Tue, Feb 1, 2022 at 12:54 PM Patrick Venture > wrote: > >> >> >> On Tue, Feb 1, 2022 at 11:02 AM Philippe Mathieu-Daudé >> wrote: >> >>> On 1/2/22 17:30, Patrick Venture wrote: >>> > Previously this device created N subdevices

Re: [PATCH] hw/i2c: flatten pca954x mux device

2022-02-02 Thread Philippe Mathieu-Daudé via
On 1/2/22 21:54, Patrick Venture wrote: On Tue, Feb 1, 2022 at 11:02 AM Philippe Mathieu-Daudé > wrote: On 1/2/22 17:30, Patrick Venture wrote: > Previously this device created N subdevices which each owned an i2c bus. > Now this device simply owns

Re: [PATCH] hw/i2c: flatten pca954x mux device

2022-02-01 Thread Patrick Venture
On Tue, Feb 1, 2022 at 11:02 AM Philippe Mathieu-Daudé wrote: > On 1/2/22 17:30, Patrick Venture wrote: > > Previously this device created N subdevices which each owned an i2c bus. > > Now this device simply owns the N i2c busses directly. > > > > Tested: Verified devices behind mux are still

Re: [PATCH] hw/i2c: flatten pca954x mux device

2022-02-01 Thread Philippe Mathieu-Daudé via
On 1/2/22 17:30, Patrick Venture wrote: Previously this device created N subdevices which each owned an i2c bus. Now this device simply owns the N i2c busses directly. Tested: Verified devices behind mux are still accessible via qmp and i2c from within an arm32 SoC. Reviewed-by: Hao Wu