qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/ppc: Deprecate the ref405ep and taihu machines and the 40


From: BALATON Zoltan
Subject: Re: [PATCH] hw/ppc: Deprecate the ref405ep and taihu machines and the 405 CPU models
Date: Fri, 1 Oct 2021 15:41:47 +0200 (CEST)

On Fri, 1 Oct 2021, Peter Maydell wrote:
On Fri, 1 Oct 2021 at 14:01, Thomas Huth <thuth@redhat.com> wrote:
On 01/10/2021 14.46, Peter Maydell wrote:
On Fri, 1 Oct 2021 at 13:22, Thomas Huth <thuth@redhat.com> wrote:

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).

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
  docs/about/deprecated.rst | 15 +++++++++++++++
  hw/ppc/ppc405_boards.c    |  2 ++
  2 files changed, 17 insertions(+)

diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
index 2f7db9a98d..27c03ef624 100644
--- a/docs/about/deprecated.rst
+++ b/docs/about/deprecated.rst
@@ -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.

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.

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.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]