01 Dec, 2009

2 commits


19 Nov, 2009

4 commits


18 Nov, 2009

12 commits


17 Nov, 2009

6 commits


16 Nov, 2009

4 commits


15 Nov, 2009

1 commit


14 Nov, 2009

6 commits

  • Disable propagation of mbus errors to the CPU local bus, as this causes
    mbus errors (which can occur for example for PCI aborts) to throw CPU
    aborts, which we're not set up to deal with.

    Reported-by: Dieter Kiermaier
    Signed-off-by: Lennert Buytenhek
    Signed-off-by: Nicolas Pitre

    Lennert Buytenhek
     
  • 1. At the end of smtc_distribute_timer, nextstamp is valid and has already
    passed so we goto repeat.
    2. Nothing updates nextstamp (only updated if the timeout is in the future
    And we just decided it is in the past)
    3. At the end nextstamp still has the same value so it is still valid and
    in the past.
    4. This repeats until read_c0_count has a value which causes nextstamp to
    be in the future.

    Reported and initial patch and testing by Mikael Starvik
    .

    Signed-off-by: Kevin D. Kissell
    Cc: Mikael Starvik
    Cc: linux-mips@linux-mips.org
    Cc: Jesper Nilsson
    Patchwork: http://patchwork.linux-mips.org/patch/621/
    Signed-off-by: Ralf Baechle

    Kevin D. Kissell
     
  • Enable following features:

    * MTD (RBTX4939, NAND_TXX9NDFMC)
    * HW_RANDOM (HW_RANDOM_TX4939)
    * SOUND (SND_SOC_TXX9ACLC)
    * DMADEVICE (TXX9_DMAC)

    Signed-off-by: Atsushi Nemoto
    Signed-off-by: Ralf Baechle

    Atsushi Nemoto
     
  • Since commit 22242681cff52bfb7cba5d2a37b91802be7a4e4c ("MIPS: Extend
    COMMAND_LINE_SIZE"), CL_SIZE is 4096 and local array variables with this
    size will cause an build failure with default CONFIG_FRAME_WARN settings.

    Although current users of such array variables are all early bootstrap
    code and not likely to cause real stack overflow (thread_info corruption),
    it is preferable to to declare these arrays static with __initdata.

    Signed-off-by: Atsushi Nemoto
    Signed-off-by: Ralf Baechle

    Atsushi Nemoto
     
  • The ohci-sm501 driver requires dma_declare_coherent_memory(). It is used
    by the driver's local memory allocation with dma_alloc_coherent().

    Tested on TANBAC TB0287(VR4131 + SM501).

    [Ralf: Fixed reject in dma-default.c and removed the entire #if 0'ed block
    in dma-mapping.h instead of just the #if 0.]

    Signed-off-by: Yoichi Yuasa
    Signed-off-by: Ralf Baechle

    Yoichi Yuasa
     
  • Running a 64-bit kernel on a 64-bit CPU without an FPU would cause the
    emulator to run in 32-bit mode. The c0_Status.FR bit is wired to zero
    on systems without an FPU, so using that bit to decide how the emulator
    behaves doesn't allow for proper emulation on 64-bit FPU-less
    processors.

    Instead, we need to select the emulator mode based on the user-space
    ABI. Since the thread flag TIF_32BIT_REGS is used to set c0_Status.FR,
    we can just use it to decide if the emulator should be in 32-bit or
    64-bit mode.

    Signed-off-by: David Daney
    Signed-off-by: Ralf Baechle

    David Daney
     

13 Nov, 2009

5 commits

  • On s390 there are two ways of specifying the system call number for
    the svc instruction. The standard way is to use the immediate field
    in the instruction (or to use EXecute for values unknown during
    assemble time). This can encode 256 system calls.
    The kernel ABI also allows to put the system call number in r1 and
    then execute svc 0 to enable system call numbers > 255.

    It turns out that single stepping svc 0 is broken, since the PER
    program check handler uses r1. We have to use a different register.

    Signed-off-by: Christian Borntraeger
    Signed-off-by: Martin Schwidefsky

    Christian Borntraeger
     
  • After an IPL from NSS the uptime of the system is incorrect. The reason
    is that the startup code in head.S is not executed in case of an IPL
    from NSS. Due to that sched_clock_base_cc which is used to initialze
    wall_to_monotonic contains the time stamp when the NSS has been created
    instead of the time stamp of the system start.

    Reinitialize the cputime accounting values in create_kernel_nss after
    the SAVESYS CP command that created the NSS segment.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Since MFP_PIN_GPIO* now includes 128-255, mfp_to_gpio() is no longer
    valid for those additional pins, fix it.

    Signed-off-by: Eric Miao

    Eric Miao
     
  • The AC97 part wasn't initialized on Colibri/PXA320 because the macros
    were wrong. Also, the code didn't compile because of a header file not
    being included.

    Signed-off-by: Marek Vasut
    Signed-off-by: Eric Miao

    Marek Vasut
     
  • Underscores were missing.

    Signed-off-by: Roel Kluin
    Signed-off-by: Eric Miao

    Roel Kluin