Skip to contentSkip to conversation

configure: Mark SPARC as supported

PATCH Applied Peter Maydell 1 participant 2 messages Mar 28, 2017 – Apr 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: Mark SPARC as supported

Thanks to John Paul Adrian Glaubitz <[email protected]> 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.

---
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(-)
configure +3 -2
index d1ce33b..82966f7 100755
@@ -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
Signature · 1 line
2.7.4
author Applied
#1 lore raw
Quoted 13 lines · Peter Maydell

Thanks to John Paul Adrian Glaubitz <[email protected]> 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.

---
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/

Quoted 8 lines

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