All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Emmanuel Blot <eblot@meta.com>
Cc: "Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>,
	qemu-devel@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>,
	"Fabiano Rosas" <farosas@suse.de>,
	"Laurent Vivier" <lvivier@redhat.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Cédric Le Goater" <clg@kaod.org>,
	"Steven Lee" <steven_lee@aspeedtech.com>,
	"Troy Lee" <leetroy@gmail.com>,
	"Jamin Lin" <jamin_lin@aspeedtech.com>,
	"Kane Chen" <kane_chen@aspeedtech.com>,
	"Andrew Jeffery" <andrew@codeconstruct.com.au>,
	"Joel Stanley" <joel@jms.id.au>,
	"Alexander Hansen" <alexander.hansen@9elements.com>,
	"William de Abreu Pinho" <williampinho@meta.com>,
	qemu-arm@nongnu.org, "Corey Minyard" <cminyard@mvista.com>
Subject: Re: [PATCH v3 3/5] hw/i2c: parent slaves created with i2c_slave_create_simple
Date: Wed, 01 Jul 2026 16:15:40 +0200	[thread overview]
Message-ID: <87echm4wz7.fsf@pond.sub.org> (raw)
In-Reply-To: <dc92984a-5c25-419e-b4ad-f5b79efbaeea@oss.qualcomm.com> ("Philippe Mathieu-Daudé"'s message of "Wed, 1 Jul 2026 08:29:26 +0200")

Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> writes:

> On 28/6/26 02:45, Emmanuel Blot wrote:
>> Slaves created with i2c_slave_create_simple() were left unparented and
>> showed up under /machine/unattached with no stable QOM path. Add each
>> slave as a QOM child of its bus, named after its I2C address, so it has
>> a deterministic and addressable QOM path.
>
> +Markus
>
> Personally I never liked the idea of having buses being parents
> of the devices attached to them, but maybe it is simpler this way.
>
>> Signed-off-by: Emmanuel Blot <eblot@meta.com>

Patches haven't reached the list as far as I can tell.  I need them to
contribute to the discussion.  Emmanuel, please resend them.



      parent reply	other threads:[~2026-07-01 14:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260627-i2c-adc128d818-anacapa-v3-0-cfb94270a980@meta.com>
2026-06-29  9:35 ` [PATCH v3 0/5] hw/sensor: Add new device emulation for TI ADC128D818 Cédric Le Goater
     [not found] ` <20260627-i2c-adc128d818-anacapa-v3-1-cfb94270a980@meta.com>
2026-06-29 14:44   ` [PATCH v3 1/5] hw/sensor: adc128d818: add 12-bit 8-channel ADC device Philippe Mathieu-Daudé
     [not found] ` <20260627-i2c-adc128d818-anacapa-v3-2-cfb94270a980@meta.com>
2026-06-29 14:47   ` [PATCH v3 2/5] tests/qtest: adc128d818: add test suite Philippe Mathieu-Daudé
     [not found] ` <20260627-i2c-adc128d818-anacapa-v3-3-cfb94270a980@meta.com>
2026-07-01  6:29   ` [PATCH v3 3/5] hw/i2c: parent slaves created with i2c_slave_create_simple Philippe Mathieu-Daudé
2026-07-01 12:39     ` Cédric Le Goater
2026-07-02  7:05       ` Markus Armbruster
2026-07-03  9:48         ` Cédric Le Goater
2026-07-01 14:15     ` Markus Armbruster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87echm4wz7.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=alexander.hansen@9elements.com \
    --cc=andrew@codeconstruct.com.au \
    --cc=clg@kaod.org \
    --cc=cminyard@mvista.com \
    --cc=eblot@meta.com \
    --cc=farosas@suse.de \
    --cc=jamin_lin@aspeedtech.com \
    --cc=joel@jms.id.au \
    --cc=kane_chen@aspeedtech.com \
    --cc=leetroy@gmail.com \
    --cc=lvivier@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@oss.qualcomm.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=steven_lee@aspeedtech.com \
    --cc=williampinho@meta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.