1. 17 9月, 2014 1 次提交
    • M
      MIPS: SmartMIPS: Disable assembler warnings · dab1b445
      Markos Chandras 提交于
      The kernel code overrides the default ISA as passed by the compiler
      in quite a few places. This has unfortunate side effects when smartmips
      is enabled leading to hundreds of warnings during build such as:
      
      {standard input}: Assembler messages:
      {standard input}:411: Warning: the `smartmips' extension requires MIPS32
      revision 1 or greater
      {standard input}: Assembler messages:
      {standard input}:43: Warning: the 64-bit MIPS architecture does not support the
      `smartmips' extension
      [...]
      
      Until the kernel code is fixed properly (if possible), disable all the
      assembler warning messages to make the build logs readable again.
      This has no runtime side effects but it makes it easier to spot
      more critical warnings and problems during build.
      Signed-off-by: NMarkos Chandras <markos.chandras@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/7356/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      dab1b445
  2. 30 8月, 2014 1 次提交
  3. 27 8月, 2014 1 次提交
  4. 26 8月, 2014 27 次提交
  5. 25 8月, 2014 1 次提交
  6. 20 8月, 2014 7 次提交
  7. 19 8月, 2014 2 次提交
    • G
      MIPS: NL: Fix nlm_xlp_defconfig build error · bbbf6d87
      Guenter Roeck 提交于
      The nlm_xlp_defconfig build fails with
      
      ./arch/mips/include/asm/mach-netlogic/topology.h:15:0:
      			error: "topology_core_id" redefined [-Werror]
      In file included from include/linux/smp.h:59:0,
      	[ ...]
                       from arch/mips/mm/dma-default.c:12:
      ./arch/mips/include/asm/smp.h:41:0:
      			note: this is the location of the previous definition
      
      and similar errors.
      
      This is caused by commit bda4584c ("MIPS: Support CPU topology files
      in sysfs") which adds the defines to arch/mips/include/asm/smp.h.
      
      Remove the defines from arch/mips/include/asm/mach-netlogic/topology.h
      as no longer necessary.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Cc: Huacai Chen <chenhc@lemote.com>
      Cc: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
      Cc: linux-mips@linux-mips.org
      Cc: linux-kernel@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/7513/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      bbbf6d87
    • L
      MIPS: Remove race window in page fault handling · 2a4a8b1e
      Lars Persson 提交于
      Multicore MIPSes without I/D hardware coherency suffered from a race
      condition in the page fault handler. The page table entry was
      published before any pending lazy D-cache flush was committed, hence
      it allowed execution of stale page cache data by other VPEs in the
      system.
      
      To make the cache handling safe we need to perform flushing already in
      the set_pte_at function. MIPSes without coherent I-caches can get a
      small increase in flushes due to the unavailability of the execute
      flag in set_pte_at.
      
      [ralf@linux-mips.org: outlining set_pte_at() saves a good k in a test
      build, so I moved its definition from pgtable.h to cache.c.]
      Signed-off-by: NLars Persson <larper@axis.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/7511/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      2a4a8b1e