aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
Commit message (Collapse)AuthorAge
...
| | * | | | sh: mach-se evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate Solution Engine boards to evt2irq backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7757lcr evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate sh7757lcr to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: magicpanelr2 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate magicpanelr2 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: espt evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate espt to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: edosk7760 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate edosk7760 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: edosk7705 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate edosk7705 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7720 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7720 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7710/sh7712 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7710/SH7712 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7706/sh7707/sh7709/sh7709 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH770x to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7705 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7705 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7760 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7760 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7750 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7750 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh4-202 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH4-202 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh-x3 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH-X3 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7785 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7785 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7780 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7780 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7770 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7770 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7763 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7763 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7757 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7757 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7724 evt2irq migration.Paul Mundt2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7724 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7723 evt2irq migration.Paul Mundt2012-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7723 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7722 evt2irq migration.Paul Mundt2012-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7722 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7366 evt2irq migration.Paul Mundt2012-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7366 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7343 evt2irq migration.Paul Mundt2012-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate SH7343 to evt2irq() backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: sh7786 evt2irq migration.Paul Mundt2012-05-17
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates SH7786 to evt2irq() backed hwirq lookup rather than using an open-coded calculation. This will make it possible to reposition the vector base at a later point in time. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh: Fix mistake of the member variable of plat_sci_port for SH7343Nobuhiro Iwamatsu2012-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current code was going to initialize irq of plat_sci_port. Not irq, irqs is right. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh64: Set additional fault code values.Paul Mundt2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SSR.MD status amongst other things are already made available, which can be used for encoding a more precise fault code value. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh64: Tidy up and consolidate the TLB miss fast path.Paul Mundt2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This unifies the fast-path TLB miss handler, allowing for further cleanup and eventual utilization of a shared _32/_64 handler. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh64: Fix up caller-save register settings for fast-path.Paul Mundt2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that the fast-path handler has been moved, we also need to update the Makefile to ensure that the same restrictions for caller-save registers are observed. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh64: Invert page fault fast-path error path values.Paul Mundt2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings the sh64 version in line with the sh32 one with regards to how errors are handled. Base work for further unification of the implementations. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh64: Migrate to __update_tlb() API.Paul Mundt2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have a method for finding out if we're handling an ITLB fault or not without passing it all the way down the chain, it's possible to use the __update_tlb() interface in place of a special __do_tlb_refill(). Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh: Enable shared page fault handler for _32/_64.Paul Mundt2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the now generic _32 page fault handling code to a shared place and adapts the _64 implementation to make use of it. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh64: Kill off unused fixed I/O mapping window.Paul Mundt2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was reworked some time ago to go through fixmaps instead, leaving the range itself unused. As such, kill off the remaining references and hand over the remaining space for fixmaps directly. This also makes it possible to simplify the vmalloc fault case as we no longer have to care about the special section. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh: Ensure fixmap and store queue space can co-exist.Paul Mundt2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the moment the top of the fixmap space is calculated from P4SEG, which places it at the end of the store queue space when that API is enabled. Make sure we use P3_ADDR_MAX here instead to find the proper address limit. With this done, it's also possible to switch to the generic vmalloc address range check now that VMALLOC_START/END encapsulate the translatable areas that we care about. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh64: Utilize thread fault code encoding.Paul Mundt2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This plugs in fault code encoding for the sh64 page fault, too. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh: Support thread fault code encoding.Paul Mundt2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provides a simple interface modelled after sparc64/m32r to encode the error code in the upper byte of thread_info for finer-grained handling in the page fault path. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh64: Provide EXPEVT helper.Paul Mundt2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need a lookup_exception_vector() helper for sh64 in order to use the common page fault code. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh: Tidy up and generalize page fault error paths.Paul Mundt2012-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This follows the x86 changes for tidying up the page fault error paths. We'll build on top of this for _32/_64 unification. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh: Fix up comment noise in sh7269 pinmux code.Paul Mundt2012-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The build complains about a /* nested within a comment block, so just tidy up the formatting. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | | | |
| | \ \ \
| *-. \ \ \ Merge branches 'sh/wdt' and 'sh/rsk-updates' into sh-latestPaul Mundt2012-05-10
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/sh/Kconfig Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | | * | | sh: Add pinmux for sh7269Phil Edworthy2012-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | | * | | sh: Add RSK2+SH7269 boardPhil Edworthy2012-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RSK2+SH7269 board uses the SH7269 processor. It is often referred to as just rsk7269. NOR Flash, SDRAM, serial, USB Host and ethernet are working. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | | * | | sh: Add sh7269 devicePhil Edworthy2012-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an sh2a device (max 266MHz) with FPU, video display controller (VDC), 8 serial ports, 4 I2C channels, 3 CAN ports, SD and on-chip USB. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | | sh: Provide stubbed I/O routines for NO_IOPORT case.Paul Mundt2012-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Too many drivers fail at IOPORT vs IOMEM checking before blindly calling in to the API, so we may as well just provide basic stubs to get more build coverage. Other platforms already do this, too (tile, parisc, etc.) Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | | Merge branch 'sh/rsk-updates' into sh-latestPaul Mundt2012-05-09
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/sh/Kconfig Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: Add pinmux for sh7264Phil Edworthy2012-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: Add RSK2+SH7264 boardPhil Edworthy2012-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RSK2+SH7264 board uses the sh7264 processor. It is often referred to as just rsk7264. NOR Flash, SDRAM, serial, USB Host and ethernet are working. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | * | | | sh: Add sh7264 devicePhil Edworthy2012-05-09
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an sh2a device with FPU, video display controller (VDC), 8 serial ports, 3 I2C channels, 2 CAN ports, SD and on-chip USB. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| * | | | sh64: Kill off unused trap_no/error_code from thread_struct.Paul Mundt2012-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While the trap number and error code are passed around for debugging purposes, this occurs wholly independently of the thread struct values. These values were never part of the sigcontext ABI and are thus never passed anywhere, so we can just kill them off across the board. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| | | | |
| | \ \ \
| *-. \ \ \ Merge branches 'sh/st-integration' and 'sh/stackprotector' into sh-latestPaul Mundt2012-04-19
| |\ \ \ \ \