* [PATCH for-7.0] ppc: Mark the 'taihu' machine as deprecated
@ 2021-12-03 16:49 Thomas Huth
2021-12-03 16:49 ` Thomas Huth
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Huth @ 2021-12-03 16:49 UTC (permalink / raw)
To: qemu-ppc, Cédric Le Goater
Cc: Daniel Henrique Barboza, qemu-devel, christophe.leroy
The PPC 405 CPU is a system-on-a-chip, so all 405 machines are very similar,
except for some external periphery. However, the periphery of the 'taihu'
machine is hardly emulated at all (e.g. neither the LCD nor the USB part had
been implemented), so there is not much value added by this board. The users
can use the 'ref405ep' machine to test their PPC405 code instead.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
docs/about/deprecated.rst | 9 +++++++++
hw/ppc/ppc405_boards.c | 1 +
2 files changed, 10 insertions(+)
diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
index ff7488cb63..5693abb663 100644
--- a/docs/about/deprecated.rst
+++ b/docs/about/deprecated.rst
@@ -315,6 +315,15 @@ This machine is deprecated because we have enough AST2500 based OpenPOWER
machines. It can be easily replaced by the ``witherspoon-bmc`` or the
``romulus-bmc`` machines.
+PPC 405 ``taihu`` machine (since 7.0)
+'''''''''''''''''''''''''''''''''''''
+
+The PPC 405 CPU is a system-on-a-chip, so all 405 machines are very similar,
+except for some external periphery. However, the periphery of the ``taihu``
+machine is hardly emulated at all (e.g. neither the LCD nor the USB part had
+been implemented), so there is not much value added by this board. Use the
+``ref405ep`` machine instead.
+
Backend options
---------------
diff --git a/hw/ppc/ppc405_boards.c b/hw/ppc/ppc405_boards.c
index 972a7a4a3e..ff6a6d26b4 100644
--- a/hw/ppc/ppc405_boards.c
+++ b/hw/ppc/ppc405_boards.c
@@ -547,6 +547,7 @@ static void taihu_class_init(ObjectClass *oc, void *data)
mc->init = taihu_405ep_init;
mc->default_ram_size = 0x08000000;
mc->default_ram_id = "taihu_405ep.ram";
+ mc->deprecation_reason = "incomplete, use 'ref405ep' instead";
}
static const TypeInfo taihu_type = {
--
2.27.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH for-7.0] ppc: Mark the 'taihu' machine as deprecated
2021-12-03 16:49 [PATCH for-7.0] ppc: Mark the 'taihu' machine as deprecated Thomas Huth
@ 2021-12-03 16:49 ` Thomas Huth
2021-12-03 17:05 ` Daniel Henrique Barboza
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Huth @ 2021-12-03 16:49 UTC (permalink / raw)
To: qemu-ppc, Cédric Le Goater
Cc: Daniel Henrique Barboza, qemu-devel, christophe.leroy
The PPC 405 CPU is a system-on-a-chip, so all 405 machines are very similar,
except for some external periphery. However, the periphery of the 'taihu'
machine is hardly emulated at all (e.g. neither the LCD nor the USB part had
been implemented), so there is not much value added by this board. The users
can use the 'ref405ep' machine to test their PPC405 code instead.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
docs/about/deprecated.rst | 9 +++++++++
hw/ppc/ppc405_boards.c | 1 +
2 files changed, 10 insertions(+)
diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
index ff7488cb63..5693abb663 100644
--- a/docs/about/deprecated.rst
+++ b/docs/about/deprecated.rst
@@ -315,6 +315,15 @@ This machine is deprecated because we have enough AST2500 based OpenPOWER
machines. It can be easily replaced by the ``witherspoon-bmc`` or the
``romulus-bmc`` machines.
+PPC 405 ``taihu`` machine (since 7.0)
+'''''''''''''''''''''''''''''''''''''
+
+The PPC 405 CPU is a system-on-a-chip, so all 405 machines are very similar,
+except for some external periphery. However, the periphery of the ``taihu``
+machine is hardly emulated at all (e.g. neither the LCD nor the USB part had
+been implemented), so there is not much value added by this board. Use the
+``ref405ep`` machine instead.
+
Backend options
---------------
diff --git a/hw/ppc/ppc405_boards.c b/hw/ppc/ppc405_boards.c
index 972a7a4a3e..ff6a6d26b4 100644
--- a/hw/ppc/ppc405_boards.c
+++ b/hw/ppc/ppc405_boards.c
@@ -547,6 +547,7 @@ static void taihu_class_init(ObjectClass *oc, void *data)
mc->init = taihu_405ep_init;
mc->default_ram_size = 0x08000000;
mc->default_ram_id = "taihu_405ep.ram";
+ mc->deprecation_reason = "incomplete, use 'ref405ep' instead";
}
static const TypeInfo taihu_type = {
--
2.27.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH for-7.0] ppc: Mark the 'taihu' machine as deprecated
2021-12-03 16:49 ` Thomas Huth
@ 2021-12-03 17:05 ` Daniel Henrique Barboza
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Henrique Barboza @ 2021-12-03 17:05 UTC (permalink / raw)
To: Thomas Huth, qemu-ppc, Cédric Le Goater; +Cc: qemu-devel, christophe.leroy
On 12/3/21 13:49, Thomas Huth wrote:
> The PPC 405 CPU is a system-on-a-chip, so all 405 machines are very similar,
> except for some external periphery. However, the periphery of the 'taihu'
> machine is hardly emulated at all (e.g. neither the LCD nor the USB part had
> been implemented), so there is not much value added by this board. The users
> can use the 'ref405ep' machine to test their PPC405 code instead.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
> docs/about/deprecated.rst | 9 +++++++++
> hw/ppc/ppc405_boards.c | 1 +
> 2 files changed, 10 insertions(+)
>
> diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
> index ff7488cb63..5693abb663 100644
> --- a/docs/about/deprecated.rst
> +++ b/docs/about/deprecated.rst
> @@ -315,6 +315,15 @@ This machine is deprecated because we have enough AST2500 based OpenPOWER
> machines. It can be easily replaced by the ``witherspoon-bmc`` or the
> ``romulus-bmc`` machines.
>
> +PPC 405 ``taihu`` machine (since 7.0)
> +'''''''''''''''''''''''''''''''''''''
> +
> +The PPC 405 CPU is a system-on-a-chip, so all 405 machines are very similar,
> +except for some external periphery. However, the periphery of the ``taihu``
> +machine is hardly emulated at all (e.g. neither the LCD nor the USB part had
> +been implemented), so there is not much value added by this board. Use the
> +``ref405ep`` machine instead.
> +
> Backend options
> ---------------
>
> diff --git a/hw/ppc/ppc405_boards.c b/hw/ppc/ppc405_boards.c
> index 972a7a4a3e..ff6a6d26b4 100644
> --- a/hw/ppc/ppc405_boards.c
> +++ b/hw/ppc/ppc405_boards.c
> @@ -547,6 +547,7 @@ static void taihu_class_init(ObjectClass *oc, void *data)
> mc->init = taihu_405ep_init;
> mc->default_ram_size = 0x08000000;
> mc->default_ram_id = "taihu_405ep.ram";
> + mc->deprecation_reason = "incomplete, use 'ref405ep' instead";
> }
>
> static const TypeInfo taihu_type = {
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-03 17:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-03 16:49 [PATCH for-7.0] ppc: Mark the 'taihu' machine as deprecated Thomas Huth
2021-12-03 16:49 ` Thomas Huth
2021-12-03 17:05 ` Daniel Henrique Barboza
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).