Skip to contentSkip to conversation

hw/ppc: Deprecate the ref405ep and taihu machines and the 405 CPU models

PATCH In review Thomas Huth 6 participants 8 messages Oct 1, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/ppc: Deprecate the ref405ep and taihu machines and the 405 CPU models

These machines need a firmware image called 'ppc405_rom.bin', and nobody seems to have such a firmware image left for testing, so the machines are currently unusable. There used to be support in U-Boot, but it has been removed a couple of year ago already.
Thus let's mark these boards and the 405 CPU as deprecated now, so that we could remove them in a couple of releases (unless somebody speaks up and says that these are still usefull for them).

---
 docs/about/deprecated.rst | 15 +++++++++++++++
 hw/ppc/ppc405_boards.c    |  2 ++
 2 files changed, 17 insertions(+)
docs/about/deprecated.rst +15 -0
index 2f7db9a98d..27c03ef624 100644
@@ -238,6 +238,11 @@ The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated
 (the ISA has never been upstreamed to a compiler toolchain). Therefore
 this CPU is also deprecated.
 
+PPC 405 CPU models (since 6.2)
+''''''''''''''''''''''''''''''
+
+The related boards ``ref405ep`` and ``taihu`` are marked as deprecated, too.
+
 
 QEMU API (QAPI) events
 ----------------------
@@ -258,6 +263,16 @@ 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.
 
+``ref405ep`` and ``taihu`` machines (since 6.2)
+'''''''''''''''''''''''''''''''''''''''''''''''
+
+These machines need a firmware image called 'ppc405_rom.bin', and nobody seems
+to have a working copy of such a firmware image anymore. `Support in U-Boot
+<https://gitlab.com/qemu-project/u-boot/-/commit/98f705c9cefdfdba62c069>`__
+has been removed a couple of years ago, too, so it is very unlikely that
+anybody is still using this code at all.
+
+
 Backend options
 ---------------
 
hw/ppc/ppc405_boards.c +2 -0
index 972a7a4a3e..1578c0dac8 100644
@@ -317,6 +317,7 @@ static void ref405ep_class_init(ObjectClass *oc, void *data)
     mc->init = ref405ep_init;
     mc->default_ram_size = 0x08000000;
     mc->default_ram_id = "ef405ep.ram";
+    mc->deprecation_reason = "ppc405 CPU is deprecated";
 }
 
 static const TypeInfo ref405ep_type = {
@@ -547,6 +548,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 = "ppc405 CPU is deprecated";
 }
 
 static const TypeInfo taihu_type = {
Signature · 1 line
2.27.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Thomas Huth

These machines need a firmware image called 'ppc405_rom.bin', and nobody seems to have such a firmware image left for testing, so the machines are currently unusable. There used to be support in U-Boot, but it has been removed a couple of year ago already.
Thus let's mark these boards and the 405 CPU as deprecated now, so that we could remove them in a couple of releases (unless somebody speaks up and says that these are still usefull for them).

Quoted 59 lines
---
  docs/about/deprecated.rst | 15 +++++++++++++++
  hw/ppc/ppc405_boards.c    |  2 ++
  2 files changed, 17 insertions(+)
docs/about/deprecated.rst +15 -0
index 2f7db9a98d..27c03ef624 100644
@@ -238,6 +238,11 @@ The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated
  (the ISA has never been upstreamed to a compiler toolchain). Therefore
  this CPU is also deprecated.
 
+PPC 405 CPU models (since 6.2)
+''''''''''''''''''''''''''''''
+
+The related boards ``ref405ep`` and ``taihu`` are marked as deprecated, too.
+
 
  QEMU API (QAPI) events
  ----------------------
@@ -258,6 +263,16 @@ 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.
 
+``ref405ep`` and ``taihu`` machines (since 6.2)
+'''''''''''''''''''''''''''''''''''''''''''''''
+
+These machines need a firmware image called 'ppc405_rom.bin', and nobody seems
+to have a working copy of such a firmware image anymore. `Support in U-Boot
+<https://gitlab.com/qemu-project/u-boot/-/commit/98f705c9cefdfdba62c069>`__
+has been removed a couple of years ago, too, so it is very unlikely that
+anybody is still using this code at all.
+
+
  Backend options
  ---------------
 
