All of lore.kernel.org
 help / color / mirror / Atom feed
* Remove execution domain support
@ 2015-04-11 20:47 ` Richard Weinberger
  0 siblings, 0 replies; 88+ messages in thread
From: Richard Weinberger @ 2015-04-11 20:47 UTC (permalink / raw)
  To: linux-arch
  Cc: linux-kernel, rth, ink, mattst88, vgupta, linux, catalin.marinas,
	will.deacon, hskinnemoen, egtvedt, realmz6, msalter, a-jacquiot,
	starvik, jesper.nilsson, dhowells, rkuo, tony.luck, fenghua.yu,
	geert, james.hogan, monstr, ralf, yasutake.koichi, lftan, jonas,
	jejb, deller, benh, paulus, mpe, schwidefsky, heiko.carstens,
	liqin.linux, lennox.wu, davem, cmetcalf, jdike, akpm, oleg, hch,
	viro, torvalds

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.

[PATCH 01/24] arm: Remove RISC OS personality
[PATCH 02/24] ia64: Remove Linux/x86 exec domain support
[PATCH 03/24] Remove execution domain support
[PATCH 04/24] arm: Remove signal translation and exec_domain
[PATCH 05/24] arm64: Remove signal translation and exec_domain
[PATCH 06/24] blackfin: Autogenerate offsets in struct thread_info
[PATCH 07/24] blackfin: Remove exec_domain usage
[PATCH 08/24] frv: Remove signal translation and exec_domain
[PATCH 09/24] m32r: Autogenerate offsets in struct thread_info
[PATCH 10/24] m32r: Remove signal translation and exec_domain
[PATCH 11/24] m68k: Remove signal translation and exec_domain
[PATCH 12/24] microblaze: Remove signal translation and exec_domain
[PATCH 13/24] mn10300: Remove signal translation and exec_domain
[PATCH 14/24] s390: Remove signal translation and exec_domain
[PATCH 15/24] sh: Remove signal translation and exec_domain
[PATCH 16/24] sparc: Remove signal translation and exec_domain
[PATCH 17/24] tile: Remove signal translation and exec_domain
[PATCH 18/24] um: Remove signal translation and exec_domain
[PATCH 19/24] unicore32: Remove signal translation and exec_domain
[PATCH 20/24] x86: Remove signal translation and exec_domain
[PATCH 21/24] xtensa: Remove signal translation and exec_domain
[PATCH 22/24] arc: Remove signal translation and exec_domain
[PATCH 23/24] arch: Remove exec_domain from remaining archs
[PATCH 24/24] Remove rest of exec domains.

git://git.kernel.org/pub/scm/linux/kernel/git/rw/misc.git exec_domain_rip_v1

Thanks,
//richard

^ permalink raw reply	[flat|nested] 88+ messages in thread

end of thread, other threads:[~2015-04-14  7:49 UTC | newest]

Thread overview: 88+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-11 20:47 Remove execution domain support Richard Weinberger
2015-04-11 20:47 ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 01/24] arm: Remove RISC OS personality Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 02/24] ia64: Remove Linux/x86 exec domain support Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 03/24] Remove execution " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 04/24] arm: Remove signal translation and exec_domain Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 05/24] arm64: " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-13 13:52   ` Thierry Reding
2015-04-13 13:52     ` Thierry Reding
2015-04-11 20:47 ` [PATCH 06/24] blackfin: Autogenerate offsets in struct thread_info Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 07/24] blackfin: Remove exec_domain usage Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 08/24] frv: Remove signal translation and exec_domain Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 09/24] m32r: Autogenerate offsets in struct thread_info Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 10/24] m32r: Remove signal translation and exec_domain Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 11/24] m68k: " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-14  7:48   ` Geert Uytterhoeven
2015-04-14  7:48     ` Geert Uytterhoeven
2015-04-11 20:47 ` [PATCH 12/24] microblaze: " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 13/24] mn10300: " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 14/24] s390: " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 15/24] sh: " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 16/24] sparc: " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 17/24] tile: " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 18/24] um: " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 19/24] unicore32: " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:47 ` [PATCH 20/24] x86: " Richard Weinberger
2015-04-11 20:47   ` Richard Weinberger
2015-04-11 20:48 ` [PATCH 21/24] xtensa: " Richard Weinberger
2015-04-11 20:48   ` Richard Weinberger
2015-04-11 20:48 ` [PATCH 22/24] arc: " Richard Weinberger
2015-04-11 20:48   ` Richard Weinberger
2015-04-11 20:48 ` [PATCH 23/24] arch: Remove exec_domain from remaining archs Richard Weinberger
2015-04-11 20:48   ` Richard Weinberger
2015-04-13  8:19   ` Jesper Nilsson
2015-04-13  8:19     ` Jesper Nilsson
2015-04-13 16:57   ` Hans-Christian Egtvedt
2015-04-13 16:57     ` Hans-Christian Egtvedt
2015-04-11 20:48 ` [PATCH 24/24] Remove rest of exec domains Richard Weinberger
2015-04-11 20:48   ` Richard Weinberger
2015-04-11 20:52 ` Remove execution domain support Linus Torvalds
2015-04-11 20:52   ` Linus Torvalds
2015-04-11 21:04   ` Al Viro
2015-04-11 21:04     ` Al Viro
2015-04-11 21:08     ` Richard Weinberger
2015-04-11 21:08       ` Richard Weinberger
2015-04-11 21:12   ` Richard Weinberger
2015-04-11 21:12     ` Richard Weinberger
2015-04-11 22:31     ` David Miller
2015-04-11 22:31       ` David Miller
2015-04-11 23:25     ` Benjamin Herrenschmidt
2015-04-11 23:25       ` Benjamin Herrenschmidt
2015-04-11 23:30   ` Stephen Rothwell
2015-04-11 23:30     ` Stephen Rothwell
2015-04-12  0:06     ` Stephen Rothwell
2015-04-12  0:06       ` Stephen Rothwell
2015-04-12  2:03 ` Guenter Roeck
2015-04-12 20:57 ` Remove execution domain support v2 Richard Weinberger
2015-04-12 20:57   ` Richard Weinberger
2015-04-12 21:13   ` Stephen Rothwell
2015-04-12 21:13     ` Stephen Rothwell
2015-04-12 21:17     ` Richard Weinberger
2015-04-12 21:17       ` Richard Weinberger
2015-04-12 21:56       ` Linus Torvalds
2015-04-12 21:56         ` Linus Torvalds
2015-04-12 22:06         ` Richard Weinberger
2015-04-12 22:06           ` Richard Weinberger
2015-04-12 22:57   ` Guenter Roeck
2015-04-12 22:57     ` Guenter Roeck
2015-04-14  1:21 ` Remove execution domain support Andy Lutomirski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.