Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934230AbbLPQIR (ORCPT ); Wed, 16 Dec 2015 11:08:17 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:50776 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934065AbbLPQIP (ORCPT ); Wed, 16 Dec 2015 11:08:15 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Yury Norov , catalin.marinas@arm.com, linux-kernel@vger.kernel.org, pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, broonie@kernel.org, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, Andrew Pinski , jan.dakinevich@gmail.com, Andrew Pinski , ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, joseph@codesourcery.com, christoph.muellner@theobroma-systems.com Subject: Re: [PATCH v6 12/20] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it Date: Wed, 16 Dec 2015 17:07:15 +0100 Message-ID: <3828111.AFlzLO4Qgd@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1450215766-14765-13-git-send-email-ynorov@caviumnetworks.com> References: <1450215766-14765-1-git-send-email-ynorov@caviumnetworks.com> <1450215766-14765-13-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:Z4OuP1WCZBd2IcQJGx2ZfqOf14F+EQjqkKp2KSwwP1uJK7aogya SoI1WX/1qQF0t5nwYzHdEP449CuDrHzN/802K+Mp1EIAlumXEWmAL/h4qlVQqHMVUZvULS2 cQOo2bPgJOfKkAJjKXlOUfehgRkVVuKaO9tftWiqfaLiatImgAwQTETZ0dupfhop6+09xdk AOFuHKNcUoGP1FzssCQJQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:ngmkqkEh/DM=:t4v6tyIWHm5gMqJUlVMrA6 a2TQw5m6LhjhuvxX85bCYGmZSrDQw7NSdU6MJ4SanzH7phXKCKLQQ9PpOz1qU++98qHtNXiV3 cP/Fk/QhK/fbAioVANA2BhaaccU23j0R2Y/RUzcRN8gdWOOGkLWXb6ERXYcpbyWWzmObeCc3l uupdYmqxFSlvFC2+EPvYmKSMo+wFwpohVScX9XmP8mRQU5RRSW3+yquviyZfl9pBNWnKwIqGF ZXPgTXit5V9cV2gWKkIg23KehKjJ4EIIGieVMFqI4mj9unkaZhLWtCjFIXpPV+phTbQr3GkLC Jc7snjKUhk1S//3xt36ltObQ7xbTMTSyJc0fdoBbcczth1ft3SDJdAQXdqk4iRw3dVLgjowj+ pdMxtWPg3EpmBGDBvIl4RVk4cUZwtCDCvzTlRQ1qs6KB5fHiCKHp/96q0k/py7Htdn/7Ew+H6 F/WQ4BXPTod9m9faaI42lYM6hyvSFEfkiUiFi78CUg72zpyXGL6NLnOYb4nPzRKqxdZ2fLCaj yCowKLg+e71+GSD4UiYA+H3yj01MIoYshL1EOOMqlMHo81Q4AF4w1svL/UdXiRwGOHjA9hING 6VuDdDoekFGvkEacnK9tRljb8maj8SVQ+x/sNBSXqrjJDTWvcL18rvkXrgklvzUM2X0odwMvX LkFLGF3vvXGOpvAU5WvSskyY+O5M6uUdaEwYFWsX1aU/J6dc1Ikni77ZJW98AnfdvRJ76m8O+ ZzTaofUhz12zTqc+ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1618 Lines: 36 On Wednesday 16 December 2015 00:42:38 Yury Norov wrote: > +/* Using non-compat syscalls where necessary */ > +#define compat_sys_fadvise64_64 sys_fadvise64_64 > +#define compat_sys_fallocate sys_fallocate > +#define compat_sys_ftruncate64 sys_ftruncate > +#define compat_sys_lookup_dcookie sys_lookup_dcookie > +#define compat_sys_pread64 sys_pread64 > +#define compat_sys_pwrite64 sys_pwrite64 > +#define compat_sys_readahead sys_readahead > +#define compat_sys_shmat sys_shmat > +#define compat_sys_sigaltstack sys_sigaltstack > +#define compat_sys_sync_file_range sys_sync_file_range > +#define compat_sys_truncate64 sys_truncate > +#define sys_llseek sys_lseek > + > +#define compat_sys_open_by_handle_at sys_open_by_handle_at > +#define compat_sys_openat sys_openat Very nice and short list now! I've double-checked all calls and the only one I'm not sure about is sys_sigaltstack. Did we discuss that one earlier? My first guess would be that it's easier to use the compat version of that. I would probably also group sys_shmat with sys_openat, because it's different from the other ones in the first block as this is not about passing 64-bit arguments as registers, but instead it's about the behavior of the system call. 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/