From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: Remove execution domain support v2 Date: Sun, 12 Apr 2015 15:57:25 -0700 Message-ID: <552AF855.8070407@roeck-us.net> References: <1428785283-20501-1-git-send-email-richard@nod.at> <552ADC1D.5050206@nod.at> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <552ADC1D.5050206@nod.at> Sender: linux-kernel-owner@vger.kernel.org To: Richard Weinberger , linux-arch@vger.kernel.org Cc: linux-kernel@vger.kernel.org, rth@twiddle.net, ink@jurassic.park.msu.ru, mattst88@gmail.com, vgupta@synopsys.com, linux@arm.linux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, hskinnemoen@gmail.com, egtvedt@samfundet.no, realmz6@gmail.com, msalter@redhat.com, a-jacquiot@ti.com, starvik@axis.com, jesper.nilsson@axis.com, dhowells@redhat.com, rkuo@codeaurora.org, tony.luck@intel.com, fenghua.yu@intel.com, geert@linux-m68k.org, james.hogan@imgtec.com, monstr@monstr.eu, ralf@linux-mips.org, yasutake.koichi@jp.panasonic.com, lftan@altera.com, jonas@southpole.se, jejb@parisc-linux.org, deller@gmx.de, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, liqin.linux@gmail.com, lennox.wu@gmail.com, davem@davemloft.net, cmetcalf@ezchip.com, jdike@addtoit.com, akpm@linux-foundation.org, oleg@redhat.com, hch@inf List-Id: linux-arch.vger.kernel.org On 04/12/2015 01:57 PM, Richard Weinberger wrote: > This is v2 of the exec domain removal series I've posted yesterday: > https://lkml.org/lkml/2015/4/11/181 > I've omitted resending all patches again to lower the churn on LKML. > > The whole series can be found at: > git://git.kernel.org/pub/scm/linux/kernel/git/rw/misc.git exec_domain_rip_v2 > > Changes since v1: > - Fixed sparc and xtensa thread info offsets > Special thanks to Guenter Roeck for reporting and testing! > - Fixed an unused variable on arm > Thanks to Stephen Rothwell! > - Added David Millers ACK > > Stephen, can you please add the tree to -next? > > Original description: > > A long time ago there was the idea to support different ABIs on Linux > Such that someone could use for example SCO UNIX binaries on Linux > without emulation. While the linux-abi project existed mostly as > out-of-tree patch it's core component, execution domains, > went mainline. An execution domain allows to specify mappings between > different ABIs, these mappings consist of signal, error, socket type, > socket options and addess familiy mappings. > Mainline has only support for signal mappings. > The signal mapping happens in the architecutre specific signal code. > Some archs support it, some not, most of them copy&pasted from i386. > > While the mapping support is incomplete we have two in-kernel users of > execution domains. > > 1. RISC OS personality on ARM. > The Kconfig help message states that this feature is very experimental > and it is likely that it never worked as expected. > Russel is fine with the removal. > > 2. ia32 support on ia64. > This is a left over from: > commit 32974ad4907cdde6c9de612cd1b2ee0568fb9409 ([IA64] Remove COMPAT_IA32 support) > It registers a dummy Linux/x86 execdomain to make calls to > personality(PER_LINUX32) faster as the execution domain core code > would try to load a module. > > As both users can be removed there is no user left and we can remove > execution domains support at all from the kernel. > The removal will make architecutre specific signal handling easier > and there is no need to keep execuction domains as this feature is > obviously incomplete and abandoned. > > Guenter Roeck (1): > sparc: Fix execution domain removal > > Richard Weinberger (25): > arm: Remove RISC OS personality > ia64: Remove Linux/x86 exec domain support > Remove execution domain support > arm: Remove signal translation and exec_domain > arm64: Remove signal translation and exec_domain > blackfin: Autogenerate offsets in struct thread_info > blackfin: Remove exec_domain usage > frv: Remove signal translation and exec_domain > m32r: Autogenerate offsets in struct thread_info > m32r: Remove signal translation and exec_domain > m68k: Remove signal translation and exec_domain > microblaze: Remove signal translation and exec_domain > mn10300: Remove signal translation and exec_domain > s390: Remove signal translation and exec_domain > sh: Remove signal translation and exec_domain > sparc: Remove signal translation and exec_domain > tile: Remove signal translation and exec_domain > um: Remove signal translation and exec_domain > unicore32: Remove signal translation and exec_domain > x86: Remove signal translation and exec_domain > xtensa: Autogenerate offsets in struct thread_info > xtensa: Remove signal translation and exec_domain > arc: Remove signal translation and exec_domain > arch: Remove exec_domain from remaining archs > Remove rest of exec domains. > Looking good this time. Build results: total: 121 pass: 121 fail: 0 Qemu test results: total: 30 pass: 30 fail: 0 Guenter From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bh-25.webhostbox.net ([208.91.199.152]:56380 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752221AbbDLXAn (ORCPT ); Sun, 12 Apr 2015 19:00:43 -0400 Received: from mailnull by bh-25.webhostbox.net with sa-checked (Exim 4.82) (envelope-from ) id 1YhQrr-000e68-4Q for linux-arch@vger.kernel.org; Sun, 12 Apr 2015 23:00:43 +0000 Message-ID: <552AF855.8070407@roeck-us.net> Date: Sun, 12 Apr 2015 15:57:25 -0700 From: Guenter Roeck MIME-Version: 1.0 Subject: Re: Remove execution domain support v2 References: <1428785283-20501-1-git-send-email-richard@nod.at> <552ADC1D.5050206@nod.at> In-Reply-To: <552ADC1D.5050206@nod.at> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Richard Weinberger , linux-arch@vger.kernel.org Cc: linux-kernel@vger.kernel.org, rth@twiddle.net, ink@jurassic.park.msu.ru, mattst88@gmail.com, vgupta@synopsys.com, linux@arm.linux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, hskinnemoen@gmail.com, egtvedt@samfundet.no, realmz6@gmail.com, msalter@redhat.com, a-jacquiot@ti.com, starvik@axis.com, jesper.nilsson@axis.com, dhowells@redhat.com, rkuo@codeaurora.org, tony.luck@intel.com, fenghua.yu@intel.com, geert@linux-m68k.org, james.hogan@imgtec.com, monstr@monstr.eu, ralf@linux-mips.org, yasutake.koichi@jp.panasonic.com, lftan@altera.com, jonas@southpole.se, jejb@parisc-linux.org, deller@gmx.de, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, liqin.linux@gmail.com, lennox.wu@gmail.com, davem@davemloft.net, cmetcalf@ezchip.com, jdike@addtoit.com, akpm@linux-foundation.org, oleg@redhat.com, hch@infradead.org, viro@zeniv.linux.org.uk, torvalds@linux-foundation.org, "sfr@canb.auug.org.au" Message-ID: <20150412225725.NVuRazBPAHBbUyLS4nliWIrSYndBer099OaLdovccpk@z> On 04/12/2015 01:57 PM, Richard Weinberger wrote: > This is v2 of the exec domain removal series I've posted yesterday: > https://lkml.org/lkml/2015/4/11/181 > I've omitted resending all patches again to lower the churn on LKML. > > The whole series can be found at: > git://git.kernel.org/pub/scm/linux/kernel/git/rw/misc.git exec_domain_rip_v2 > > Changes since v1: > - Fixed sparc and xtensa thread info offsets > Special thanks to Guenter Roeck for reporting and testing! > - Fixed an unused variable on arm > Thanks to Stephen Rothwell! > - Added David Millers ACK > > Stephen, can you please add the tree to -next? > > Original description: > > A long time ago there was the idea to support different ABIs on Linux > Such that someone could use for example SCO UNIX binaries on Linux > without emulation. While the linux-abi project existed mostly as > out-of-tree patch it's core component, execution domains, > went mainline. An execution domain allows to specify mappings between > different ABIs, these mappings consist of signal, error, socket type, > socket options and addess familiy mappings. > Mainline has only support for signal mappings. > The signal mapping happens in the architecutre specific signal code. > Some archs support it, some not, most of them copy&pasted from i386. > > While the mapping support is incomplete we have two in-kernel users of > execution domains. > > 1. RISC OS personality on ARM. > The Kconfig help message states that this feature is very experimental > and it is likely that it never worked as expected. > Russel is fine with the removal. > > 2. ia32 support on ia64. > This is a left over from: > commit 32974ad4907cdde6c9de612cd1b2ee0568fb9409 ([IA64] Remove COMPAT_IA32 support) > It registers a dummy Linux/x86 execdomain to make calls to > personality(PER_LINUX32) faster as the execution domain core code > would try to load a module. > > As both users can be removed there is no user left and we can remove > execution domains support at all from the kernel. > The removal will make architecutre specific signal handling easier > and there is no need to keep execuction domains as this feature is > obviously incomplete and abandoned. > > Guenter Roeck (1): > sparc: Fix execution domain removal > > Richard Weinberger (25): > arm: Remove RISC OS personality > ia64: Remove Linux/x86 exec domain support > Remove execution domain support > arm: Remove signal translation and exec_domain > arm64: Remove signal translation and exec_domain > blackfin: Autogenerate offsets in struct thread_info > blackfin: Remove exec_domain usage > frv: Remove signal translation and exec_domain > m32r: Autogenerate offsets in struct thread_info > m32r: Remove signal translation and exec_domain > m68k: Remove signal translation and exec_domain > microblaze: Remove signal translation and exec_domain > mn10300: Remove signal translation and exec_domain > s390: Remove signal translation and exec_domain > sh: Remove signal translation and exec_domain > sparc: Remove signal translation and exec_domain > tile: Remove signal translation and exec_domain > um: Remove signal translation and exec_domain > unicore32: Remove signal translation and exec_domain > x86: Remove signal translation and exec_domain > xtensa: Autogenerate offsets in struct thread_info > xtensa: Remove signal translation and exec_domain > arc: Remove signal translation and exec_domain > arch: Remove exec_domain from remaining archs > Remove rest of exec domains. > Looking good this time. Build results: total: 121 pass: 121 fail: 0 Qemu test results: total: 30 pass: 30 fail: 0 Guenter