30 Nov, 2007
1 commit
-
- fix lockup when switching from early console to real console
- make sysrq reliable
- fix panic, if sysrq is issued before console is openedSigned-off-by: Thomas Bogendoerfer
Acked-by: Ralf Baechle
Cc: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
27 Nov, 2007
1 commit
-
A new born thread starts execution not in schedule but rather in
ret_from_fork which results in it bypassing the part of the code to
load a new context written in C which are the DSP context and the
userlocal register which Linux uses for the TLS pointer. Frequently
we were just getting away with this bug for a number of reasons:o Real world application scenarios are very unlikely to use clone or fork
in blocks of DSP code.
o Linux by default runs the child process right after the fork, so the
child by luck will find all the right context in the DSP and userlocal
registers.
o So far the rdhwr instruction was emulated on all hardware so userlocal
wasn't getting referenced at all and the emulation wasn't suffering
from the issue since it gets it's value straight from the thread's
thread_info.Fixed by moving the code to load the context from switch_to() to
finish_arch_switch which will be called by newborn and old threads.Signed-off-by: Ralf Baechle
12 Oct, 2007
2 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
03 Oct, 2007
1 commit
-
Signed-off-by: Ralf Baechle
01 Aug, 2007
1 commit
-
Signed-off-by: Ralf Baechle
21 Jul, 2007
2 commits
-
Signed-off-by: Franck Bui-Huu
Signed-off-by: Ralf Baechle -
None of weakly ordered processor supported in tree need this but it seems
like this could change ...Signed-off-by: Ralf Baechle
20 Jul, 2007
1 commit
-
Since Ingo's recent scheduler rewrite which was merged as commit
0437e109e1841607f2988891eaa36c531c6aa6ac sched_cacheflush is unused.Signed-off-by: Ralf Baechle
Signed-off-by: Ingo Molnar
11 Jul, 2007
3 commits
-
Signed-off-by: Ralf Baechle
-
Which will cut down the cost of RDHWR $29 which is used to obtain the
TLS pointer and so far being emulated in software down to a single cycle
operation.Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
11 May, 2007
1 commit
-
Signed-off-by: Ralf Baechle
10 May, 2007
1 commit
-
Recently a few direct accesses to the thread_info in the task structure snuck
back, so this wraps them with the appropriate wrapper.Signed-off-by: Roman Zippel
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
09 May, 2007
2 commits
-
tas() has no users, so get rid of it.
Signed-off-by: Jeff Dike
Cc:
Cc: Paolo 'Blaisorblade' Giarrusso
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Mathieu Desnoyers
Cc: Ralf Baechle
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
17 Mar, 2007
1 commit
-
trace_hardirqs_off -> atomic_inc -> local_irq_restore -> trace_hardirqs_off
Signed-off-by: Ralf Baechle
14 Feb, 2007
1 commit
-
Now that finally all supported versions of binutils have functioning
support for .subsection use .subsection to tweak the branch predictionI did not modify the R10000 errata variants because it seems unclear if
this will invalidate the workaround which actually relies on the cheesy
prediction of branch likely to cause a misspredict if the sc was
successful.Signed-off-by: Ralf Baechle
11 Dec, 2006
1 commit
-
This eleminates the need to include ptrace.h into system.h and fixes a
harmless namespace conflict on the PC symbol in bpck.c.Signed-off-by: Ralf Baechle
05 Dec, 2006
1 commit
-
Also the R4000 / R4600 LL/SC instructions imply a sync so no explicit sync
needed.Signed-off-by: Ralf Baechle
03 Nov, 2006
1 commit
-
Found and original patch by bile@landofbile.com.
Signed-off-by: Ralf Baechle
15 Jul, 2006
1 commit
-
set_wmb should not be used in the kernel because it just confuses the
code more and has no benefit. Since it is not currently used in the
kernel this patch removes it so that new code does not include it.All archs define set_wmb(var, value) to do { var = value; wmb(); }
while(0) except ia64 and sparc which use a mb() instead. But this is
still moot since it is not used anyway.Hasn't been tested on any archs but x86 and x86_64 (and only compiled
tested)Signed-off-by: Steven Rostedt
Signed-off-by: Linus Torvalds
14 Jul, 2006
1 commit
-
Signed-off-by: Ralf Baechle
26 Apr, 2006
1 commit
-
Signed-off-by: David Woodhouse
19 Apr, 2006
3 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
21 Mar, 2006
1 commit
-
Signed-off-by: Ralf Baechle
28 Feb, 2006
1 commit
-
Signed-off-by: Ralf Baechle
13 Jan, 2006
2 commits
-
Signed-off-by: Al Viro
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add per-arch sched_cacheflush() which is a write-back cacheflush used by
the migration-cost calibration code at bootup time.Signed-off-by: Ingo Molnar
Cc: Nick Piggin
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
30 Oct, 2005
9 commits
-
Signed-off-by: Ralf Baechle
-
64-bit instructions on 32-bit processors, they tend to be unhappy about
that kind of food ;-)Signed-off-by: Ralf Baechle
-
suitable to reliably build kernels anymore anyway and 2.16 has this
fixed.Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
a little polishing.
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
for assembling ll/sc sequences to avoid problems with 64-bit
configurations.Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
builds even for processors that don't support the instructions.
Plus minor formatting fixes.Signed-off-by: Ralf Baechle