[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 11/12] hw/arm/raspi: Deprecate old raspiX machine names
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v2 11/12] hw/arm/raspi: Deprecate old raspiX machine names |
Date: |
Tue, 4 Feb 2025 10:51:59 +0000 |
User-agent: |
Mutt/2.2.13 (2024-03-09) |
On Tue, Feb 04, 2025 at 11:48:10AM +0100, Philippe Mathieu-Daudé wrote:
> On 4/2/25 10:57, Daniel P. Berrangé wrote:
> > On Tue, Feb 04, 2025 at 10:51:04AM +0100, Philippe Mathieu-Daudé wrote:
> > > On 4/2/25 10:22, Peter Maydell wrote:
> > > > On Tue, 4 Feb 2025 at 00:23, Philippe Mathieu-Daudé <philmd@linaro.org>
> > > > wrote:
> > > > >
> > > > > All previous raspi machines can be created using the
> > > > > generic machine. Deprecate the old names to maintain
> > > > > a single one. Update the tests.
> > > > >
> > > > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> > > >
> > > > > diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
> > > > > index 4a3c302962a..c9a11a52f78 100644
> > > > > --- a/docs/about/deprecated.rst
> > > > > +++ b/docs/about/deprecated.rst
> > > > > @@ -257,6 +257,19 @@ Big-Endian variants of MicroBlaze
> > > > > ``petalogix-ml605`` and ``xlnx-zynqmp-pmu`` ma
> > > > > Both ``petalogix-ml605`` and ``xlnx-zynqmp-pmu`` were added for
> > > > > little endian
> > > > > CPUs. Big endian support is not tested.
> > > > >
> > > > > +ARM ``raspi0``, ``raspi1ap``, ``raspi2b``, ``raspi3ap``, ``raspi3b``
> > > > > and ``raspi4b`` machines (since 10.0)
> > > > > +''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> > > > > +
> > > > > +The Raspberry Pi machines have been unified under the generic
> > > > > ``raspi`` machine,
> > > > > +which takes the model as argument.
> > > > > +
> > > > > + - `raspi0`` is now an alias for ``raspi,model=Zero``
> > > > > + - `raspi1ap`` is now an alias for ``raspi,model=1A+``
> > > > > + - `raspi2b`` is now an alias for ``raspi,model=2B``
> > > > > + - `raspi3ap`` is now an alias for ``raspi,model=3A+``
> > > > > + - `raspi3b`` is now an alias for ``raspi,model=3B``
> > > > > + - `raspi4b`` is now an alias for ``raspi,model=4B``
> > > >
> > > > This is not how we typically handle "we have a bunch
> > > > of different devboards in one family". What's wrong with the
> > > > existing set of machine names?
> > >
> > > Zoltan and you don't want to add more machine names, then you
> > > don't want a generic machine. This is very confusing.
> >
> > IMHO we can have distinct machines for each model, but
> > *NOT* have further machines for each RAM size within a
> > model.
>
> Got it. Unfortunately I spent more than my hobbyist time credit
> doing this, so if I find the motivation to revisit, it'll be later.
>
> Still, having machine memory size depending on the host config was
> a bad design choice IMHO, as we test different setup depending on
> the host being used, so not really a "reproducible" setup.
Yeah that one is a bit ugly. IMHO it would be valid to just leave
it defaulted to 2GB and ensure we get a nice error message on
32-bit hosts, letting users override RAM size if they desire. Or
its just another reason to kill 32-bit hosts
With regards,
Daniel
--
|: 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 :|
- Re: [PATCH v2 07/12] hw/arm/raspi: Check ramsize is within chipset aperture, (continued)
- [PATCH v2 08/12] hw/arm/raspi: Introduce generic Raspberry Pi machine, Philippe Mathieu-Daudé, 2025/02/03
- [PATCH v2 09/12] hw/arm/raspi: Have the generic machine take a 'revision' property, Philippe Mathieu-Daudé, 2025/02/03
- [PATCH v2 10/12] hw/arm/raspi: List models creatable by the generic 'raspi' machine, Philippe Mathieu-Daudé, 2025/02/03
- [PATCH v2 12/12] hw/arm/raspi: Support more models, Philippe Mathieu-Daudé, 2025/02/03
- [PATCH v2 11/12] hw/arm/raspi: Deprecate old raspiX machine names, Philippe Mathieu-Daudé, 2025/02/03
- Re: [PATCH v2 11/12] hw/arm/raspi: Deprecate old raspiX machine names, Peter Maydell, 2025/02/04
- Re: [PATCH v2 11/12] hw/arm/raspi: Deprecate old raspiX machine names, Peter Maydell, 2025/02/04
- Re: [PATCH v2 11/12] hw/arm/raspi: Deprecate old raspiX machine names, Philippe Mathieu-Daudé, 2025/02/04
- Re: [PATCH v2 11/12] hw/arm/raspi: Deprecate old raspiX machine names, Peter Maydell, 2025/02/04
- Re: [PATCH v2 11/12] hw/arm/raspi: Deprecate old raspiX machine names, Philippe Mathieu-Daudé, 2025/02/04
- Re: [PATCH v2 11/12] hw/arm/raspi: Deprecate old raspiX machine names, BALATON Zoltan, 2025/02/04
- Re: [PATCH v2 11/12] hw/arm/raspi: Deprecate old raspiX machine names, Jared Mauch, 2025/02/22