From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgXnw-0004Qe-2O for qemu-devel@nongnu.org; Sun, 04 Sep 2016 09:49:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgXnq-0000Sm-PQ for qemu-devel@nongnu.org; Sun, 04 Sep 2016 09:49:47 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:51904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgXnq-0000SQ-FZ for qemu-devel@nongnu.org; Sun, 04 Sep 2016 09:49:42 -0400 References: <1467933447-5696-1-git-send-email-laurent@vivier.eu> From: Laurent Vivier Message-ID: Date: Sun, 4 Sep 2016 15:49:22 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] linux-user: fix TARGET_NR_select List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Timothy Pearson , Riku Voipio , Allan Wirth , QEMU Developers Le 11/07/2016 à 18:59, Peter Maydell a écrit : > On 8 July 2016 at 00:17, Laurent Vivier wrote: >> TARGET_NR_select can have three different implementations: >> >> 1- to always return -ENOSYS >> >> microblaze, ppc, ppc64 >> >> -> TARGET_WANT_NI_OLD_SELECT >> >> 2- to take parameters from a structure pointed by arg1 >> (kernel sys_old_select) >> >> i386, arm, m68k >> >> -> TARGET_WANT_OLD_SYS_SELECT >> >> 3- to take parameters from arg[1-5] >> (kernel sys_select) >> >> x86_64, alpha, s390x, >> cris, sparc, sparc64 >> >> Some (new) architectures don't define NR_select, >> >> 4- but only NR__newselect with sys_select: >> >> mips, mips64, sh >> >> 5- don't define NR__newselect, and use pselect6 syscall: >> >> aarch64, openrisc, tilegx, unicore32 >> >> Reported-by: Timothy Pearson >> Reported-by: Allan Wirth >> Suggested-by: Peter Maydell >> Signed-off-by: Laurent Vivier >> --- > > Reviewed-by: Peter Maydell > It seems this one has missed 2.7 window, perhaps it can queued for 2.8? Laurent