Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932456AbbDMVBp (ORCPT ); Mon, 13 Apr 2015 17:01:45 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:52933 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751020AbbDMVBm (ORCPT ); Mon, 13 Apr 2015 17:01:42 -0400 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Philipp Tomsich , linux-kernel@vger.kernel.org, Andreas Kraschitzer , Benedikt Huber , Catalin Marinas , Andrew Pinski , Kumar Sankaran , Christoph Muellner Subject: Re: [PATCH v4 00/24] ILP32 for ARM64 Date: Mon, 13 Apr 2015 23:01:06 +0200 Message-ID: <2507322.zX46IY7aRK@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:oUNdr86yvLDAHBz4zzLPDXOdeYeM3/oeWOS3wwHqrSH0F+gbbJp 4hRenMdqc7fZ3/YtYeNWgNoX1xWDCNCSUqnfI1fxeswKybtgGLesyVImjtoacKBXNkQ/h6k CYxMKedBbdC5Vw5dtSOLJKDKcza3G/v+vzR5WuoK/HDaQLfok/DlUGeFcQhlcqdD9S1MQVY 1UuvulzAum6c0SkbukyBA== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2524 Lines: 49 On Monday 13 April 2015 21:44:10 Philipp Tomsich wrote: > If anybody wants to rerun LTP, let me know, so I can provide a > buildroot-generated rootfs-image via FTP. > > The key differences from earlier changesets are: > * updated to 4.0 > * fixes for functions using 'struct msgbuf' (using compat) > * deduplication of code by using a 32bit stack_t (using compat) > * updated the documentation to clarify the changes to stack_t > * introduced a sub-architecture (via COMPAT_ELF_PLATFORM) to make > life easier for tools (e.g. gdb) when attaching to a live process > (a corefile is easily distinguishable by being ELFCLASS32). > > Any review comments are welcome. Hi Philipp, Thanks for picking up these patches again. I have had a lot of conversations about them recently, and have two very broad issues that we need to resolve before merging them: 1. Adding a whole new ABI to the kernel is adding a long-term maintenance burden, and we don't want to do that just because someone thinks it's a cute hack or because it might add a few percent in performance of some low-level benchmark. Please describe in the cover-letter for the patch series specifically what applications you have in mind that would be using this, and what the expected timeframe is before users could move to 64-bit user space. 2. The ABI follows what x86 has their "x32" ABI. This never saw a lot of adoption and in retrospect the decision to have separate system calls seems to not have helped them. My feeling now is that if we add support for the ARM64 ILP32 ELF ABI, we should better stick to the existing system call ABI as close as possible and reuse the existing system call table. I realize that this is a bit controversial, but please let's talk about this now. The most important aspect here I think is time_t, and while it means starting out with a system call ABI that is not ready for y2038, at the same time the purpose of ILP32 support is to support legacy source code that is not 64-bit safe now, and using 32-bit time_t will make that easier in a lot of ways. Note that I am also leading the effort to make 32-bit Linux ready for using 64-bit time_t on all architectures, so ARM64 ILP32 will be fixed as well, it just won't be any better or worse than the others. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/