summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* sh: Calculate shm alignment at runtime.Paul Mundt2006-09-272-20/+39
| | | | | | | Set the SHM alignment at runtime, based off of probed cache desc. Optimize get_unmapped_area() to only colour align shared mappings. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Initial vsyscall page support.Paul Mundt2006-09-2713-12/+418
| | | | | | | | | | This implements initial support for the vsyscall page on SH. At the moment we leave it configurable due to having nommu to support from the same code base. We hook it up for the signal trampoline return at present, with more to be added later, once uClibc catches up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Selective flush_cache_mm() flushing.Paul Mundt2006-09-271-90/+130
| | | | | | | | | | flush_cache_mm() wraps in to flush_cache_all(), which is rather excessive given that the number of PTEs within the specified context are generally quite low. Optimize for walking the mm's VMA list and selectively flushing the VMA ranges from the dcache. Invalidate the icache only if a VMA sets VM_EXEC. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: More intelligent entry_mask/way_size calculation.Paul Mundt2006-09-271-7/+13
| | | | | | | Figure out the cache desc entry_mask at runtime, and remove hard-coded assumption about the cacheline size. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Support for L2 cache on newer SH-4A CPUs.Paul Mundt2006-09-272-2/+51
| | | | | | | This implements preliminary support for the L2 caches found on newer SH-4A CPUs. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Update kexec support for API changes.Paul Mundt2006-09-272-16/+0
| | | | | | This was falling a bit behind.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Optimized readsl()/writesl() support.Paul Mundt2006-09-271-0/+67
| | | | | | Implement optimized copies of readsl()/writesl(). Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Report movli.l/movco.l capabilities.Paul Mundt2006-09-271-1/+3
| | | | | | | Add llsc to cpu_flags[] and comment cpu-features.h. Signed-off-by: Jamie Lenehan <nynaeve@twibble.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: CPU flags in AT_HWCAP in ELF auxvt.Paul Mundt2006-09-271-3/+5
| | | | | | Encode processor flags in AT_HWCAP in the ELF auxiliary vector. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add support for 4K stacks.Paul Mundt2006-09-277-23/+170
| | | | | | | | | 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>
* sh: Enable /proc/kcore support.Paul Mundt2006-09-271-2/+9
| | | | | | This was previously unimplemented.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: stack debugging support.Paul Mundt2006-09-274-8/+43
| | | | | | This adds a DEBUG_STACK_USAGE and DEBUG_STACKOVERFLOW for SH. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: select CONFIG_EMBEDDED.Paul Mundt2006-09-271-0/+1
| | | | | | | This solution isn't very optimal, but it's generaly the behaviour that we want.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: machvec rework.Paul Mundt2006-09-2730-774/+476
| | | | | | | | | Some more machvec overhauling and setup code cleanup. Kill off get_system_type() and platform_setup(), we can do these both through the machvec. While we're add it, kill off more useless mach.c's and drop some legacy cruft from setup.c. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Solution Engine SH7343 board support.Paul Mundt2006-09-279-13/+1626
| | | | | | This adds support for the SE7343 board. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: SH7710VoIPGW board support.Paul Mundt2006-09-276-0/+1036
| | | | | | This adds support for the SH7710 VoIP Gateway board. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Cleanup IRQ disabling for hardirq handlers.Paul Mundt2006-09-2715-156/+38
| | | | | | | | The generic hardirq layer already takes care of a lot of the appropriate locking and disabling for us, no need to duplicate it in the handlers.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: maskreg IRQ support.Paul Mundt2006-09-273-2/+105
| | | | | | | Formerly implemented by ADX, we can use this generically, so move it over. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Kill off dead boards.Paul Mundt2006-09-2732-2435/+4
| | | | | | | None of these have been maintained in years, and no one seems to be interested in doing so, so just get rid of them. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add support for cacheline poking through debugfs.Paul Mundt2006-09-272-0/+151
| | | | | | | A simple debugging aid for easier visibility of the respective cachelines. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix memcpy() build error on sh4eb.Nobuhiro Iwamatsu2006-09-271-2/+2
| | | | | | | A trivial bug breaking the build on sh4eb. Signed-off-by: Nobuhiro Iwamatsu <hemamu@t-base.ne.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Kill off the rest of the legacy rtc mess.Paul Mundt2006-09-276-190/+22
| | | | | | | With the new RTC class driver, we can get rid of most of the old left over cruft. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: SHMIN board support.Takashi YOSHII2006-09-276-1/+890
| | | | | | | This adds support for the SHMIN SH7706 board. Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add support for SH7706/SH7710/SH7343 CPUs.Paul Mundt2006-09-2718-51/+308
| | | | | | | This adds support for the aforementioned CPU subtypes, and cleans up some build issues encountered as a result. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add setup code for various CPU subtypes.Paul Mundt2006-09-2711-0/+441
| | | | | | | This adds some simple setup code for most of the CPU subtypes, primarily simple platform device registration. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: sem2mutex conversion for clock framework.Paul Mundt2006-09-271-8/+9
| | | | | | Simple sem2mutex conversion. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: pselect6 and ppoll, along with signal trampoline rework.Paul Mundt2006-09-273-91/+85
| | | | | | This implements support for ppoll() and pselect6().. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: __addr_ok() and other misc nommu fixups.Yoshinori Sato2006-09-276-17/+20
| | | | | | | A few more outstanding nommu fixups.. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: __NR_restart_syscall support.Paul Mundt2006-09-273-7/+13
| | | | | | This implements support for __NR_restart_syscall. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Various nommu fixes.Yoshinori Sato2006-09-273-10/+22
| | | | | | | | This fixes up some of the various outstanding nommu bugs on SH. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Make PAGE_OFFSET configurable.Paul Mundt2006-09-274-28/+34
| | | | | | | | nommu needs to be able to shift PAGE_OFFSET, so we switch it to a non-user-visible CONFIG_PAGE_OFFSET and use that in the few places where it matters. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move voyagergx_reg.h to a more sensible place.Paul Mundt2006-09-273-3/+3
| | | | | | | Other boards require this as well, so move it out of the rts7751r2d directory. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: math-emu supportTakashi YOSHII2006-09-276-39/+832
| | | | | | | This implements initial math-emu support, aimed primarily at SH-3. Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Rename rtc_get/set_time() to avoid RTC_CLASS conflict.Paul Mundt2006-09-277-36/+26
| | | | | | | We have a clash with RTC_CLASS over these names, so we change them.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fixup __strnlen_user() behaviour.Paul Mundt2006-09-271-0/+3
| | | | | | | | | | Drop TIF_USERSPACE and add addr_limit to the thread_info struct. Subsequently, use that for address checking in strnlen_user() to ward off bogus -EFAULTs. Make __strnlen_user() return 0 on exception, rather than -EFAULT. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: More cosmetic cleanups and trivial fixes.Paul Mundt2006-09-277-42/+22
| | | | | | Nothing exciting here, just trivial fixes.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fixup TEI IRQ requests in request_dma().Paul Mundt2006-09-271-2/+5
| | | | | | If a channel is not TEI capable, don't try to request_irq().. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: G2 DMA IRQ and residue sampling.Paul Mundt2006-09-271-13/+41
| | | | | | | | This fixes a long-standing FIXME for G2 DMA, where we finally wire up the IRQ handler and allow for sampling remaining bytes while in-flight. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: VoyagerGX cleanups and 8250 UART support.Paul Mundt2006-09-273-11/+71
| | | | | | | | This adds the VoyagerGX UART to the RTS7751R2D setup code, and cleans up a few build issues. Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Inhibit mapping PCI apertures through page tables.Paul Mundt2006-09-272-12/+25
| | | | | | | | | | Inhibit mapping through page tables in __ioremap() for PCI memory apertures on SH7751 and SH7780-style PCI controllers, translation is not possible for these areas. For other users that map a small window in P1/P2 space, ioremap() traps that already, and should never make it to __ioremap(). Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Consolidated SH7751/SH7780 PCI support.Paul Mundt2006-09-2735-1517/+947
| | | | | | | | This cleans up quite a lot of the PCI mess that we currently have, and attempts to consolidate the duplication in the SH7780 and SH7751 PCI controllers. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: kgdb stub cleanups.Paul Mundt2006-09-271-28/+5
| | | | | | | | Some kgdb cleanup. Move hexchars/highhex/lowhex to the header, so it can be reused by sh-sci. Also drop silly ctrl_inl/outl() overloading being done by the kgdb stub. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Use generic CONFIG_FRAME_POINTER.Paul Mundt2006-09-271-9/+1
| | | | | | | We had our own version, which serves no purpose. Simply hook SH in to the generic one. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: APM/PM support.Andriy Skulysh2006-09-2713-5/+973
| | | | | | | | | 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>
* sh: SE73180 updates for IRQ changes.Paul Mundt2006-09-273-1/+4
| | | | | | | SE73180 can use the generic support, we just need to wire up the IRQ demuxing. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Make O= builds work again.Paul Mundt2006-09-271-7/+5
| | | | | | Some of the paths were a bit broken, fix it up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Drop incdir rule for SE7751.Paul Mundt2006-09-271-2/+0
| | | | | | No longer needed.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add support for R7780RP and R7780MP boards.Paul Mundt2006-09-2720-34/+2448
| | | | | | | This adds support for the Renesas SH7780 development boards, R7780RP and R7780MP. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Store Queue API rework.Paul Mundt2006-09-271-296/+246
| | | | | | | | | | | | Rewrite the store queue API for a per-cpu interface in the driver model. The old miscdevice is dropped, due to TASK_SIZE limitations, and no one was using it anyways. Carve up and allocate store queue space with a bitmap, back sq mapping objects with a slab cache, and let userspace worry about its own prefetching. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Board updates for I/O routine rework.Paul Mundt2006-09-2728-457/+171
| | | | | | | This updates the various boards for some of the recent I/O routine updates. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
OpenPOWER on IntegriCloud