Andrea Gelmini
2547476a5e
Fix typos
...
Signed-off-by: Andrea Gelmini <[email protected] >
Signed-off-by: Vineet Gupta <[email protected] >
2016-05-30 10:07:32 +05:30
Vineet Gupta
1f6ccfff63
ARCv2: Support for ARCv2 ISA and HS38x cores
...
The notable features are:
- SMP configurations of upto 4 cores with coherency
- Optional L2 Cache and IO-Coherency
- Revised Interrupt Architecture (multiple priorites, reg banks,
auto stack switch, auto regfile save/restore)
- MMUv4 (PIPT dcache, Huge Pages)
- Instructions for
* 64bit load/store: LDD, STD
* Hardware assisted divide/remainder: DIV, REM
* Function prologue/epilogue: ENTER_S, LEAVE_S
* IRQ enable/disable: CLRI, SETI
* pop count: FFS, FLS
* SETcc, BMSKN, XBFU...
Signed-off-by: Vineet Gupta <[email protected] >
2015-06-22 14:06:55 +05:30
Richard Weinberger
e6de3ca91c
arc: Remove signal translation and exec_domain
...
As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.
Signed-off-by: Richard Weinberger <[email protected] >
2015-04-12 21:03:30 +02:00
Andy Lutomirski
f56141e3e2
all arches, signal: move restart_block to struct task_struct
...
If an attacker can cause a controlled kernel stack overflow, overwriting
the restart block is a very juicy exploit target. This is because the
restart_block is held in the same memory allocation as the kernel stack.
Moving the restart block to struct task_struct prevents this exploit by
making the restart_block harder to locate.
Note that there are other fields in thread_info that are also easy
targets, at least on some architectures.
It's also a decent simplification, since the restart code is more or less
identical on all architectures.
[[email protected] : metag: align thread_info::supervisor_stack]
Signed-off-by: Andy Lutomirski <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Al Viro <[email protected] >
Cc: "H. Peter Anvin" <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Kees Cook <[email protected] >
Cc: David Miller <[email protected] >
Acked-by: Richard Weinberger <[email protected] >
Cc: Richard Henderson <[email protected] >
Cc: Ivan Kokshaysky <[email protected] >
Cc: Matt Turner <[email protected] >
Cc: Vineet Gupta <[email protected] >
Cc: Russell King <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Haavard Skinnemoen <[email protected] >
Cc: Hans-Christian Egtvedt <[email protected] >
Cc: Steven Miao <[email protected] >
Cc: Mark Salter <[email protected] >
Cc: Aurelien Jacquiot <[email protected] >
Cc: Mikael Starvik <[email protected] >
Cc: Jesper Nilsson <[email protected] >
Cc: David Howells <[email protected] >
Cc: Richard Kuo <[email protected] >
Cc: "Luck, Tony" <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Jonas Bonn <[email protected] >
Cc: "James E.J. Bottomley" <[email protected] >
Cc: Helge Deller <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Paul Mackerras <[email protected] >
Acked-by: Michael Ellerman <[email protected] > (powerpc)
Tested-by: Michael Ellerman <[email protected] > (powerpc)
Cc: Martin Schwidefsky <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Chen Liqin <[email protected] >
Cc: Lennox Wu <[email protected] >
Cc: Chris Metcalf <[email protected] >
Cc: Guan Xuetao <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: Max Filippov <[email protected] >
Cc: Oleg Nesterov <[email protected] >
Cc: Guenter Roeck <[email protected] >
Signed-off-by: James Hogan <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2015-02-12 18:54:12 -08:00
Vineet Gupta
be64c997d9
ARC: remove extraneous __KERNEL__ guards
...
Verified by doing make headers_install as none of these files are
exported to userspace
2014-10-13 14:46:20 +05:30
Thomas Gleixner
00d1a39e69
preempt: Make PREEMPT_ACTIVE generic
...
No point in having this bit defined by architecture.
Signed-off-by: Thomas Gleixner <[email protected] >
Acked-by: Peter Zijlstra <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
2013-11-13 20:21:47 +01:00
Vineet Gupta
3be80aaef8
ARC: Fundamental ARCH data-types/defines
...
* L1_CACHE_SHIFT
* PAGE_SIZE, PAGE_OFFSET
* struct pt_regs, struct user_regs_struct
* struct thread_struct, cpu_relax(), task_pt_regs(), start_thread(), ...
* struct thread_info, THREAD_SIZE, INIT_THREAD_INFO(), TIF_*, ...
* BUG()
* ELF_*
* Elf_*
To disallow user-space visibility into some of the core kernel data-types
such as struct pt_regs, #ifdef __KERNEL__ which also makes the UAPI header
spit (further patch in the series) to NOT export it to asm/uapi/ptrace.h
Signed-off-by: Vineet Gupta <[email protected] >
Cc: Jonas Bonn <[email protected] >
Cc: Al Viro <[email protected] >
Acked-by: Arnd Bergmann <[email protected] >
2013-02-11 20:00:34 +05:30