hw/ppc/ppc405_boards.c +2 -0
index 972a7a4a3e..1578c0dac8 100644
@@ -317,6 +317,7 @@ static void ref405ep_class_init(ObjectClass *oc, void *data)
      mc->init = ref405ep_init;
      mc->default_ram_size = 0x08000000;
      mc->default_ram_id = "ef405ep.ram";
+    mc->deprecation_reason = "ppc405 CPU is deprecated";
  }
 
  static const TypeInfo ref405ep_type = {
@@ -547,6 +548,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 = "ppc405 CPU is deprecated";
  }
 
  static const TypeInfo taihu_type = {
#2 lore raw
In reply to Thomas Huth
Quoted 20 lines · Thomas Huth

These machines need a firmware image called 'ppc405_rom.bin', and nobody seems to have such a firmware image left for testing, so the machines are currently unusable. There used to be support in U-Boot, but it has been removed a couple of year ago already.
Thus let's mark these boards and the 405 CPU as deprecated now, so that we could remove them in a couple of releases (unless somebody speaks up and says that these are still usefull for them).

---
 docs/about/deprecated.rst | 15 +++++++++++++++
 hw/ppc/ppc405_boards.c    |  2 ++
 2 files changed, 17 insertions(+)
docs/about/deprecated.rst +0 -0
index 2f7db9a98d..27c03ef624 100644

docs/about/deprecated.rst The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated · line 245

Quoted 8 lines
docs/about/deprecated.rst +5 -0
@@ -238,6 +238,11 @@ The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated
 (the ISA has never been upstreamed to a compiler toolchain). Therefore
 this CPU is also deprecated.
 
+PPC 405 CPU models (since 6.2)
+''''''''''''''''''''''''''''''
+
+The related boards ``ref405ep`` and ``taihu`` are marked as deprecated, too.
+

What is this "too" a reference to? The immediately preceding section in the document is about the MIPS I7200 CPU model.

The not-being-deprecated sam460ex board also uses the ppc405 CPU I think, so I don't think we can drop the CPU models.

docs/about/deprecated.rst This machine is deprecated because we have enough AST2500 based OpenPOWER · line 270

Quoted 11 lines
docs/about/deprecated.rst +5 -0
 QEMU API (QAPI) events
 ----------------------
@@ -258,6 +263,16 @@ 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.
 
+``ref405ep`` and ``taihu`` machines (since 6.2)
+'''''''''''''''''''''''''''''''''''''''''''''''
+
+These machines need a firmware image called 'ppc405_rom.bin', and nobody seems
+to have a working copy of such a firmware image anymore. `Support in U-Boot

"any more".

docs/about/deprecated.rst This machine is deprecated because we have enough AST2500 based OpenPOWER · line 273

Quoted 3 lines
docs/about/deprecated.rst +3 -0
+<https://gitlab.com/qemu-project/u-boot/-/commit/98f705c9cefdfdba62c069>`__
+has been removed a couple of years ago, too, so it is very unlikely that
+anybody is still using this code at all.

(I'm not sure whether anybody ever actually successfully booted a u-boot binary on QEMU's taihu/ref405ep boards.)

Quoted 18 lines
docs/about/deprecated.rst +2 -0
+
+
 Backend options
 ---------------
 
hw/ppc/ppc405_boards.c +1 -0
index 972a7a4a3e..1578c0dac8 100644
@@ -317,6 +317,7 @@ static void ref405ep_class_init(ObjectClass *oc, void *data)
     mc->init = ref405ep_init;
     mc->default_ram_size = 0x08000000;
     mc->default_ram_id = "ef405ep.ram";
+    mc->deprecation_reason = "ppc405 CPU is deprecated";
 }
 
 static const TypeInfo ref405ep_type = {

hw/ppc/ppc405_boards.c static void taihu_class_init(ObjectClass *oc, void *data) · line 552

Quoted 5 lines
hw/ppc/ppc405_boards.c +1 -0
@@ -547,6 +548,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 = "ppc405 CPU is deprecated";
 }

We're not deprecating the machine types because we're deprecating the CPU types. We're deprecating them because we believe that nobody's using them.

-- PMM

#3 lore raw
Quoted 22 lines · Peter Maydell

docs/about/deprecated.rst The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated · line 245

Quoted 13 lines · Thomas Huth
docs/about/deprecated.rst +5 -0
index 2f7db9a98d..27c03ef624 100644
@@ -238,6 +238,11 @@ The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated
 (the ISA has never been upstreamed to a compiler toolchain). Therefore
 this CPU is also deprecated.
 
+PPC 405 CPU models (since 6.2)
+''''''''''''''''''''''''''''''
+
+The related boards ``ref405ep`` and ``taihu`` are marked as deprecated, too.
+

What is this "too" a reference to? The immediately preceding section in the document is about the MIPS I7200 CPU model.

The not-being-deprecated sam460ex board also uses the ppc405 CPU I think, so I don't think we can drop the CPU models.

Quoted 6 lines

docs/about/deprecated.rst The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated · line 247

Quoted 2 lines
docs/about/deprecated.rst +1 -0
+    mc->deprecation_reason = "ppc405 CPU is deprecated";
 }

We're not deprecating the machine types because we're deprecating the CPU types. We're deprecating them because we believe that nobody's using them.

OTOH we mostly test default CPUs. I am a bit worried about CPU coverage in general. I'm not suggesting we should remove old CPUs along with their machines, because we can still test an ISA, just worried about having so many code paths uncovered.

#4 lore raw
In reply to Peter Maydell
Quoted 24 lines · Peter Maydell
Quoted 23 lines · Thomas Huth

These machines need a firmware image called 'ppc405_rom.bin', and nobody seems to have such a firmware image left for testing, so the machines are currently unusable. There used to be support in U-Boot, but it has been removed a couple of year ago already.
Thus let's mark these boards and the 405 CPU as deprecated now, so that we could remove them in a couple of releases (unless somebody speaks up and says that these are still usefull for them).

---
  docs/about/deprecated.rst | 15 +++++++++++++++
  hw/ppc/ppc405_boards.c    |  2 ++
  2 files changed, 17 insertions(+)
docs/about/deprecated.rst +0 -0
index 2f7db9a98d..27c03ef624 100644
@@ -238,6 +238,11 @@ The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated
  (the ISA has never been upstreamed to a compiler toolchain). Therefore
  this CPU is also deprecated.
 
Quoted 8 lines

docs/about/deprecated.rst The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated · line 245

Quoted 5 lines
docs/about/deprecated.rst +5 -0
+PPC 405 CPU models (since 6.2)
+''''''''''''''''''''''''''''''
+
+The related boards ``ref405ep`` and ``taihu`` are marked as deprecated, too.
+

What is this "too" a reference to? The immediately preceding section in the document is about the MIPS I7200 CPU model.

It was meant as a reference to the machines below. I'll try to rephrase in v2.
(As far as I can see, the 405 can only be used on these boards, it does not seem to be possible to use these CPU types on other boards)

Quoted 2 lines

The not-being-deprecated sam460ex board also uses the ppc405 CPU I think, so I don't think we can drop the CPU models.

No, that board uses a 460exb CPU which is a slightly different kind of embedded PPC CPU, as far as I know.

Quoted 14 lines

docs/about/deprecated.rst This machine is deprecated because we have enough AST2500 based OpenPOWER · line 270

Quoted 11 lines
docs/about/deprecated.rst +5 -0
  QEMU API (QAPI) events
  ----------------------
@@ -258,6 +263,16 @@ 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.
 
+``ref405ep`` and ``taihu`` machines (since 6.2)
+'''''''''''''''''''''''''''''''''''''''''''''''
+
+These machines need a firmware image called 'ppc405_rom.bin', and nobody seems
+to have a working copy of such a firmware image anymore. `Support in U-Boot

"any more".

Quoted 6 lines

docs/about/deprecated.rst This machine is deprecated because we have enough AST2500 based OpenPOWER · line 273

Quoted 3 lines
docs/about/deprecated.rst +3 -0
+<https://gitlab.com/qemu-project/u-boot/-/commit/98f705c9cefdfdba62c069>`__
+has been removed a couple of years ago, too, so it is very unlikely that
+anybody is still using this code at all.

(I'm not sure whether anybody ever actually successfully booted a u-boot binary on QEMU's taihu/ref405ep boards.)

Me neither. Maybe I should rather drop that reference in v2... but I still wonder where that "ppc405_rom.bin" originally came from...

Quoted 14 lines
Quoted 14 lines
docs/about/deprecated.rst +0 -0
  Backend options
  ---------------
 
hw/ppc/ppc405_boards.c +1 -0
index 972a7a4a3e..1578c0dac8 100644
@@ -317,6 +317,7 @@ static void ref405ep_class_init(ObjectClass *oc, void *data)
      mc->init = ref405ep_init;
      mc->default_ram_size = 0x08000000;
      mc->default_ram_id = "ef405ep.ram";
+    mc->deprecation_reason = "ppc405 CPU is deprecated";
  }
 
