aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Merge branch 'arch-s390' into no-rebasesAl Viro2012-11-16
|\
| * s390: switch to saner kernel_execve() semanticsAl Viro2012-10-29
| | | | | | | | | | Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* | Merge branch 'arch-hexagon' into no-rebasesAl Viro2012-11-16
|\ \
| * | hexagon: switch to generic sys_execve()Al Viro2012-10-23
| | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | hexagon: kernel_thread()/kernel_execve() conversionAl Viro2012-10-23
| |/ | | | | | | | | | | introduce sane current_pt_regs(), use it in syscalls where needed. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* | Merge branch 'arch-tile' into no-rebasesAl Viro2012-11-16
|\ \
| * | tile: sanitize copy_thread()Al Viro2012-10-25
| | | | | | | | | | | | | | | Acked-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | arch/tile: eliminate pt_regs trampolines for syscallsChris Metcalf2012-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the new current_pt_regs() model, we can remove some trampolines from assembly code and call directly to the C syscall implementations. rt_sigreturn() and clone() still need some assembly wrapping, but no longer are passed a pt_regs pointer. sigaltstack() and the tilepro-specific cmpxchg_badaddr() syscalls are now just straight C. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
| * | tile: switch to generic sys_execve()Al Viro2012-10-23
| | | | | | | | | | | | | | | Acked-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | tile: support GENERIC_KERNEL_THREAD and GENERIC_KERNEL_EXECVEChris Metcalf2012-10-20
| | | | | | | | | | | | | | | | | | | | | Also provide an optimized current_pt_regs() while we're at it. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | Drop struct pt_regs * argument in compat_sys_execve()Al Viro2012-10-20
| | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* | | Merge branch 'arch-parisc' into no-rebasesAl Viro2012-11-16
|\ \ \
| * | | parisc: switch to saner kernel_execve() semanticsAl Viro2012-10-21
| | | | | | | | | | | | | | | | | | | | ACKed-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | | parisc: optimizations in copy_thread() and friendsAl Viro2012-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * in user thread case the registers had been copied as part of task_struct already; no need to do it in copy_thread(). * no need to store kernel stack pointer into regs->r21; we know its offset anyway. * no need to clobber r3 in sys_fork_wrapper and friends - r28 will do just as well and *it* will be overwritten anyway. * no need to mess with storing the return address for child - it should just use syscall_exit. * no need to bother with separate stack frame for sys_clone() - just branch there and be done with that. * no need to bother with wrapper_exit - we need it only on the child_return, so let's just do it there. * use the same ksp for kernel threads and userland ones, while we are at it, and let ret_from_kernel_execve() go through the normal syscall_exit. More straightforward is better here... [fixes from jejb folded] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | | parisc: switch to generic sys_execve()Al Viro2012-10-14
| | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | | parisc: switch to generic kernel_execve()Al Viro2012-10-14
| | | | | | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | | parisc: switch to generic kernel_thread()Al Viro2012-10-14
| | |/ | |/| | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* | | Merge branch 'arch-ia64' into no-rebasesAl Viro2012-11-16
|\ \ \
| * | | ia64: switch to generic sys_execve()Al Viro2012-10-19
| | | | | | | | | | | | | | | | | | | | | | | | Acked-by: Tony Luck <tony.luck@intel.com> Tested-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | | ia64: switch to generic kernel_thread()/kernel_execve()Al Viro2012-10-19
| | | | | | | | | | | | | | | | | | | | | | | | Acked-by: Tony Luck <tony.luck@intel.com> Tested-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | | ia64: don't mess with ar_bspstore in kernel_thread()Al Viro2012-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the only thing we use that for is in copy_thread(), where the way we set it will result in rbs_size being 0. Just move that calculating rbs_size and copying rbs to non-kernel-thread side of if (user_mode(regs)) in copy_thread() and set rbs_size to 0 on kernel thread side. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | | ia64: dead code in copy_thread() since 2004Al Viro2012-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It used to be called with NULL regs when creating idle threads on secondaries. Not used that way since wli had buried that kludge... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | | ia64: clone() had been unused since 2004Al Viro2012-10-14
| |/ / | | | | | | | | | | | | | | | | | | | | | Used to be used by kernel_thread(); dead code for 8 years... Note that it's not sys_clone/sys_clone2 - those are used just fine. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* | | Merge branch 'arch-openrisc' into no-rebasesAl Viro2012-11-16
|\ \ \
| * | | openrisc: use generic sys_execveJonas Bonn2012-10-19
| | | | | | | | | | | | | | | | Signed-off-by: Jonas Bonn <jonas@southpole.se>
| * | | openrisc: use generic kernel_thread/kernel_execveJonas Bonn2012-10-19
| | | | | | | | | | | | | | | | Signed-off-by: Jonas Bonn <jonas@southpole.se>
| * | | openrisc: pass correct arg to schedule_tailJonas Bonn2012-10-19
| |/ / | | | | | | | | | | | | | | | | | | | | | schedule_tail() requires that the 'prev' task be passed as an argument to it. This arg is set in _switch, just before 'returning' to one of the ret_* functions where schedule_tail is invoked. Signed-off-by: Jonas Bonn <jonas@southpole.se>
* | | Merge branch 'execve' of ↵Al Viro2012-10-17
|\ \ \ | | |/ | |/| | | | git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64 into no-rebases
| * | arm64: Use generic sys_execve() implementationCatalin Marinas2012-10-17
| | | | | | | | | | | | | | | | | | | | | | | | This patch converts the arm64 port to use the generic sys_execve() implementation removing the arm64-specific (compat_)sys_execve_wrapper() functions. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
| * | arm64: Use generic kernel_execve() implementationCatalin Marinas2012-10-17
| | | | | | | | | | | | | | | | | | | | | This patch enables CONFIG_GENERIC_KERNEL_EXECVE on arm64 and removes the arm64-specific implementation of kernel_execve(). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
| * | arm64: Use generic kernel_thread() implementationCatalin Marinas2012-10-17
| |/ | | | | | | | | | | | | | | | | This patch enables CONFIG_GENERIC_KERNEL_THREAD on arm64, changes copy_threads to cope with kernel threads creation and adapts ret_from_fork accordingly. The arm64-specific kernel_thread implementation is no longer needed. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
* | Merge branch 'arch-m68k' into no-rebasesAl Viro2012-10-17
|\ \
| * | m68k: switch to saner kernel_execve() semanticsAl Viro2012-10-17
| |/ | | | | | | | | Acked-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* | Merge branch 'arch-sparc' into no-rebasesAl Viro2012-10-17
|\ \
| * | sparc32: switch to generic sys_execve()Al Viro2012-10-16
| | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | sparc32: switch to generic kernel_execve()Al Viro2012-10-16
| | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | sparc32: switch to generic kernel_thread()Al Viro2012-10-16
| | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | sparc32: bury the remnants of LOWSYS tricksAl Viro2012-10-16
| | | | | | | | | | | | | | | | | | | | | Time to end that depravity, let's bury the body. It's been 15 years, for crying out loud... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | sparc64: convert to generic execveAl Viro2012-10-16
| | | | | | | | | | | | | | | | | | | | | We still have wrappers, but nowhere near as scary as they used to be. I'm not sure how necessary that flushw is now, TBH... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | sparc64: switch to generic kernel_execve()Al Viro2012-10-14
| | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | sparc64: take fprs_write() and friends to start_thread()Al Viro2012-10-14
| | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | sparc64: switch to generic kernel_thread()Al Viro2012-10-14
| | | | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | sparc64: clear syscall_noerror on the entry to syscall, not on the exitAl Viro2012-10-14
| |/ | | | | | | | | | | | | | | | | Move that sucker to just before TI_FPDEPTH and replace stb with sth in etrap_save(). Take current_ds to its old place, so that we don't push wsaved into TI_... flags. That allows to lose clearing syscall_noerror on return from syscall. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* | Merge branch 'arch-mips' into no-rebasesAl Viro2012-10-17
|\ \
| * | mips: switch to saner kernel_execve() semanticsAl Viro2012-10-15
| | | | | | | | | | | | | | | Acked-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | MIPS: Switch over to generic sys_execve and kernel_execve.Ralf Baechle2012-10-14
| | | | | | | | | | | | | | | | | | | | | | | | This version contains a few updates by David Daney, in particular it's now using __builtin_frame_address() instead of asm() which depending on personal taste, is slightly more appealing. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * | mips: switch to generic kernel_thread()Al Viro2012-10-14
| |/ | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* / c6x: switch to saner kernel_execve() semanticsAl Viro2012-10-15
|/ | | | | | ACKed-by: Mark Salter <msalter@redhat.com> Tested-by: Mark Salter <msalter@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* Linux 3.7-rc1Linus Torvalds2012-10-14
|
* Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linusLinus Torvalds2012-10-14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull MIPS update from Ralf Baechle: "Cleanups and fixes for breakage that occured earlier during this merge phase. Also a few patches that didn't make the first pull request. Of those is the Alchemy work that merges code for many of the SOCs and evaluation boards thus among other code shrinkage, reduces the number of MIPS defconfigs by 5." * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (22 commits) MIPS: SNI: Switch RM400 serial to SCCNXP driver MIPS: Remove unused empty_bad_pmd_table[] declaration. MIPS: MT: Remove kspd. MIPS: Malta: Fix section mismatch. MIPS: asm-offset.c: Delete unused irq_cpustat_t struct offsets. MIPS: Alchemy: Merge PB1100/1500 support into DB1000 code. MIPS: Alchemy: merge PB1550 support into DB1550 code MIPS: Alchemy: Single kernel for DB1200/1300/1550 MIPS: Optimize TLB refill for RI/XI configurations. MIPS: proc: Cleanup printing of ASEs. MIPS: Hardwire detection of DSP ASE Rev 2 for systems, as required. MIPS: Add detection of DSP ASE Revision 2. MIPS: Optimize pgd_init and pmd_init MIPS: perf: Add perf functionality for BMIPS5000 MIPS: perf: Split the Kconfig option CONFIG_MIPS_MT_SMP MIPS: perf: Remove unnecessary #ifdef MIPS: perf: Add cpu feature bit for PCI (performance counter interrupt) MIPS: perf: Change the "mips_perf_event" table unsupported indicator. MIPS: Align swapper_pg_dir to 64K for better TLB Refill code. vmlinux.lds.h: Allow architectures to add sections to the front of .bss ...