1. 22 1月, 2016 1 次提交
  2. 26 10月, 2015 1 次提交
  3. 15 7月, 2015 1 次提交
    • R
      MIPS: SB1: Remove support for Pass 1 parts. · dd0bc75e
      Ralf Baechle 提交于
      Pass 1 parts had a number of significant erratas and were only available
      in small numbers and under NDA.  Full support also required the use of a
      special toolchain that kept branches properly aligned.  These workarounds
      were never upstreamed and the only toolchain known to have them is
      Montavista's GCC 3.0-based toolchain which completly obsoleted if not
      useless these days.
      
      So now that automated testing has tripped over the user of the
      -msb1-pass1-workarounds option, rather than fixing it remove support for
      pass 1 parts.
      
      Probably nobody will notice.  I seem to own the last know pass 1 board
      and I haven't noticed another one in the wild in the past decade, at
      least.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      dd0bc75e
  4. 13 5月, 2015 1 次提交
  5. 10 4月, 2015 1 次提交
    • M
      MIPS: Makefile: Fix MIPS ASE detection code · 5306a545
      Markos Chandras 提交于
      Commit 32098ec7 ("MIPS: Makefile: Move the ASEs checks after
      setting the core's CFLAGS") re-arranged the MIPS ASE detection code
      and also added the current cflags to the detection logic. However,
      this introduced a few bugs. First of all, the mips-cflags should not
      be quoted since that ends up being passed as a string to subsequent
      commands leading to broken detection from the cc-option-* tools.
      Moreover, in order to avoid duplicating the cflags-y because of how
      cc-option works, we rework the logic so we pass only those cflags which
      are needed by the selected ASE. Finally, fix some typos resulting in MSA
      not being detected correctly.
      Signed-off-by: NMarkos Chandras <markos.chandras@imgtec.com>
      Fixes: Commit 32098ec7 ("MIPS: Makefile: Move the ASEs checks after setting the core's CFLAGS")
      Cc: Maciej W. Rozycki <macro@linux-mips.org>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/9661/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      5306a545
  6. 02 4月, 2015 1 次提交
  7. 01 4月, 2015 2 次提交
  8. 20 2月, 2015 1 次提交
  9. 19 2月, 2015 2 次提交
  10. 16 2月, 2015 2 次提交
  11. 24 11月, 2014 1 次提交
  12. 07 11月, 2014 1 次提交
    • M
      MIPS: Fix build with binutils 2.24.51+ · 842dfc11
      Manuel Lauss 提交于
      Starting with version 2.24.51.20140728 MIPS binutils complain loudly
      about mixing soft-float and hard-float object files, leading to this
      build failure since GCC is invoked with "-msoft-float" on MIPS:
      
      {standard input}: Warning: .gnu_attribute 4,3 requires `softfloat'
        LD      arch/mips/alchemy/common/built-in.o
      mipsel-softfloat-linux-gnu-ld: Warning: arch/mips/alchemy/common/built-in.o
       uses -msoft-float (set by arch/mips/alchemy/common/prom.o),
       arch/mips/alchemy/common/sleeper.o uses -mhard-float
      
      To fix this, we detect if GAS is new enough to support "-msoft-float" command
      option, and if it does, we can let GCC pass it to GAS;  but then we also need
      to sprinkle the files which make use of floating point registers with the
      necessary ".set hardfloat" directives.
      Signed-off-by: NManuel Lauss <manuel.lauss@gmail.com>
      Cc: Linux-MIPS <linux-mips@linux-mips.org>
      Cc: Matthew Fortune <Matthew.Fortune@imgtec.com>
      Cc: Markos Chandras <Markos.Chandras@imgtec.com>
      Cc: Maciej W. Rozycki <macro@linux-mips.org>
      Patchwork: https://patchwork.linux-mips.org/patch/8355/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      842dfc11
  13. 22 9月, 2014 2 次提交
    • A
      MIPS: Add support for building device-tree binaries · c8d333df
      Andrew Bresticker 提交于
      Add a 'dtbs' Makefile target that just builds the device-tree binaries
      enabled by the configuration.
      Signed-off-by: NAndrew Bresticker <abrestic@chromium.org>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
      Cc: Kumar Gala <galak@codeaurora.org>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: Paul Burton <paul.burton@imgtec.com>
      Cc: David Daney <david.daney@cavium.com>
      Cc: John Crispin <blogic@openwrt.org>
      Cc: Jayachandran C <jchandra@broadcom.com>
      Cc: Qais Yousef <qais.yousef@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: linux-kernel@vger.kernel.org
      Cc: devicetree@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/7557/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      c8d333df
    • A
      MIPS: Create common infrastructure for building built-in device-trees · 7fafb068
      Andrew Bresticker 提交于
      In preparation for moving the device-trees to a common location,
      introduce the config option BUILTIN_DTB, which can be selected by
      platforms that use a device-tree built into the kernel image, and
      create a Makefile to build the device-trees in arch/mips/boot/dts/.
      Signed-off-by: NAndrew Bresticker <abrestic@chromium.org>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
      Cc: Kumar Gala <galak@codeaurora.org>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: Paul Burton <paul.burton@imgtec.com>
      Cc: David Daney <david.daney@cavium.com>
      Cc: John Crispin <blogic@openwrt.org>
      Cc: Jayachandran C <jchandra@broadcom.com>
      Cc: Qais Yousef <qais.yousef@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: linux-kernel@vger.kernel.org
      Cc: devicetree@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/7564/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      7fafb068
  14. 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
  15. 30 7月, 2014 1 次提交
    • M
      MIPS: SB1: Check optional compilation flags one by one · b625cd4a
      Maciej W. Rozycki 提交于
      This fixes a regression caused by commit
      bb6c0bd3 [MIPS: SB1: Fix excessive kernel
      warnings.], that makes `-march=r5000' selected for compilation flags
      rather than supposed `-march=sb1' with compilers that do not support the
      ASE selection flags introduced with that change.
      
      For example GCC 4.1.2 supports `-mips3d'/`-mno-mips3d' (and obviously
      `-march=sb1'), however it does not support `-mdmx'/`-mno-mdmx'.  As a
      result the whole selection of flags fails and compilation resorts to using
      `-march=r5000', meant for really old compilers indeed only.
      
      It is always best to pick the flags individually unless we are absolutely
      sure a set of flags was introduced to the toolchain together (`-march=sb1'
      and `-mtune=sb1' would be a good example), and this change makes it happen
      for CONFIG_CPU_SB1.  Consequently the flags ultimately selected with GCC
      4.1.2 are `-march=sb1 -Wa,--trap -mno-mips3d'
      Signed-off-by: NMaciej W. Rozycki <macro@linux-mips.org>
      Cc: Richard Sandiford <rdsandiford@googlemail.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/7223/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      b625cd4a
  16. 04 6月, 2014 1 次提交
  17. 28 5月, 2014 1 次提交
    • R
      MIPS: SB1: Fix excessive kernel warnings. · bb6c0bd3
      Ralf Baechle 提交于
      A kernel build with binutils 2.24 is going to emit warnings like
      
        CC      kernel/sys.o
      {standard input}: Assembler messages:
      {standard input}:701: Warning: the 32-bit MIPS architecture does not support the `mdmx' extension
      {standard input}:701: Warning: the `mdmx' extension requires 64-bit FPRs
      {standard input}:701: Warning: the `mips3d' extension requires MIPS32 revision 2 or greater
      {standard input}:701: Warning: the `mips3d' extension requires 64-bit FPRs
      
      for almost every file.  This is caused by changes to gas' interpretation
      of .set semantics.  Fixed by explicitly disabling MIPS3D and MDMX for
      Sibyte builds.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      bb6c0bd3
  18. 23 5月, 2014 1 次提交
    • R
      MIPS: math-emu: Move various objects into an ar library. · 593d33fe
      Ralf Baechle 提交于
      ieee754d.o contains only debug code and dp_sqrt.o and sp_sqrt.o contain
      code which for MIPS I/II/III systems we don't want to link.  Again the
      savings can be considerable for some systems:
      
      $ mips-linux-size --totals ieee754d.o dp_sqrt.o sp_sqrt.o
         text	   data	    bss	    dec	    hex	filename
         1624	      0	      0	   1624	    658	ieee754d.o
         2016	      0	      0	   2016	    7e0	dp_sqrt.o
          736	      0	      0	    736	    2e0	sp_sqrt.o
         4376	      0	      0	   4376	   1118	(TOTALS)
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      593d33fe
  19. 27 3月, 2014 1 次提交
  20. 23 1月, 2014 1 次提交
  21. 20 12月, 2013 1 次提交
    • K
      stackprotector: Unify the HAVE_CC_STACKPROTECTOR logic between architectures · 19952a92
      Kees Cook 提交于
      Instead of duplicating the CC_STACKPROTECTOR Kconfig and
      Makefile logic in each architecture, switch to using
      HAVE_CC_STACKPROTECTOR and keep everything in one place. This
      retains the x86-specific bug verification scripts.
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Cc: Arjan van de Ven <arjan@linux.intel.com>
      Cc: Michal Marek <mmarek@suse.cz>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-mips@linux-mips.org
      Cc: linux-arch@vger.kernel.org
      Link: http://lkml.kernel.org/r/1387481759-14535-2-git-send-email-keescook@chromium.orgSigned-off-by: NIngo Molnar <mingo@kernel.org>
      19952a92
  22. 30 10月, 2013 2 次提交
  23. 19 9月, 2013 1 次提交
  24. 04 9月, 2013 1 次提交
    • J
      MIPS: Add uImage build target · 4defe455
      James Hogan 提交于
      Add a uImage build target for MIPS, which builds uImage.gz (a U-Boot
      image of vmlinux.bin.gz), and then symlinks it to uImage. This allows
      for the use of other compression algorithms in future, and is how a few
      other architectures do it.
      
      It's enabled conditionally on load-y >= 0xffffffff80000000 which
      hopefully allows 64bit kernels to also work as long as the load and
      entry address can be represented by the 32bit addresses in the U-Boot
      image format.
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/5795/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      4defe455
  25. 03 9月, 2013 2 次提交
  26. 01 7月, 2013 1 次提交
  27. 09 5月, 2013 1 次提交
  28. 01 2月, 2013 1 次提交
  29. 14 12月, 2012 3 次提交
  30. 03 10月, 2012 1 次提交
    • J
      kbuild: Fix gcc -x syntax · b1e0d8b7
      Jean Delvare 提交于
      The correct syntax for gcc -x is "gcc -x assembler", not
      "gcc -xassembler". Even though the latter happens to work, the former
      is what is documented in the manual page and thus what gcc wrappers
      such as icecream do expect.
      
      This isn't a cosmetic change. The missing space prevents icecream from
      recognizing compilation tasks it can't handle, leading to silent kernel
      miscompilations.
      
      Besides me, credits go to Michael Matz and Dirk Mueller for
      investigating the miscompilation issue and tracking it down to this
      incorrect -x parameter syntax.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Acked-by: NIngo Molnar <mingo@kernel.org>
      Cc: stable@vger.kernel.org
      Cc: Bernhard Walle <bernhard@bwalle.de>
      Cc: Michal Marek <mmarek@suse.cz>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      b1e0d8b7
  31. 16 5月, 2012 1 次提交
  32. 05 5月, 2012 1 次提交