Quoted 11 lines

hw/ppc/ppc405_boards.c static void taihu_class_init(ObjectClass *oc, void *data) · line 552

Quoted 7 lines
hw/ppc/ppc405_boards.c +1 -0
  static const TypeInfo ref405ep_type = {
@@ -547,6 +548,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 = "ppc405 CPU is deprecated";
  }

We're not deprecating the machine types because we're deprecating the CPU types. We're deprecating them because we believe that nobody's using them.

Ok, I'll try to come up with a different text instead.

Thomas

#5 lore raw
Quoted 94 lines · Thomas Huth
Quoted 24 lines · Peter Maydell
Quoted 23 lines · Thomas Huth

These machines need a firmware image called 'ppc405_rom.bin', and nobody seems to have such a firmware image left for testing, so the machines are currently unusable. There used to be support in U-Boot, but it has been removed a couple of year ago already.
Thus let's mark these boards and the 405 CPU as deprecated now, so that we could remove them in a couple of releases (unless somebody speaks up and says that these are still usefull for them).

---
  docs/about/deprecated.rst | 15 +++++++++++++++
  hw/ppc/ppc405_boards.c    |  2 ++
  2 files changed, 17 insertions(+)
docs/about/deprecated.rst +0 -0
index 2f7db9a98d..27c03ef624 100644
@@ -238,6 +238,11 @@ The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated
  (the ISA has never been upstreamed to a compiler toolchain). Therefore
  this CPU is also deprecated.
 
