[PATCH v2 0/4] Sparc CPU naming and help text improvements

Thomas Huth posted 4 patches 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240419084812.504779-1-thuth@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>
docs/about/deprecated.rst    |  9 +++++
docs/system/target-sparc.rst | 12 ++++---
qom/object.c                 |  8 -----
target/sparc/cpu.c           | 66 +++++++++++++++++++++---------------
4 files changed, 54 insertions(+), 41 deletions(-)
[PATCH v2 0/4] Sparc CPU naming and help text improvements
Posted by Thomas Huth 2 weeks ago
The Sparc CPU naming and the corresponding help text is somewhat
confusing for the users. We should avoid spaces in the Names and
provide clear information to the users what can be passed to the
"-cpu" option.
While we're at it, also remove the "+" from two of the CPU names
since this character is now not allowed in device names anymore
(and was worked around with an ugly hack in qom/object.c so far).

v2:
- Use "Sun-UltraSparc-IIIi-plus" and "Sun-UltraSparc-IV-plus"
  instead of just adding a "p" at the end
- Drop the sentence about NetBSD and OpenBSD in the docs since
  these problems are likely fixed since a long time already
- Added Reviewed-bys from earlier series and updated the patch
  descriptions a little bit

Thomas Huth (4):
  target/sparc/cpu: Rename the CPU models with a "+" in their names
  target/sparc/cpu: Avoid spaces by default in the CPU names
  docs/system/target-sparc: Improve the Sparc documentation
  docs/about: Deprecate the old "UltraSparc" CPU names that contain a
    "+"

 docs/about/deprecated.rst    |  9 +++++
 docs/system/target-sparc.rst | 12 ++++---
 qom/object.c                 |  8 -----
 target/sparc/cpu.c           | 66 +++++++++++++++++++++---------------
 4 files changed, 54 insertions(+), 41 deletions(-)

-- 
2.44.0
Re: [PATCH v2 0/4] Sparc CPU naming and help text improvements
Posted by Mark Cave-Ayland 4 days, 11 hours ago
On 19/04/2024 09:48, Thomas Huth wrote:

> The Sparc CPU naming and the corresponding help text is somewhat
> confusing for the users. We should avoid spaces in the Names and
> provide clear information to the users what can be passed to the
> "-cpu" option.
> While we're at it, also remove the "+" from two of the CPU names
> since this character is now not allowed in device names anymore
> (and was worked around with an ugly hack in qom/object.c so far).
> 
> v2:
> - Use "Sun-UltraSparc-IIIi-plus" and "Sun-UltraSparc-IV-plus"
>    instead of just adding a "p" at the end
> - Drop the sentence about NetBSD and OpenBSD in the docs since
>    these problems are likely fixed since a long time already
> - Added Reviewed-bys from earlier series and updated the patch
>    descriptions a little bit
> 
> Thomas Huth (4):
>    target/sparc/cpu: Rename the CPU models with a "+" in their names
>    target/sparc/cpu: Avoid spaces by default in the CPU names
>    docs/system/target-sparc: Improve the Sparc documentation
>    docs/about: Deprecate the old "UltraSparc" CPU names that contain a
>      "+"
> 
>   docs/about/deprecated.rst    |  9 +++++
>   docs/system/target-sparc.rst | 12 ++++---
>   qom/object.c                 |  8 -----
>   target/sparc/cpu.c           | 66 +++++++++++++++++++++---------------
>   4 files changed, 54 insertions(+), 41 deletions(-)

Thanks! I've applied this to my qemu-sparc branch, along with Peter's suggested tweak 
to the grammar in patch 3.


ATB,

Mark.
Re: [PATCH v2 0/4] Sparc CPU naming and help text improvements
Posted by Richard Henderson 1 week, 6 days ago
On 4/19/24 01:48, Thomas Huth wrote:
> Thomas Huth (4):
>    target/sparc/cpu: Rename the CPU models with a "+" in their names
>    target/sparc/cpu: Avoid spaces by default in the CPU names
>    docs/system/target-sparc: Improve the Sparc documentation
>    docs/about: Deprecate the old "UltraSparc" CPU names that contain a
>      "+"

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~