Re: [PATCH] qdev: not add devices to bus in reverse order

2024-01-24 Thread Igor Mammedov
On Mon, 22 Jan 2024 09:59:06 +0800 Kai wrote: > On 1/18/24 20:07, Igor Mammedov wrote: > > On Thu, 18 Jan 2024 14:48:50 +0800 > > Kai wrote: > > > >> On 1/18/24 01:31, Peter Maydell wrote: > >>> (cc'd the people listed for this file in MAINTAINERS) > >>> > >>> On Tue, 9 Jan 2024 at 13:53, Ka

Re: [PATCH] qdev: not add devices to bus in reverse order

2024-01-21 Thread Kai
On 1/18/24 20:07, Igor Mammedov wrote: On Thu, 18 Jan 2024 14:48:50 +0800 Kai wrote: On 1/18/24 01:31, Peter Maydell wrote: (cc'd the people listed for this file in MAINTAINERS) On Tue, 9 Jan 2024 at 13:53, Kai Kang wrote: When this section of source codes were added via commit: * 02e2da4

Re: [PATCH] qdev: not add devices to bus in reverse order

2024-01-18 Thread Igor Mammedov
On Thu, 18 Jan 2024 14:48:50 +0800 Kai wrote: > On 1/18/24 01:31, Peter Maydell wrote: > > (cc'd the people listed for this file in MAINTAINERS) > > > > On Tue, 9 Jan 2024 at 13:53, Kai Kang wrote: > >> When this section of source codes were added via commit: > >> > >> * 02e2da45c4 Add common

Re: [PATCH] qdev: not add devices to bus in reverse order

2024-01-18 Thread Peter Maydell
On Thu, 18 Jan 2024 at 06:49, Kai wrote: > > On 1/18/24 01:31, Peter Maydell wrote: > > (cc'd the people listed for this file in MAINTAINERS) > > > > On Tue, 9 Jan 2024 at 13:53, Kai Kang wrote: > >> When this section of source codes were added via commit: > >> > >> * 02e2da45c4 Add common BusSta

Re: [PATCH] qdev: not add devices to bus in reverse order

2024-01-17 Thread Kai
On 1/18/24 01:31, Peter Maydell wrote: (cc'd the people listed for this file in MAINTAINERS) On Tue, 9 Jan 2024 at 13:53, Kai Kang wrote: When this section of source codes were added via commit: * 02e2da45c4 Add common BusState it added devices to bus with LIST_INSERT_HEAD() which operated o

Re: [PATCH] qdev: not add devices to bus in reverse order

2024-01-17 Thread Peter Maydell
(cc'd the people listed for this file in MAINTAINERS) On Tue, 9 Jan 2024 at 13:53, Kai Kang wrote: > > When this section of source codes were added via commit: > > * 02e2da45c4 Add common BusState > > it added devices to bus with LIST_INSERT_HEAD() which operated on the > single direction list. I

Re: [PATCH] qdev: not add devices to bus in reverse order

2024-01-16 Thread Kai
On 1/9/24 17:52, kai.k...@windriver.com wrote: From: Kai Kang When this section of source codes were added via commit: * 02e2da45c4 Add common BusState it added devices to bus with LIST_INSERT_HEAD() which operated on the single direction list. It didn't have something like LIST_INSERT_TAIL()

[PATCH] qdev: not add devices to bus in reverse order

2024-01-09 Thread Kai Kang
When this section of source codes were added via commit: * 02e2da45c4 Add common BusState it added devices to bus with LIST_INSERT_HEAD() which operated on the single direction list. It didn't have something like LIST_INSERT_TAIL() at that time and kept that way when turned to QTAILQ. Then it ca

[PATCH] qdev: not add devices to bus in reverse order

2024-01-09 Thread kai.kang
From: Kai Kang When this section of source codes were added via commit: * 02e2da45c4 Add common BusState it added devices to bus with LIST_INSERT_HEAD() which operated on the single direction list. It didn't have something like LIST_INSERT_TAIL() at that time and kept that way when turned to QT