17 Feb, 2010

2 commits

  • Both the store queue API and the PMB remapping take unsigned long for
    their pgprot flags, which cuts off the extended protection bits. In the
    case of the PMB this isn't really a problem since the cache attribute
    bits that we care about are all in the lower 32-bits, but we do it just
    to be safe. The store queue remapping on the other hand depends on the
    extended prot bits for enabling userspace access to the mappings.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • vmemmap and the vmsplit code amongst others need to be able to take page
    faults much earlier than trap_init() time, so move this in to the early
    CPU initialization. VBR setup for secondary CPUs is already handled
    through start_secondary(), so we only need to do this for the boot CPU.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

16 Feb, 2010

1 commit


09 Feb, 2010

4 commits


08 Feb, 2010

3 commits


02 Feb, 2010

3 commits


26 Jan, 2010

1 commit

  • The old ctrl in/out routines are non-portable and unsuitable for
    cross-platform use. While drivers/sh has already been sanitized, there
    is still quite a lot of code that is not. This converts the arch/sh/ bits
    over, which permits us to flag the routines as deprecated whilst still
    building with -Werror for the architecture code, and to ensure that
    future users are not added.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

21 Jan, 2010

1 commit


20 Jan, 2010

1 commit


19 Jan, 2010

5 commits


18 Jan, 2010

1 commit

  • This tosses in a local_irq_enable()/disable() pair around the init_fpu()
    callsite in the FPU state restore exception handler. Fixes up a slab BUG
    triggered by making a slab cache allocation that can sleep whilst
    irqs_disabled(). This follows the behaviour undertaken by the x86
    implementation.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

15 Jan, 2010

1 commit


13 Jan, 2010

4 commits


05 Jan, 2010

2 commits

  • Nothing is using these now, so kill them all off.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • This is the next big chunk of hw_breakpoint support. This decouples
    the SH-4A support from the core and moves it out in to its own stub,
    following many of the conventions established with the perf events
    layering.

    In addition to extending SH-4A support to encapsulate the remainder
    of the UBC channels, clock framework support for handling the UBC
    interface clock is added as well, allowing for dynamic clock gating.

    This also fixes up a regression introduced by the SIGTRAP handling that
    broke the ksym_tracer, to the extent that the current support works well
    with all of the ksym_tracer/ptrace/kgdb. The kprobes singlestep code will
    follow in turn.

    With this in place, the remaining UBC variants (SH-2A and SH-4) can now
    be trivially plugged in.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

21 Dec, 2009

1 commit


17 Dec, 2009

2 commits


15 Dec, 2009

8 commits

  • After the recent FPU optimisation commit the signature of save_fpu()
    changed. "regs" wasn't used in the implementation of save_fpu() anyway.

    Signed-off-by: Matt Fleming
    Signed-off-by: Paul Mundt

    Matt Fleming
     
  • This patch breaks out the sh5 scif serial port platform
    data from a shared platform device to one platform
    device per port. Also, move the serial port to the list
    of early platform devices.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch breaks out the sh4a scif serial port platform
    data from a shared platform device to one platform
    device per port. Also, add serial ports to the list of
    early platform devices.

    All sh4a except SuperH Mobile processors are modified by
    this patch.

    While at it, sh7757 gets early platform device support.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch breaks out the sh4a scif serial port platform
    data from a shared platform device to one platform
    device per port. Also, add serial ports to the list of
    early platform devices.

    Only sh4a SuperH Mobile processors are modified by this
    patch.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch breaks out the sh4 scif serial port platform
    data from a shared platform device to one platform
    device per port. Also, add serial ports to the list of
    early platform devices.

    While at it, get rid of the R2D ifdef in the processor
    code and adjust the defconfigs to use ttySC1.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch breaks out the sh3 scif serial port platform
    data from a shared platform device to one platform
    device per port. Also, add serial ports to the list of
    early platform devices.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch breaks out the sh2a scif serial port platform
    data from a shared platform device to one platform
    device per port. Also, add serial ports to the list of
    early platform devices.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch breaks out the sh2 scif serial port platform
    data from a shared platform device to one platform
    device per port. Also, add serial ports to the list of
    early platform devices.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm