David Howells
3cb0eab2db
UAPI: (Scripted) Disintegrate arch/microblaze/include/asm
...
Signed-off-by: David Howells <dhowells@redhat.com >
Acked-by: Arnd Bergmann <arnd@arndb.de >
Acked-by: Thomas Gleixner <tglx@linutronix.de >
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com >
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com >
Acked-by: Dave Jones <davej@redhat.com >
2012-12-13 14:38:55 +01:00
Jiri Kosina
16f3e95b32
cross-arch: don't corrupt personality flags upon exec()
...
Historically, the top three bytes of personality have been used for
things such as ADDR_NO_RANDOMIZE, which made sense only for specific
architectures.
We now however have a flag there that is general no matter the
architecture (UNAME26); generally we have to be careful to preserve the
personality flags across exec().
This patch tries to fix all architectures that forcefully overwrite
personality flags during exec() (ppc32 and s390 have been fixed recently
by commits f9783ec862
("[S390] Do not clobber personality flags on
exec") and 59e4c3a2fe
("powerpc/32: Don't clobber personality flags on
exec") in a similar way already).
Signed-off-by: Jiri Kosina <jkosina@suse.cz >
Cc: Haavard Skinnemoen <hskinnemoen@gmail.com >
Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no >
Cc: Mike Frysinger <vapier@gentoo.org >
Cc: Mark Salter <msalter@redhat.com >
Cc: Mikael Starvik <starvik@axis.com >
Cc: Jesper Nilsson <jesper.nilsson@axis.com >
Cc: David Howells <dhowells@redhat.com >
Cc: Yoshinori Sato <ysato@users.sourceforge.jp >
Cc: Richard Kuo <rkuo@codeaurora.org >
Cc: Hirokazu Takata <takata@linux-m32r.org >
Cc: Geert Uytterhoeven <geert@linux-m68k.org >
Cc: Michal Simek <monstr@monstr.eu >
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com >
Cc: Jonas Bonn <jonas@southpole.se >
Cc: Chen Liqin <liqin.chen@sunplusct.com >
Cc: Lennox Wu <lennox.wu@gmail.com >
Cc: Paul Mundt <lethal@linux-sh.org >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Chris Zankel <chris@zankel.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2012-10-06 03:04:47 +09:00
Edgar E. Iglesias
69515f8b95
microblaze: Switch ELF_ARCH code to 189
...
Switch arch code to 189, the registered code in the upstream
version of binutils. Continue to accept the experimental 0xbaab.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2011-10-14 12:24:31 +02:00
Michal Simek
02b08045a0
microblaze: Add support for little-endian Microblaze
...
Microblaze little-endian toolchain exports __MICROBLAZEEL__
which is used in the kernel to identify little/big endian.
The most of the changes are in loading values from DTB which
is always big endian.
Little endian platforms are based on new AXI bus which has
impact to early uartlite initialization.
Signed-off-by: Michal Simek <monstr@monstr.eu >
2010-10-21 15:51:59 +10:00
Steven J. Magnani
ba9c4f88d7
microblaze: Allow PAGE_SIZE configuration
...
Allow developer to configure memory page size at compile time.
Larger pages can improve performance on some workloads.
Based on PowerPC code.
Signed-off-by: Steven J. Magnani <steve@digidescorp.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2010-08-04 10:22:34 +02:00
Christoph Hellwig
698ba7b5a3
elf: kill USE_ELF_CORE_DUMP
...
Currently all architectures but microblaze unconditionally define
USE_ELF_CORE_DUMP. The microblaze omission seems like an error to me, so
let's kill this ifdef and make sure we are the same everywhere.
Signed-off-by: Christoph Hellwig <hch@lst.de >
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk >
Cc: <linux-arch@vger.kernel.org >
Cc: Michal Simek <michal.simek@petalogix.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-12-16 07:20:12 -08:00
Michal Simek
e57a221f15
microblaze_mmu_v2: Elf update
...
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-05-26 16:45:23 +02:00
Michal Simek
c6087fdc77
microblaze_v8: headers for executables format FLAT, ELF
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:34 +01:00