[Qemu-devel] [PATCH for-2.9] configure: Mark SPARC as supported

Peter Maydell posted 1 patch 7 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1490698718-23762-1-git-send-email-peter.maydell@linaro.org
Test checkpatch passed
Test docker passed
Test s390x passed
configure | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
[Qemu-devel] [PATCH for-2.9] configure: Mark SPARC as supported
Posted by Peter Maydell 7 years ago
Thanks to John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
and the Debian Project, we now have access to a SPARC Linux
system we can use for build testing. Move SPARC back into
the "supported" list.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
We should also at least apply the TCG fixes:
 http://patchwork.ozlabs.org/patch/743890/
 http://patchwork.ozlabs.org/patch/743890/
and ideally the bios-tables-test fix, but that's a testsuite bug:
 http://patchwork.ozlabs.org/patch/744178/

There are 'make check' failures in qga-test on this box but
they don't seem architecture related:
 https://lists.gnu.org/archive/html/qemu-devel/2017-03/msg04712.html

I also see some failures in ppc64 guests which might just be
timeout issues and which I haven't investigated yet.
I don't think those are severe enough to worry about for this
release.

 configure | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index d1ce33b..82966f7 100755
--- a/configure
+++ b/configure
@@ -520,11 +520,11 @@ ARCH=
 # Normalise host CPU name and set ARCH.
 # Note that this case should only have supported host CPUs, not guests.
 case "$cpu" in
-  ppc|ppc64|s390|s390x|x32)
+  ppc|ppc64|s390|s390x|sparc64|x32)
     cpu="$cpu"
     supported_cpu="yes"
   ;;
-  ia64|sparc64)
+  ia64)
     cpu="$cpu"
   ;;
   i386|i486|i586|i686|i86pc|BePC)
@@ -549,6 +549,7 @@ case "$cpu" in
   ;;
   sparc|sun4[cdmuv])
     cpu="sparc"
+    supported_cpu="yes"
   ;;
   *)
     # This will result in either an error or falling back to TCI later
-- 
2.7.4


Re: [Qemu-devel] [PATCH for-2.9] configure: Mark SPARC as supported
Posted by Peter Maydell 7 years ago
On 28 March 2017 at 11:58, Peter Maydell <peter.maydell@linaro.org> wrote:
> Thanks to John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
> and the Debian Project, we now have access to a SPARC Linux
> system we can use for build testing. Move SPARC back into
> the "supported" list.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> We should also at least apply the TCG fixes:
>  http://patchwork.ozlabs.org/patch/743890/
>  http://patchwork.ozlabs.org/patch/743890/
> and ideally the bios-tables-test fix, but that's a testsuite bug:
>  http://patchwork.ozlabs.org/patch/744178/
>
> There are 'make check' failures in qga-test on this box but
> they don't seem architecture related:
>  https://lists.gnu.org/archive/html/qemu-devel/2017-03/msg04712.html
>
> I also see some failures in ppc64 guests which might just be
> timeout issues and which I haven't investigated yet.
> I don't think those are severe enough to worry about for this
> release.

Applied to master since the TCG fixes have now gone in.

thanks
-- PMM