An error occurred fetching the project authors.
- 16 Mar, 2009 1 commit
-
-
Nobuhiro Iwamatsu authored
-- log -- arch/sh/kernel/cpu/sh4/../sh3/entry.S:365: Error: invalid operands for opcode make[4]: *** [arch/sh/kernel/cpu/sh4/../sh3/entry.o] Error 1 make[3]: *** [arch/sh/kernel/cpu/sh4] Error 2 -- log -- Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 10 Mar, 2009 1 commit
-
-
Magnus Damm authored
Add Suspend-to-disk / swsusp / CONFIG_HIBERNATION support to the SuperH architecture. To suspend, use "swapon /dev/sda2; echo disk > /sys/power/state" To resume, pass "resume=/dev/sda2" on the kernel command line. The patch "pm: rework includes, remove arch ifdefs V2" is needed to allow the generic swsusp code to build properly. Hibernation is not enabled with this patch though, a patch setting ARCH_HIBERNATION_POSSIBLE will be submitted later. Signed-off-by:
Magnus Damm <damm@igel.co.jp> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 27 Feb, 2009 5 commits
-
-
Paul Mundt authored
With the recent entry.S refactoring, the SH-X3 path had a mov.l for a register to register copy, resulting in: AS arch/sh/kernel/cpu/sh4/../sh3/entry.o arch/sh/kernel/cpu/sh4/../sh3/entry.S: Assembler messages: arch/sh/kernel/cpu/sh4/../sh3/entry.S:366: Error: invalid operands for opcode make[3]: *** [arch/sh/kernel/cpu/sh4/../sh3/entry.o] Error 1 Switch it over to a mov to fix it up. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Magnus Damm authored
Prefetch early exception data. There is unused space in our exception handler cache line anyway, so this is almost free. Signed-off-by:
Magnus Damm <damm@igel.co.jp> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Magnus Damm authored
Remove EXPEVT vector from the stack, lookup_exception_vector() for sh3/sh4/sh4a is already using k2 to get the vector. Signed-off-by:
Magnus Damm <damm@igel.co.jp> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Magnus Damm authored
This patch reworks the sh3/sh4/sh4a register restore code in the following ways: - break out restore_regs() from restore_all() - the register saving order is unchanged - use restore_regs() in sh_bios_handler and restore_all - document the function Signed-off-by:
Magnus Damm <damm@igel.co.jp> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Magnus Damm authored
This patch reworks the sh3/sh4/sh4a register saving code in the following ways: - break out prepare_stack_save_dsp() from handle_exception() - break out save_regs() from handle_exception() - the register saving order is unchanged - align new functions to fit in cache lines - separate exception code from interrupt code - keep main code flow in a single cache line per exception vector - use bsr/rts for regular functions (save pr first) - keep data in one shared cache line (exception_data) - document the functions - tie in the hp6xx code Signed-off-by:
Magnus Damm <damm@igel.co.jp> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 22 Dec, 2008 2 commits
-
-
Paul Mundt authored
This migrates from the old bitrotted kgdb stub implementation and moves to the generic stub. In the process support for SH-2/SH-2A is also added, which the old stub never provided. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Aoi Shinkai authored
The INTEVT read at interrupt exception entry is uneccessary, as the read is deferred until we are ready to enter do_IRQ(). The kgdb nmi path still requires it, so move it there. Signed-off-by:
Aoi Shinkai <shinkoi2005@gmail.com> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 28 Jul, 2008 1 commit
-
-
Paul Mundt authored
This follows the sparc changes a439fe51. Most of the moving about was done with Sam's directions at: http://marc.info/?l=linux-sh&m=121724823706062&w=2 with subsequent hacking and fixups entirely my fault. Signed-off-by:
Sam Ravnborg <sam@ravnborg.org> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 28 Jan, 2008 1 commit
-
-
Stuart Menefy authored
This implements kernel-level atomic rollback built on top of gUSA, as an alternative non-IRQ based atomicity method. This is generally a faster method for platforms that are lacking the LL/SC pairs that SH-4A and later use, and is only supportable on legacy cores. Signed-off-by:
Stuart Menefy <stuart.menefy@st.com> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 01 Aug, 2007 1 commit
-
-
Paul Mundt authored
In the SH-3/4 TLB access violation path we were enabling IRQs before the call in to trace_hardirqs_on(), which ended up triggering: if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) return; in kernel/lockdep.c:2031. Fix this up by removing the early re-enable, we were already re-enabling IRQs post-trace_hardirqs_on() already, so the semantics are now as was initially intended. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 20 Jun, 2007 1 commit
-
-
Paul Mundt authored
This adds basic support for UP SH-X3. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 04 Jun, 2007 1 commit
-
-
Paul Mundt authored
If CONFIG_KGDB_NMI is disabled, we're left with a stray in_nmi reference that can't be resolved. Move the symbol under the ifdef, too. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 31 May, 2007 1 commit
-
-
Takashi YOSHII authored
Add lost in_nmi definition to solve pcrel too far. Signed-off-by:
Takashi YOSHII <takasi-y@ops.dti.ne.jp> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 09 May, 2007 1 commit
-
-
Uwe Kleine-König authored
Many files include the filename at the beginning, serveral used a wrong one. Signed-off-by:
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by:
Adrian Bunk <bunk@stusta.de>
-
- 14 Mar, 2007 1 commit
-
-
Paul Mundt authored
SH-3 and SH-4 were trampling the register, and SH-2 wasn't even setting it in the first place. This ended up with some rather broken behaviour in the sysrq show_regs(). Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 14 Feb, 2007 1 commit
-
-
Paul Mundt authored
This ended up causing problems for older parts (particularly ones using PTEA). Revert this for now, it can be added back in once it's had some more testing. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 13 Feb, 2007 2 commits
-
-
Paul Mundt authored
There were a few more things that needed fixing up, namely THREAD_SIZE and the TLB miss handler where certain PTRS_PER_PGD == PTRS_PER_PTE assumptions were being made. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Paul Mundt authored
This rips out most of the needlessly complicated sh_bios and kgdb trap handling, and forces it all through a common fast dispatch path. As more debug traps are inserted, it's important to keep them in sync for all of the parts, not just SH-3/4. As the SH-2 parts are unable to do traps in the >= 0x40 range, we restrict the debug traps to the 0x30-0x3f range on all parts, and also bump the kgdb breakpoint trap down in to this range (from 0xff to 0x3c) so it's possible to use for nommu. Optionally, this table can be padded out to catch spurious traps for SH-3/4, but we don't do that yet.. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 06 Dec, 2006 5 commits
-
-
Paul Mundt authored
Wire up all of the essentials for lockdep.. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Paul Mundt authored
There were a number of places that made evil PAGE_SIZE == 4k assumptions that ended up breaking when trying to play with 8k and 64k page sizes, this fixes those up. The most significant change is the way we load THREAD_SIZE, previously this was done via: mov #(THREAD_SIZE >> 8), reg shll8 reg to avoid a memory access and allow the immediate load. With a 64k PAGE_SIZE, we're out of range for the immediate load size without resorting to special instructions available in later ISAs (movi20s and so on). The "workaround" for this is to bump up the shift to 10 and insert a shll2, which gives a bit more flexibility while still being much cheaper than a memory access. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Stuart Menefy authored
Handle simple TLB miss faults which can be resolved completely from the page table in assembler. Signed-off-by:
Stuart Menefy <stuart.menefy@st.com> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Paul Mundt authored
The nommu patches broke the path for the common bits, get it building for the SH-3/4 case again. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Yoshinori Sato authored
This splits out common bits from the existing exception handler for use between SH-2/SH-2A and SH-3/4, and adds support for the SH-2/2A exceptions. Signed-off-by:
Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 12 Oct, 2006 1 commit
-
-
Paul Mundt authored
Kill off interrupt_table for all of the CPU subtypes, we now default in to stepping in to do_IRQ() for _all_ IRQ exceptions and counting the spurious ones, rather than simply flipping on the ones we cared about. This and enabling the IRQ by default automatically has already uncovered a couple of bugs and IRQs that weren't being caught, as well as some that are being generated far too often (SCI Tx Data Empty, for example). The general rationale is to use a marker for interrupt exceptions, test for it in the handle_exception() path, and skip out to do_IRQ() if it's found. Everything else follows the same behaviour of finding the cached EXPEVT value in r2/r2_bank, we just rip out the INTEVT read from entry.S entirely (except for in the kGDB NMI case, which is another matter). Note that while this changes the do_IRQ() semantics regarding r4 handling, they were fundamentally broken anyways (relying entirely on r2_bank for the cached code). With this, we do the INTEVT read from do_IRQ() itself (in the CONFIG_CPU_HAS_INTEVT case), or fall back on r4 for the muxed IRQ number, which should also be closer to what SH-2 and SH-2A want anyways. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 03 Oct, 2006 1 commit
-
-
Paul Mundt authored
Get all of the defconfigs building again. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 27 Sep, 2006 7 commits
-
-
Paul Mundt authored
This enables support for 4K stacks on SH. Currently this depends on DEBUG_KERNEL, but likely all boards will switch to this as the default in the future. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Paul Mundt authored
This implements support for ppoll() and pselect6().. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Paul Mundt authored
This implements support for __NR_restart_syscall. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Andriy Skulysh authored
This adds some simple PM stubs and the basic APM interfaces, primarily for use by hp6xx, where the existing userland expects it. Signed-off-by:
Andriy Skulysh <askulysh@gmail.com> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Paul Mundt authored
We had quite a bit of whitespace damage, clean most of it up.. Signed-off-by:
Stuart Menefy <stuart.menefy@st.com> Signed-off-by:
Arthur Othieno <a.othieno@bluewin.ch> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Paul Mundt authored
in_nmi shifted down a few labels, so we were inadvertently clearing the lower byte of do_syscall_trace, badness ensues. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
Paul Mundt authored
Move the syscall table in to its own file, as per sh64. The entry.S bits will end up being considerably different in the sh2/sh2a cases, so this lets us keep things in sync somewhat.. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 30 Jun, 2006 1 commit
-
-
Jörn Engel authored
Signed-off-by:
Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by:
Adrian Bunk <bunk@stusta.de>
-
- 01 Feb, 2006 1 commit
-
-
Paul Mundt authored
Currently entry.S is home to these definitions, so we move them somewhere more sensible. IPR IRQ handling depends on being to read from INTEVT. Signed-off-by:
Paul Mundt <lethal@linux-sh.org> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 18 Aug, 2005 1 commit
-
-
Robert Love authored
Add inotify and ioprio syscall stubs to SH. Signed-off-by:
Robert Love <rml@novell.com> Acked-by:
Paul Mundt <lethal@linux-sh.org> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 16 Apr, 2005 1 commit
-
-
Linus Torvalds authored
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
-