From: "Cédric Le Goater" <clg@kaod.org>
To: Timur Maksimov <gessingate@gmail.com>,
Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
Peter Maydell <peter.maydell@linaro.org>,
Jamin Lin <jamin_lin@aspeedtech.com>,
Kane Chen <kane_chen@aspeedtech.com>,
qemu-arm@nongnu.org, Fabiano Rosas <farosas@suse.de>,
Laurent Vivier <lvivier@redhat.com>,
Corey Minyard <cminyard@mvista.com>
Subject: Re: [PATCH v2 1/6] hw/i2c: add dummy device
Date: Thu, 29 Oct 2026 09:37:14 +0100 [thread overview]
Message-ID: <45822012-fd39-4263-a8de-d66a440d1061@kaod.org> (raw)
In-Reply-To: <c850cbe681b0328cf3c3f93140132f8363e253e2.camel@gmail.com>
On 10/29/26 09:20, Timur Maksimov wrote:
> Hi, Markus
>
> On Thu, 2026-10-29 at 08:22 +0100, Markus Armbruster wrote:
>> Timur Maksimov <gessingate@gmail.com> writes:
>>
>>> Hi, thanks for the review.
>>>
>>> It was my decision to use such API, I thought it would be okay for
>>> a
>>> test device. I don't think there is a way to expose integer array
>>> as a
>>> single QOM property.
>>
>> There are ways, but I need to know what you're trying to accomplish
>> to
>> be able to provide guidance.
>
> We need to access the transfer buffer array with QOM. Actually, I have
> a few ideas on how to do this without cluttering the QOM with
> properties, such as using a FIFO interface.
>>
>>> Actually, we can go without this model. I suppose I will rewrite
>>> tests
>>> so they don't use it.
>>
>> You haven't answered my question on code-provenance.rst.
>>
>>> On Wed, 2026-10-28 at 11:17 +0100, Markus Armbruster wrote:
>>>> Cédric Le Goater <clg@kaod.org> writes:
>>>>
>>>>> + Corey for I2C feed back.
>>>>>
>>>>> + Markus for QOM
>>>>>
>>>>> The brute-force solution to expose the contents of the device
>>>>> array
>>>>> with 128 properties has a slight AI smell. I find it ugly but I
>>>>> am
>>>>> human :)
>>>>
>>>> Timur, have you read docs/devel/code-provenance.rst section "Use
>>>> of
>>>> AI-generated content"?
>>>>
>>>>> That said I don't know if there are better
>>>>> alternatives.
>>
>> [...]
>
> Sorry. Yes, I have read it. This is solely my work, no AI was used to
> write it.
>
> I also have a question about MAINTAINERS file. If we keep this device,
> where should I put this file?
You can put it under Aspeed for now, since it will be only used by
Aspeed machines for tests. If it grows, I guess we should move it
under "I2C and SMBus" if Corey agrees.
Thanks,
C.
next prev parent reply other threads:[~2026-10-29 8:37 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 19:50 [PATCH v2 0/6] hw/i2c/aspeed: fix non-packet buffer and DMA transfer modes Timur Maksimov
2026-10-27 19:50 ` [PATCH v2 1/6] hw/i2c: add dummy device Timur Maksimov
2026-10-28 8:54 ` Cédric Le Goater
2026-10-28 10:17 ` Markus Armbruster
2026-10-28 11:04 ` Cédric Le Goater
2026-10-28 11:26 ` Markus Armbruster
2026-10-28 16:20 ` Timur Maksimov
2026-10-29 7:22 ` Markus Armbruster
2026-10-29 8:20 ` Timur Maksimov
2026-10-29 8:37 ` Cédric Le Goater [this message]
2026-10-29 12:45 ` Corey Minyard
2026-10-29 13:04 ` Cédric Le Goater
2026-10-29 15:56 ` Corey Minyard
2026-10-27 19:50 ` [PATCH v2 2/6] hw/i2c/aspeed: fix BUSY status reading in new register mode Timur Maksimov
2026-10-28 8:17 ` Cédric Le Goater
2026-10-28 21:24 ` Cédric Le Goater
2026-10-29 5:21 ` Jamin Lin
2026-10-27 19:50 ` [PATCH v2 3/6] hw/i2c/aspeed: fix I2CD_CMD register reading Timur Maksimov
2026-10-29 5:23 ` Jamin Lin
2026-10-27 19:50 ` [PATCH v2 4/6] hw/i2c/aspeed: fix buffer transfer in non-packet mode Timur Maksimov
2026-10-29 6:33 ` Jamin Lin
2026-10-29 7:23 ` Timur Maksimov
2026-10-29 7:44 ` Jamin Lin
2026-10-29 8:45 ` Timur Maksimov
2026-10-27 19:50 ` [PATCH v2 5/6] hw/i2c/aspeed: fix DMA " Timur Maksimov
2026-10-28 21:32 ` Cédric Le Goater
2026-10-29 6:23 ` Jamin Lin
2026-10-27 19:50 ` [PATCH v2 6/6] tests/qtest: Add cases for 32-bit Aspeed I2C controllers Timur Maksimov
2026-10-28 8:56 ` Cédric Le Goater
2026-10-28 14:47 ` Timur Maksimov
2026-10-29 7:25 ` Jamin Lin
2026-10-29 8:25 ` Timur Maksimov
2026-10-28 11:07 ` [PATCH v2 0/6] hw/i2c/aspeed: fix non-packet buffer and DMA transfer modes Cédric Le Goater
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=45822012-fd39-4263-a8de-d66a440d1061@kaod.org \
--to=clg@kaod.org \
--cc=armbru@redhat.com \
--cc=cminyard@mvista.com \
--cc=farosas@suse.de \
--cc=gessingate@gmail.com \
--cc=jamin_lin@aspeedtech.com \
--cc=kane_chen@aspeedtech.com \
--cc=lvivier@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/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.