1. 13 9月, 2013 1 次提交
  2. 27 8月, 2013 1 次提交
    • P
      powerpc: Work around gcc miscompilation of __pa() on 64-bit · bdbc29c1
      Paul Mackerras 提交于
      On 64-bit, __pa(&static_var) gets miscompiled by recent versions of
      gcc as something like:
      
              addis 3,2,.LANCHOR1+4611686018427387904@toc@ha
              addi 3,3,.LANCHOR1+4611686018427387904@toc@l
      
      This ends up effectively ignoring the offset, since its bottom 32 bits
      are zero, and means that the result of __pa() still has 0xC in the top
      nibble.  This happens with gcc 4.8.1, at least.
      
      To work around this, for 64-bit we make __pa() use an AND operator,
      and for symmetry, we make __va() use an OR operator.  Using an AND
      operator rather than a subtraction ends up with slightly shorter code
      since it can be done with a single clrldi instruction, whereas it
      takes three instructions to form the constant (-PAGE_OFFSET) and add
      it on.  (Note that MEMORY_START is always 0 on 64-bit.)
      
      CC: <stable@vger.kernel.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      bdbc29c1
  3. 23 8月, 2013 1 次提交
  4. 14 8月, 2013 1 次提交
    • K
      powerpc: split She math emulation into two parts · e05c0e81
      Kevin Hao 提交于
      For some SoC (such as the FSL BookE) even though there does have
      a hardware FPU, but not all floating point instructions are
      implemented. Unfortunately some versions of gcc do use these
      unimplemented instructions. Then we have to enable the math emulation
      to workaround this issue. It seems a little redundant to have the
      support to emulate all the floating point instructions in this case.
      So split the math emulation into two parts. One is for the SoC which
      doesn't have FPU at all and the other for the SoC which does have the
      hardware FPU and only need some special floating point instructions to
      be emulated.
      Signed-off-by: NKevin Hao <haokexin@gmail.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      e05c0e81
  5. 12 8月, 2013 1 次提交
    • T
      PCI: remove ARCH_SUPPORTS_MSI kconfig option · ebd97be6
      Thomas Petazzoni 提交于
      Now that we have weak versions for each of the PCI MSI architecture
      functions, we can actually build the MSI support for all platforms,
      regardless of whether they provide or not architecture-specific
      versions of those functions. For this reason, the ARCH_SUPPORTS_MSI
      hidden kconfig boolean becomes useless, and this patch gets rid of it.
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Acked-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Tested-by: NDaniel Price <daniel.price@gmail.com>
      Tested-by: NThierry Reding <thierry.reding@gmail.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: linux390@de.ibm.com
      Cc: linux-s390@vger.kernel.org
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: x86@kernel.org
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: linux-ia64@vger.kernel.org
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: linux-mips@linux-mips.org
      Cc: David S. Miller <davem@davemloft.net>
      Cc: sparclinux@vger.kernel.org
      Cc: Chris Metcalf <cmetcalf@tilera.com>
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      ebd97be6
  6. 09 8月, 2013 1 次提交
  7. 05 7月, 2013 1 次提交
  8. 20 6月, 2013 2 次提交
  9. 04 6月, 2013 1 次提交
  10. 03 6月, 2013 1 次提交
  11. 18 4月, 2013 3 次提交
  12. 17 4月, 2013 1 次提交
  13. 16 4月, 2013 1 次提交
  14. 08 4月, 2013 1 次提交
  15. 17 3月, 2013 1 次提交
  16. 16 3月, 2013 1 次提交
  17. 13 3月, 2013 2 次提交
  18. 04 3月, 2013 1 次提交
  19. 28 2月, 2013 1 次提交
  20. 15 2月, 2013 1 次提交
  21. 14 2月, 2013 1 次提交
    • A
      burying unused conditionals · d64008a8
      Al Viro 提交于
      __ARCH_WANT_SYS_RT_SIGACTION,
      __ARCH_WANT_SYS_RT_SIGSUSPEND,
      __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND,
      __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL - not used anymore
      CONFIG_GENERIC_{SIGALTSTACK,COMPAT_RT_SIG{ACTION,QUEUEINFO,PENDING,PROCMASK}} -
      can be assumed always set.
      d64008a8
  22. 05 2月, 2013 1 次提交
  23. 04 2月, 2013 7 次提交
  24. 29 1月, 2013 1 次提交
  25. 22 1月, 2013 1 次提交
  26. 10 1月, 2013 1 次提交
  27. 20 12月, 2012 1 次提交
  28. 29 11月, 2012 1 次提交
  29. 18 11月, 2012 1 次提交
  30. 15 10月, 2012 1 次提交