From: Andrew Jeffery <andrew@codeconstruct.com.au>
To: Bernhard Beschow <shentey@gmail.com>, qemu-devel@nongnu.org
Cc: "Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Niek Linnenbank" <nieklinnenbank@gmail.com>,
"Bin Meng" <bmeng.cn@gmail.com>,
"Paul Burton" <paulburton@kernel.org>,
"Stafford Horne" <shorne@gmail.com>,
qemu-ppc@nongnu.org, "Tyrone Ting" <kfting@nuvoton.com>,
"Joel Stanley" <joel@jms.id.au>,
"Eduardo Habkost" <eduardo@habkost.net>,
"Sergio Lopez" <slp@redhat.com>,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Hao Wu" <wuhaotsh@google.com>,
"Alistair Francis" <Alistair.Francis@wdc.com>,
"BALATON Zoltan" <balaton@eik.bme.hu>,
"Jan Kiszka" <jan.kiszka@web.de>,
"Beniamino Galvani" <b.galvani@gmail.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Aurelien Jarno" <aurelien@aurel32.net>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Artyom Tarasenko" <atar4qemu@gmail.com>,
"Jia Liu" <proljc@gmail.com>, "Helge Deller" <deller@gmx.de>,
"Max Filippov" <jcmvbkbc@gmail.com>,
"Subbaraya Sundeep" <sundeep.lkml@gmail.com>,
"Weiwei Li" <liwei1518@gmail.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Nicholas Piggin" <npiggin@gmail.com>,
"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
"Daniel Henrique Barboza" <dbarboza@ventanamicro.com>,
"Steven Lee" <steven_lee@aspeedtech.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Huacai Chen" <chenhuacai@kernel.org>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Strahinja Jankovic" <strahinja.p.jankovic@gmail.com>,
qemu-arm@nongnu.org, "Aleksandar Rikalo" <arikalo@gmail.com>,
"Troy Lee" <leetroy@gmail.com>,
"Jamin Lin" <jamin_lin@aspeedtech.com>,
"Liu Zhiwei" <zhiwei_liu@linux.alibaba.com>,
"Frédéric Barrat" <fbarrat@linux.ibm.com>,
"Cédric Le Goater" <clg@kaod.org>,
"Hervé Poussineau" <hpoussin@reactos.org>,
qemu-riscv@nongnu.org,
"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
"Song Gao" <gaosong@loongson.cn>
Subject: Re: [PATCH 5/5] hw/char: Extract serial-mm
Date: Thu, 15 Aug 2024 10:05:34 +0930 [thread overview]
Message-ID: <ba5ba799e27f2eb03e703b4741ad3b4e9e06eb11.camel@codeconstruct.com.au> (raw)
In-Reply-To: <20240814181534.218964-6-shentey@gmail.com>
On Wed, 2024-08-14 at 20:15 +0200, Bernhard Beschow wrote:
> hw/char/serial currently contains the implementation of both TYPE_SERIAL and
> TYPE_SERIAL_MM. According to serial_class_init(), TYPE_SERIAL is an internal
> class while TYPE_SERIAL_MM is used by numerous machine types directly. Let's
> move the latter into its own module which makes the dependencies more obvious
> and the code more tidy.
>
> The includes and the dependencies have been converted mechanically except in the
> hw/char directories which were updated manually. The result was compile-tested.
> Now, only hw/char makes direct use of TYPE_SERIAL:
>
> # grep -r -e "select SERIAL" | grep -v SERIAL_
> hw/char/Kconfig: select SERIAL
> hw/char/Kconfig: select SERIAL
> hw/char/Kconfig: select SERIAL
> hw/char/Kconfig: select SERIAL
> hw/char/Kconfig: select SERIAL
>
> # grep -r -e "/serial\\.h"
> include/hw/char/serial-mm.h:#include "hw/char/serial.h"
> hw/char/serial-pci-multi.c:#include "hw/char/serial.h"
> hw/char/serial.c:#include "hw/char/serial.h"
> hw/char/serial-isa.c:#include "hw/char/serial.h"
> hw/char/serial-pci.c:#include "hw/char/serial.h"
>
> Signed-off-by: Bernhard Beschow <shentey@gmail.com>
> ---
> include/hw/arm/aspeed_soc.h | 2 +-
...
> hw/arm/aspeed_ast2400.c | 2 +-
> hw/arm/aspeed_soc_common.c | 2 +-
For the Aspeed bits:
Tested-by: Andrew Jeffery <andrew@codeconstruct.com.au>
next prev parent reply other threads:[~2024-08-15 0:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-14 18:15 [PATCH 0/5] Serial device cleanup Bernhard Beschow
2024-08-14 18:15 ` [PATCH 1/5] hw: Remove unused inclusion of hw/char/serial.h Bernhard Beschow
2024-08-21 14:39 ` Mark Cave-Ayland
2024-08-14 18:15 ` [PATCH 2/5] hw/char/serial: Remove unused funtion Bernhard Beschow
2024-08-14 21:38 ` BALATON Zoltan
2024-08-15 8:24 ` Mark Cave-Ayland
2024-08-15 9:26 ` Philippe Mathieu-Daudé
2024-08-15 18:00 ` Bernhard Beschow
2024-08-14 18:15 ` [PATCH 3/5] hw/ppc/Kconfig: Add missing SERIAL_ISA dependency to POWERNV machine Bernhard Beschow
2024-08-16 9:18 ` Philippe Mathieu-Daudé
2024-08-21 14:42 ` Mark Cave-Ayland
2024-08-14 18:15 ` [PATCH 4/5] hw/char/serial.h: Extract serial-isa.h Bernhard Beschow
2024-08-21 14:44 ` Mark Cave-Ayland
2024-08-14 18:15 ` [PATCH 5/5] hw/char: Extract serial-mm Bernhard Beschow
2024-08-15 0:35 ` Andrew Jeffery [this message]
2024-08-21 14:48 ` Mark Cave-Ayland
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=ba5ba799e27f2eb03e703b4741ad3b4e9e06eb11.camel@codeconstruct.com.au \
--to=andrew@codeconstruct.com.au \
--cc=Alistair.Francis@wdc.com \
--cc=arikalo@gmail.com \
--cc=atar4qemu@gmail.com \
--cc=aurelien@aurel32.net \
--cc=b.galvani@gmail.com \
--cc=balaton@eik.bme.hu \
--cc=bmeng.cn@gmail.com \
--cc=chenhuacai@kernel.org \
--cc=clg@kaod.org \
--cc=dbarboza@ventanamicro.com \
--cc=deller@gmx.de \
--cc=edgar.iglesias@gmail.com \
--cc=eduardo@habkost.net \
--cc=fbarrat@linux.ibm.com \
--cc=gaosong@loongson.cn \
--cc=hpoussin@reactos.org \
--cc=jamin_lin@aspeedtech.com \
--cc=jan.kiszka@web.de \
--cc=jcmvbkbc@gmail.com \
--cc=jiaxun.yang@flygoat.com \
--cc=joel@jms.id.au \
--cc=kfting@nuvoton.com \
--cc=leetroy@gmail.com \
--cc=liwei1518@gmail.com \
--cc=marcandre.lureau@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=mst@redhat.com \
--cc=nieklinnenbank@gmail.com \
--cc=npiggin@gmail.com \
--cc=palmer@dabbelt.com \
--cc=paulburton@kernel.org \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=proljc@gmail.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=shentey@gmail.com \
--cc=shorne@gmail.com \
--cc=slp@redhat.com \
--cc=steven_lee@aspeedtech.com \
--cc=strahinja.p.jankovic@gmail.com \
--cc=sundeep.lkml@gmail.com \
--cc=wuhaotsh@google.com \
--cc=zhiwei_liu@linux.alibaba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).