Quoted 8 lines

docs/about/deprecated.rst The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated · line 245

Quoted 5 lines
docs/about/deprecated.rst +5 -0
+PPC 405 CPU models (since 6.2)
+''''''''''''''''''''''''''''''
+
+The related boards ``ref405ep`` and ``taihu`` are marked as deprecated, too.
+

What is this "too" a reference to? The immediately preceding section in the document is about the MIPS I7200 CPU model.

It was meant as a reference to the machines below. I'll try to rephrase in v2. (As far as I can see, the 405 can only be used on these boards, it does not seem to be possible to use these CPU types on other boards)

Quoted 2 lines

The not-being-deprecated sam460ex board also uses the ppc405 CPU I think, so I don't think we can drop the CPU models.

No, that board uses a 460exb CPU which is a slightly different kind of embedded PPC CPU, as far as I know.

Quoted 14 lines

docs/about/deprecated.rst This machine is deprecated because we have enough AST2500 based OpenPOWER · line 270

Quoted 11 lines
docs/about/deprecated.rst +5 -0
  QEMU API (QAPI) events
  ----------------------
@@ -258,6 +263,16 @@ 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.
 
+``ref405ep`` and ``taihu`` machines (since 6.2)
+'''''''''''''''''''''''''''''''''''''''''''''''
+
+These machines need a firmware image called 'ppc405_rom.bin', and nobody seems
+to have a working copy of such a firmware image anymore. `Support in U-Boot

"any more".

Quoted 6 lines

docs/about/deprecated.rst This machine is deprecated because we have enough AST2500 based OpenPOWER · line 273

Quoted 3 lines
docs/about/deprecated.rst +3 -0
+<https://gitlab.com/qemu-project/u-boot/-/commit/98f705c9cefdfdba62c069>`__
+has been removed a couple of years ago, too, so it is very unlikely that
+anybody is still using this code at all.

(I'm not sure whether anybody ever actually successfully booted a u-boot binary on QEMU's taihu/ref405ep boards.)

Me neither. Maybe I should rather drop that reference in v2... but I still wonder where that "ppc405_rom.bin" originally came from...

Quoted 14 lines
Quoted 14 lines
docs/about/deprecated.rst +0 -0
  Backend options
  ---------------
 
hw/ppc/ppc405_boards.c +1 -0
index 972a7a4a3e..1578c0dac8 100644
@@ -317,6 +317,7 @@ static void ref405ep_class_init(ObjectClass *oc, void *data)
      mc->init = ref405ep_init;
      mc->default_ram_size = 0x08000000;
      mc->default_ram_id = "ef405ep.ram";
+    mc->deprecation_reason = "ppc405 CPU is deprecated";
  }
 
Quoted 11 lines

hw/ppc/ppc405_boards.c static void taihu_class_init(ObjectClass *oc, void *data) · line 552

Quoted 7 lines
hw/ppc/ppc405_boards.c +1 -0
  static const TypeInfo ref405ep_type = {
@@ -547,6 +548,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 = "ppc405 CPU is deprecated";
  }

We're not deprecating the machine types because we're deprecating the CPU types. We're deprecating them because we believe that nobody's using them.

Quoted 1 line

Ok, I'll try to come up with a different text instead.

IIUC, the user isn't specifying the CPU on the command line, they are specifying the machine type, and getting the fixed CPU model as a side effect. With that in mind it is probably clearer to talk about the machine type in the deprecation message as that corresponds to their CLI args.

IOW "machine taihu is deprecated"

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#6 lore raw
In reply to Thomas Huth
Quoted 35 lines · Thomas Huth
Quoted 24 lines · Peter Maydell
Quoted 23 lines · Thomas Huth

These machines need a firmware image called 'ppc405_rom.bin', and nobody seems to have such a firmware image left for testing, so the machines are currently unusable. There used to be support in U-Boot, but it has been removed a couple of year ago already.
Thus let's mark these boards and the 405 CPU as deprecated now, so that we could remove them in a couple of releases (unless somebody speaks up and says that these are still usefull for them).

---
  docs/about/deprecated.rst | 15 +++++++++++++++
  hw/ppc/ppc405_boards.c    |  2 ++
  2 files changed, 17 insertions(+)
docs/about/deprecated.rst +0 -0
index 2f7db9a98d..27c03ef624 100644
@@ -238,6 +238,11 @@ The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated
  (the ISA has never been upstreamed to a compiler toolchain). Therefore
  this CPU is also deprecated.
 
Quoted 8 lines

docs/about/deprecated.rst The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated · line 245

Quoted 5 lines
docs/about/deprecated.rst +5 -0
+PPC 405 CPU models (since 6.2)
+''''''''''''''''''''''''''''''
+
+The related boards ``ref405ep`` and ``taihu`` are marked as deprecated, too.
+

What is this "too" a reference to? The immediately preceding section in the document is about the MIPS I7200 CPU model.

Quoted 3 lines

It was meant as a reference to the machines below. I'll try to rephrase in v2. (As far as I can see, the 405 can only be used on these boards, it does not seem to be possible to use these CPU types on other boards)

OK. I think it's probably a good policy to make deprecation-notice section text self-contained, because we're going to be regularly deleting them, or moving them to removed-features.rst.

Quoted 5 lines
Quoted 2 lines

The not-being-deprecated sam460ex board also uses the ppc405 CPU I think, so I don't think we can drop the CPU models.

No, that board uses a 460exb CPU which is a slightly different kind of embedded PPC CPU, as far as I know.

Ah, right. I was confused because sam460ex.c calls ppc405_ebc_init(), and so it came up from a quick grep for 'ppc405'.

If we want to deprecate the CPU models I think it would be useful to list all the ones we're deprecating explicitly here (using the names that the '-cpu' option accepts).

thanks
-- PMM

#7 lore raw
Quoted 43 lines · Peter Maydell
Quoted 34 lines · Thomas Huth
Quoted 24 lines · Peter Maydell
Quoted 23 lines · Thomas Huth

These machines need a firmware image called 'ppc405_rom.bin', and nobody seems to have such a firmware image left for testing, so the machines are currently unusable. There used to be support in U-Boot, but it has been removed a couple of year ago already.
Thus let's mark these boards and the 405 CPU as deprecated now, so that we could remove them in a couple of releases (unless somebody speaks up and says that these are still usefull for them).

---
  docs/about/deprecated.rst | 15 +++++++++++++++
  hw/ppc/ppc405_boards.c    |  2 ++
  2 files changed, 17 insertions(+)
docs/about/deprecated.rst +0 -0
index 2f7db9a98d..27c03ef624 100644
@@ -238,6 +238,11 @@ The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated
  (the ISA has never been upstreamed to a compiler toolchain). Therefore
  this CPU is also deprecated.
 
Quoted 8 lines

docs/about/deprecated.rst The ``I7200`` guest CPU relies on the nanoMIPS ISA, which is deprecated · line 245

Quoted 5 lines
docs/about/deprecated.rst +5 -0
+PPC 405 CPU models (since 6.2)
+''''''''''''''''''''''''''''''
+
+The related boards ``ref405ep`` and ``taihu`` are marked as deprecated, too.
+

What is this "too" a reference to? The immediately preceding section in the document is about the MIPS I7200 CPU model.

Quoted 3 lines

It was meant as a reference to the machines below. I'll try to rephrase in v2. (As far as I can see, the 405 can only be used on these boards, it does not seem to be possible to use these CPU types on other boards)

OK. I think it's probably a good policy to make deprecation-notice section text self-contained, because we're going to be regularly deleting them, or moving them to removed-features.rst.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

The not-being-deprecated sam460ex board also uses the ppc405 CPU I think, so I don't think we can drop the CPU models.

No, that board uses a 460exb CPU which is a slightly different kind of embedded PPC CPU, as far as I know.

Ah, right. I was confused because sam460ex.c calls ppc405_ebc_init(), and so it came up from a quick grep for 'ppc405'.

The AMCC ppc460EX SoC the sam460ex is using has a PPC440 core but since these ppc4xx SoCs are based on previous ones they have similar parts which are reused. This was and still is quite a mess, I've tried to move some ppc440 specific parts to separate file and also common parts to ppc4xx when adding sam460ex but some parts from ppc405 is reused without moving it to ppc4xx and a lot of it is still predating QOM which would have been too much work to fix so left as it was before.

Quoted 3 lines

If we want to deprecate the CPU models I think it would be useful to list all the ones we're deprecating explicitly here (using the names that the '-cpu' option accepts).

Maybe the ppc405 CPU should be kept due to the entaglement of ppc405 and ppc440 parts and also because it could be useful if somebody wants to try to run code for that CPU (with user mode or maybe qemi-system-ppc -M none -cpu ppc405 plus some other devices if needed).

Regards,
BALATON Zoltan