From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rVxgR4VHnzDqs7 for ; Fri, 17 Jun 2016 07:42:27 +1000 (AEST) From: Andreas Schwab To: Chris Metcalf Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , , Adhemerval Zanella , Mike Frysinger Subject: Re: possible bug in powerpc LE compat syscalls with 64-bit args References: <28c367c1-0f60-cd1d-b443-d3876798a627__12262.0927206755$1466112970$gmane$org@mellanox.com> Date: Thu, 16 Jun 2016 23:42:14 +0200 In-Reply-To: <28c367c1-0f60-cd1d-b443-d3876798a627__12262.0927206755$1466112970$gmane$org@mellanox.com> (Chris Metcalf's message of "Thu, 16 Jun 2016 11:36:59 -0400") Message-ID: <87r3bwq095.fsf@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Chris Metcalf writes: > Reviewing what other platforms do, it seems like powerpc compat mode may > have the opposite problem in little-endian mode, since arguments are passed > in "hi, lo" order unconditionally in arch/powerpc/kernel/sys_ppc32.c. PPC32 is always big-endian. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."