Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754987AbbLAK3A (ORCPT ); Tue, 1 Dec 2015 05:29:00 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:64409 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751883AbbLAK2z (ORCPT ); Tue, 1 Dec 2015 05:28:55 -0500 From: Arnd Bergmann To: Yury Norov Cc: linux-arm-kernel@lists.infradead.org, pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, catalin.marinas@arm.com, Nathan_Lynch@mentor.com, linux-kernel@vger.kernel.org, agraf@suse.de, klimov.linux@gmail.com, broonie@kernel.org, jan.dakinevich@gmail.com, joseph@codesourcery.com, ddaney.cavm@gmail.com, schwab@suse.de, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, andrey.konovalov@linaro.org, christoph.muellner@theobroma-systems.com Subject: Re: [PATCH v6 14/19] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it Date: Tue, 01 Dec 2015 11:26:14 +0100 Message-ID: <3538503.5d5Wa1mDgB@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20151201004009.GB23254@yury-N73SV> References: <1447795019-30176-1-git-send-email-ynorov@caviumnetworks.com> <3463212.HtU7UeIULQ@wuerfel> <20151201004009.GB23254@yury-N73SV> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:AV/fy5SelCzes5BCZQ4UQeprCSybijWO40YxSUUqRvdW7mWXy/O 2mKkpKhry4orUYMfm6YHTIPBLijUrU9eQFPXptUoLBaqM/McL9JHdUwTCwmwKFsficUg8OH UZ3XiSc4p0EhuFFYnBaFlZ8bVvonm+sreLukToQrQ+H+oGfng75NvanUHqXbxW2ARnSsanC bXxO4A6w87Pqiy3EKEqSQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:XcjREBp+0gI=:N36+Cvb6XQiVOprWJlA5iV jqLPBB/Sczkj0Pf0SIz07NleRXIN0MiSxMmmg4MMbpSdx67doBnBGms0SRLS80uvRv4lPmsBH fvgTecN7358FIkjEnLm6w9VW+znkpkUtmk5jlthj5UYecp4eMlcZnz7apZ2ZWjxkfjMCGflTy tuV4jAKTWhYvNTsg8QaeHJMxdWwBlgtE0AH7sP1Cw5dGUFxMCYlVzXb9u96XI/LM8iOLKBBcU CY1iiIsJGhswVk9dgid4K84u3cCIzDPs0ia1Cg/v7KNmWkSWOvJn4/0eB3aBML+LOX/x2ricX cWLSd3XbwmvNeZhsfoJrpbZnxe30/R9W3RWhfX1iP4icBfRRwfgf3SHbI415nk2bxqDc4xqI7 oOXN8dxE7/1GmxH1EVb12Q65x3+r1j/MbTIBU9zAHKYLh3+ZOJsnrz3xvr5dZNTFtAUYstzpZ bOzr9AMiThf9DtsVQai3iBI8DQy2PAXNsRvlvRWubboUeEfGcbrFmah+TRYiMvq9c/kgm948Y av5P3tp2gSZz0CkFahlE5C4OomkmKyznaRxsAwAijoj/2XPJKHWm6GQYH+d/7UNMK1pVD9Rsu 4Ia+VcY6Xmdvzz9tvxv66I2iFL+YRFiEjjtkZZ6oJjg5pmxuhQDPQmio+d3ATyaq+8zaGnR4J ZFD8qPJOXga6xk+Kp7W8qCVZVXSY97NlTCyZmL8fzki90juzQPSf+VQZUcpiAq4bnl4z1jYi0 SgP4S4AUbg2l0Z5v Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2375 Lines: 62 On Tuesday 01 December 2015 03:40:09 Yury Norov wrote: > On Mon, Nov 30, 2015 at 10:49:43PM +0100, Arnd Bergmann wrote: > > > > Could we try to get consensus on how the syscall ABI should look > > before you start adapting glibc to another intermediate version? > > I think that would also save you duplicate work, as it's always > > possible that we misunderstand each other in the review. Also, > > when someone asks you questions during a review, please reply to > > those questions so we can get a common understanding of the facts > > and document that in the mail archives. > > > > Arnd > > This is full syscall table for ILP32, how it looks right now. > I collected all comments here and do rework according it. > Any comments? It might be easier to start the other way round: rather than annotating the things that might be wrong, remove all the overrides and add back only the 64-bit syscalls that we want instead of the 32-bit variants when you find that they are absolutely needed. > [0] = compat_sys_io_setup, > [1] = sys_io_destroy, > [2] = compat_sys_io_submit, > [3] = sys_io_cancel, > [4] = sys_io_getevents, wrong timespec_t and aio_context_t here > [5] = sys_setxattr, > [6] = sys_lsetxattr, > [7] = sys_fsetxattr, > [8] = sys_getxattr, > [9] = sys_lgetxattr, > [10] = sys_fgetxattr, > [11] = sys_listxattr, > [12] = sys_llistxattr, > [13] = sys_flistxattr, > [14] = sys_removexattr, > [15] = sys_lremovexattr, > [16] = sys_fremovexattr, > [17] = sys_getcwd, > [18] = sys_lookup_dcookie, > [19] = sys_eventfd2, > [20] = sys_epoll_create1, > [21] = sys_epoll_ctl, > [22] = sys_epoll_pwait, way round: takes sigset_t check BE > [23] = sys_dup, > [24] = sys_dup3, > [25] = compat_sys_fcntl, uses compat_off_t, not compat_loff_t > [26] = sys_inotify_init1, > [27] = sys_inotify_add_watch, I was looking for your latest arch/arm64/kernel/sys_ilp32.c version. I'm not that interested in the ones that are just using the normal compat API, just the ones that you still think we have to override, and why that override is required. 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/