From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Sat, 10 Dec 2011 00:22:43 +0100 (CET) Received: from moutng.kundenserver.de ([212.227.126.186]:57213 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1903744Ab1LIXWg (ORCPT ); Sat, 10 Dec 2011 00:22:36 +0100 Received: from wuerfel.localnet (port-92-200-84-125.dynamic.qsc.de [92.200.84.125]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LblNw-1QsA2q09pc-00jXBD; Sat, 10 Dec 2011 00:21:49 +0100 From: Arnd Bergmann To: Andrew Morton Cc: Chris Metcalf , Ralf Baechle , Benjamin Herrenschmidt , Paul Mackerras , Martin Schwidefsky , Heiko Carstens , linux390@de.ibm.com, "David S. Miller" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, "Eric W. Biederman" , Christoph Hellwig , Lucas De Marchi , Dmitry Torokhov , "J. Bruce Fields" , NeilBrown , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org Subject: Re: [PATCH v2] ipc: provide generic compat versions of IPC syscalls Date: Sat, 10 Dec 2011 00:21:35 +0100 Message-ID: <1690400.7yOAjHVqTH@wuerfel> User-Agent: KMail/4.7.2 (Linux/3.1.0-rc8nosema+; KDE/4.7.2; x86_64; ; ) In-Reply-To: <20111209134852.f5b5bcbc.akpm@linux-foundation.org> References: <201112091536.pB9Fa5f7002738@farm-0002.internal.tilera.com> <201112091903.pB9J39pd031553@farm-0002.internal.tilera.com> <20111209134852.f5b5bcbc.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V02:K0:/15MQ54WxZ/BuawCVfAT2GidHxMZcpVi5BanFd0QBCc Zd45DWJOnZ6RritkMak2rkAPnsxFUHt18OrYd7I3dWSm5c+vYT EK2DRbdPqHzyex8Hya3ropKP72s2P74h2HyxRR7YGpm9MQcppr iG5zjpraZIS4yNsePCRHQ2s3WbDnMN2yBhaGpweC3WO0LomrxH +2eMs4mZsI7bo52wEEw7nnDqGclXQKPl1yuuG/89VLUfsQmcrL 9A/qXsUHnG2nPZCcan6apdxrtyMggzq7moOu8e6SsTISmVpszZ trS3YoI4kwCnxw32z5iyCEumVT8bG2LGPiHTxParLcaBf4QPIS iQTjBpKG6+wKBVFR8tJc= X-archive-position: 32079 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: arnd@arndb.de Precedence: bulk X-list: linux-mips Return-Path: X-Keywords: X-UID: 8152 On Friday 09 December 2011 13:48:52 Andrew Morton wrote: > What would we need to do to get all architectures using the new > interfaces, and remove __ARCH_WANT_OLD_COMPAT_IPC? We would change the various compat_sys_ipc functions (mips, powerpc, s390, sparc, x86) to call the new functions instead of the existing ones, and test each architecture. For parisc, we might not actually need the either version, but I'd have to take a closer look to be sure. > Regarding the implementation: rather than patching the header > files, it would be more conventional (and arguably better) to add > > select ARCH_WANT_OLD_COMPAT_IPC > > to arch/*/Kconfig, then use CONFIG_ARCH_WANT_OLD_COMPAT_IPC. Yes. Arnd