1. 14 5月, 2014 1 次提交
  2. 13 5月, 2014 4 次提交
    • R
      MIPS: Wire up renameat2 syscall. · 367f0b50
      Ralf Baechle 提交于
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      367f0b50
    • R
      MIPS: inst.h: Rename BITFIELD_FIELD to __BITFIELD_FIELD. · 8471ac1b
      Ralf Baechle 提交于
      <uapi/asm/inst.h> is exported to userland so the macro name BITFIELD_FIELD
      pollutes the namespace.  Prefix the name with __ fixes this.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      8471ac1b
    • R
    • M
      MIPS: DEC/SNI: O32 wrapper stack switching fixes · 824122a3
      Maciej W. Rozycki 提交于
      Commit 231a35d3 [[MIPS] RM: Collected
      changes] broke DECstation support by introducing an incompatible copy of
      arch/mips/dec/prom/call_o32.S in arch/mips/fw/lib/, built unconditionally.
      The copy happens to land earlier of the two among the modules used in the
      link and is therefore chosen for the DECstation rather than the intended
      original.  As a result random kernel data is corrupted because a pointer
      to the "%s" formatted output template is used as a temporary stack pointer
      rather than being passed down to prom_printf.  This also explains why
      prom_printf still works, up to a point -- the next argument is the actual
      string to output so it works just fine as the output template until enough
      kernel data has been corrupted to cause a crash.
      
      This change adjusts the modified wrapper in arch/mips/fw/lib/call_o32.S to
      let callers request no stack switching by passing a null temporary stack
      pointer in $a1, reworks the DECstation callers to work with the updated
      interface and removes the old copy from arch/mips/dec/prom/call_o32.S.  A
      few minor readability adjustments are included as well, most importantly
      O32_SZREG is now used throughout where applicable rather than hardcoded
      multiplies of 4 and $fp is used to access the argument save area as a more
      usual register to operate the stack with rather than $s0.
      
      Finally an update is made to the temporary stack space used by the SNI
      platform to guarantee 8-byte alignment as per o32 requirements.
      Signed-off-by: NMaciej W. Rozycki <macro@linux-mips.org>
      Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/6668/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      824122a3
  3. 01 4月, 2014 18 次提交
  4. 31 3月, 2014 1 次提交
    • M
      MIPS: Alchemy: remove duplicate UART register offset definitions · 61d3edb8
      Manuel Lauss 提交于
      The UART register names are identical to the ones in uapi/linux/serial_reg.h,
      which causes build failures in various drivers when they indirectly pull in
      the au1000.h header, for example via gpio.h:
      
      In file included from arch/mips/include/asm/mach-au1x00/gpio.h:13:0,
                       from arch/mips/include/asm/gpio.h:4,
                       from include/linux/gpio.h:48,
                       from include/linux/ssb/ssb.h:9,
                       from drivers/ssb/driver_mipscore.c:11:
      arch/mips/include/asm/mach-au1x00/au1000.h:1171:0: note: this is the location of the previous definition
       #define UART_LSR 0x1C /* Line Status Register */
      
      Get rid of the altogether, nothing in the core Alchemy code depends
      on them any more.
      Signed-off-by: NManuel Lauss <manuel.lauss@gmail.com>
      Cc: Linux-MIPS <linux-mips@linux-mips.org>
      Patchwork: https://patchwork.linux-mips.org/patch/6664/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      61d3edb8
  5. 27 3月, 2014 16 次提交