qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/8] linux-user: enable NPTL on everything but x86
@ 2013-07-12 20:12 Peter Maydell
  2013-07-12 20:12 ` [Qemu-devel] [PATCH 1/8] configure: Flip default of target_nptl Peter Maydell
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Peter Maydell @ 2013-07-12 20:12 UTC (permalink / raw)
  To: qemu-devel
  Cc: Jia Liu, patches, Riku Voipio, Alexander Graf, Blue Swirl,
	Paul Brook, Guan Xuetao, Aurelien Jarno

This patchset enables NPTL on all linux-user targets except i386 and
x86-64; this is a change for m68k, mipsn32, mipsn32el, mips64, mips64el,
or32, ppc64, ppc46abi32, sparc, sparc32plus, sparc64, unicore32
(but not plain ppc or plain mips). The first four patches have
been on list before and reviewed; the last four are new.

(i386 is addressed by Alex's patch; x86-64 I need to investigate
more closely to figure out how it's supposed to work; then we can
commit a patch which rips out CONFIG_USE_NPTL completely.)

Testing: I've tested with a chroot that or32 and sparc32plus work;
in both cases there were basic bugs in linux-user support (stat
didn't work on or32; pipe busted on sparc; see separate patches)
from which I conclude that these were simply untested targets,
so the bar for "make things at least not worse" is an extremely
low one. I cannot find any m68k binaries which don't die with
an illegal instruction very early on (probably because we emulate
coldfire and most m68k binaries assume 680x0), so I am treating
that target as basically also broken. I've also tested PPC and
PPC64 chroots, and of course the linux-user-0.3 testset from the wiki.

Peter Maydell (8):
  configure: Flip default of target_nptl
  configure: Don't say target_nptl="no" if there is no linux-user
    target
  configure: Enable threading on all ppc and mips linux-user targets
  configure: Enable threading for unicore32-linux-user
  linux-user: Move includes of target-specific headers to end of qemu.h
  linux-user: Enable NPTL for OpenRISC
  linux-user: Enable NPTL for SPARC targets
  linux-user: Enable NPTL for m68k

 configure                        |   13 +++----------
 linux-user/m68k/target_cpu.h     |    6 +++++-
 linux-user/openrisc/target_cpu.h |    9 +++++++--
 linux-user/qemu.h                |   10 ++++++++--
 linux-user/sparc/target_cpu.h    |   16 ++++++++++++----
 linux-user/syscall.c             |   10 ++++++++++
 6 files changed, 45 insertions(+), 19 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-07-13 21:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-12 20:12 [Qemu-devel] [PATCH 0/8] linux-user: enable NPTL on everything but x86 Peter Maydell
2013-07-12 20:12 ` [Qemu-devel] [PATCH 1/8] configure: Flip default of target_nptl Peter Maydell
2013-07-12 20:12 ` [Qemu-devel] [PATCH 2/8] configure: Don't say target_nptl="no" if there is no linux-user target Peter Maydell
2013-07-12 20:12 ` [Qemu-devel] [PATCH 3/8] configure: Enable threading on all ppc and mips linux-user targets Peter Maydell
2013-07-12 20:12 ` [Qemu-devel] [PATCH 4/8] configure: Enable threading for unicore32-linux-user Peter Maydell
2013-07-12 20:12 ` [Qemu-devel] [PATCH 5/8] linux-user: Move includes of target-specific headers to end of qemu.h Peter Maydell
2013-07-13 21:01   ` Richard Henderson
2013-07-12 20:12 ` [Qemu-devel] [PATCH 6/8] linux-user: Enable NPTL for OpenRISC Peter Maydell
2013-07-13  7:40   ` Jia Liu
2013-07-13  8:04     ` Peter Maydell
2013-07-12 20:12 ` [Qemu-devel] [PATCH 7/8] linux-user: Enable NPTL for SPARC targets Peter Maydell
2013-07-13 21:01   ` Richard Henderson
2013-07-12 20:12 ` [Qemu-devel] [PATCH 8/8] linux-user: Enable NPTL for m68k Peter Maydell
2013-07-13 10:28   ` Laurent Vivier
2013-07-13 11:35     ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).