From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752866AbcHQM3C convert rfc822-to-8bit (ORCPT ); Wed, 17 Aug 2016 08:29:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:33154 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751839AbcHQM3A (ORCPT ); Wed, 17 Aug 2016 08:29:00 -0400 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [RFC2 nowrap: PATCH v7 00/18] ILP32 for ARM64 From: Alexander Graf In-Reply-To: <1471434403-25291-1-git-send-email-ynorov@caviumnetworks.com> Date: Wed, 17 Aug 2016 14:28:50 +0200 Cc: Arnd Bergmann , Catalin Marinas , linux-arm-kernel , LKML , linux-doc@vger.kernel.org, linux-arch@vger.kernel.org, libc-alpha@sourceware.org, Martin Schwidefsky , heiko.carstens@de.ibm.com, pinskia@gmail.com, broonie@kernel.org, joseph@codesourcery.com, christoph.muellner@theobroma-systems.com, bamvor.zhangjian@huawei.com, szabolcs.nagy@arm.com, klimov.linux@gmail.com, Nathan_Lynch@mentor.com, Prasun.Kapoor@caviumnetworks.com, kilobyte@angband.pl, geert@linux-m68k.org, philipp.tomsich@theobroma-systems.com, manuel.montezelo@gmail.com, linyongting@huawei.com, maxim.kuvyrkov@linaro.org, davem@davemloft.net, zhouchengming1@huawei.com, cmetcalf@ezchip.com Content-Transfer-Encoding: 8BIT Message-Id: <175AE090-EDA7-4A8D-9044-3FFA74AC1903@suse.de> References: <1471434403-25291-1-git-send-email-ynorov@caviumnetworks.com> To: Yury Norov X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 17 Aug 2016, at 13:46, Yury Norov wrote: > > This series enables aarch64 with ilp32 mode, and as supporting work, > introduces ARCH_32BIT_OFF_T configuration option that is enabled for > existing 32-bit architectures but disabled for new arches (so 64-bit > off_t is is used by new userspace). > > This version is based on kernel v4.8-rc2. > It works with glibc-2.23, and tested with LTP. > > This is RFC because there is still no solid understanding what type of registers > top-halves delousing we prefer. In this patchset, w0-w7 are cleared for each > syscall in assembler entry. The alternative approach is in introducing compat > wrappers which is little faster for natively routed syscalls (~2.6% for syscall > with no payload) but much more complicated. So you’re saying there are 2 options: 1) easy to get right, slightly slower, same ABI to user space as 2 2) harder to get right, minor performance benefit That’s an obvious pick, no? Mark it non-RFC and stay with the clearing in assembler entry. If anyone cares about those last few percent, they can still push the harder path upstream later if they want to, but at least we’ll have the ABI stable, so that you can start using and developing for ilp32 on aarch64. Alex