Linus Torvalds
4007162647
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
...
Pull irq cleanups from Ingo Molnar:
"This is a multi-arch cleanup series from Thomas Gleixner, which we
kept to near the end of the merge window, to not interfere with
architecture updates.
This series (motivated by the -rt kernel) unifies more aspects of IRQ
handling and generalizes PREEMPT_ACTIVE"
* 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
preempt: Make PREEMPT_ACTIVE generic
sparc: Use preempt_schedule_irq
ia64: Use preempt_schedule_irq
m32r: Use preempt_schedule_irq
hardirq: Make hardirq bits generic
m68k: Simplify low level interrupt handling code
genirq: Prevent spurious detection for unconditionally polled interrupts
2013-11-19 10:40:00 -08:00
Kirill A. Shutemov
5de1423d89
hexagon: handle pgtable_page_ctor() fail
...
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com >
Cc: Richard Kuo <rkuo@codeaurora.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2013-11-15 09:32:17 +09:00
Thomas Gleixner
00d1a39e69
preempt: Make PREEMPT_ACTIVE generic
...
No point in having this bit defined by architecture.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Acked-by: Peter Zijlstra <peterz@infradead.org >
Link: http://lkml.kernel.org/r/20130917183629.090698799@linutronix.de
2013-11-13 20:21:47 +01:00
Peter Zijlstra
a787870924
sched, arch: Create asm/preempt.h
...
In order to prepare to per-arch implementations of preempt_count move
the required bits into an asm-generic header and use this for all
archs.
Signed-off-by: Peter Zijlstra <peterz@infradead.org >
Link: http://lkml.kernel.org/n/tip-h5j0c1r3e3fk015m30h8f1zx@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org >
2013-09-25 14:07:50 +02:00
Al Viro
40d158e618
consolidate io_remap_pfn_range definitions
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2013-06-29 12:46:35 +04:00
Richard Kuo
426d29ccb2
Hexagon: add v4 CS regs to core copyout macro
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:29 -05:00
Richard Kuo
5c883b462a
Hexagon: use correct translation for VMALLOC_START
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:29 -05:00
Richard Kuo
5e1150542f
Hexagon: use correct translations for DMA mappings
...
With physical offsets, pa<->va translations aren't just based
on PAGE_OFFSET anymore.
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:28 -05:00
Richard Kuo
7c6a5df44f
Hexagon: update copyright dates
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:27 -05:00
Richard Kuo
7959bd76a1
Hexagon: add translation types for __vmnewmap
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:27 -05:00
Richard Kuo
f3f601c1d2
Hexagon: fix signal.c compile error
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:26 -05:00
Richard Kuo
c05c3ec401
Hexagon: use generic sys_fork, sys_vfork, and sys_clone
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:26 -05:00
Richard Kuo
8209277687
Hexagon: fix psp/sp macro
...
Based on feedback from Al Viro; previous-stack-pointer and
user reg for same should always be kept consistent.
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:26 -05:00
Richard Kuo
1ce81f4f87
Hexagon: add IOMEM and _relaxed IO macros
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:25 -05:00
Richard Kuo
f167063a0c
Hexagon: switch to using the device type for IO mappings
...
Uncached on our architecture can still have side effects
such as canceled/replayed transactions; device type prevents
this.
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:25 -05:00
Richard Kuo
7777746c40
Hexagon: add support for single-stepping (v4+)
...
Hardware single-step is only available on v4 and later
architectures.
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:25 -05:00
Richard Kuo
a11e67c261
Hexagon: Signal and return path fixes
...
This fixes the return value of sigreturn and moves the work pending check
into a c routine for readability and fixes the loop for multiple pending
signals. Based on feedback from Al Viro.
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:24 -05:00
Richard Kuo
60c4ba99e0
Hexagon: add support for new v4+ registers
...
Add support for a couple new v4+ registers, along with
newer save/restore pt_regs.
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:23 -05:00
Richard Kuo
444dd742d3
Hexagon: add individual register access for switch_stack
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:23 -05:00
Richard Kuo
e470d932ce
Hexagon: use defines for MIN_KERNEL_SEG calculation
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:23 -05:00
Richard Kuo
66b03dbfe6
Hexagon: change arch version config to allow comparisons
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:22 -05:00
Richard Kuo
8f5a0b9dff
Hexagon: add support for ARCH_PFN_OFFSET
...
Add support for loading the kernel at a physical offset. The
offset should still be 4M aligned.
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:22 -05:00
Richard Kuo
e0025a72c3
Hexagon: fix __atomic_add_unless
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:22 -05:00
Richard Kuo
22493cfd78
Hexagon: clean up generic headers in Kbuild
...
Signed-off-by: Richard Kuo <rkuo@codeaurora.org >
2013-04-30 19:40:22 -05:00
Al Viro
e72837e3e7
default SET_PERSONALITY() in linux/elf.h
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2013-02-26 02:46:08 -05:00