1. 18 7月, 2015 1 次提交
  2. 25 6月, 2015 1 次提交
    • V
      ARCv2: barriers · b8a03302
      Vineet Gupta 提交于
      ARCv2 based HS38 cores are weakly ordered and thus explicit barriers for
      kernel proper.
      
      SMP barrier is provided by DMB instruction which also guarantees local
      barrier hence used as backend of smp_*mb() as well as *mb() APIs
      
      Also hookup barriers into MMIO accessors to avoid ordering issues in IO
      
      Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
      Reviewed-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      b8a03302
  3. 19 5月, 2015 1 次提交
  4. 11 12月, 2014 1 次提交
  5. 14 9月, 2014 1 次提交
  6. 10 2月, 2014 2 次提交
    • T
      locking/mcs: Allow architecture specific asm files to be used for contended case · ddf1d169
      Tim Chen 提交于
      This patch allows each architecture to add its specific assembly optimized
      arch_mcs_spin_lock_contended and arch_mcs_spinlock_uncontended for
      MCS lock and unlock functions.
      Signed-off-by: NTim Chen <tim.c.chen@linux.intel.com>
      Cc: Scott J Norton <scott.norton@hp.com>
      Cc: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
      Cc: AswinChandramouleeswaran <aswin@hp.com>
      Cc: George Spelvin <linux@horizon.com>
      Cc: Rik vanRiel <riel@redhat.com>
      Cc: Andrea Arcangeli <aarcange@redhat.com>
      Cc: MichelLespinasse <walken@google.com>
      Cc: Peter Hurley <peter@hurleysoftware.com>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: Alex Shi <alex.shi@linaro.org>
      Cc: Dave Hansen <dave.hansen@intel.com>
      Cc: Tim Chen <tim.c.chen@linux.intel.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: "Figo.zhang" <figo1802@gmail.com>
      Cc: "Paul E.McKenney" <paulmck@linux.vnet.ibm.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Davidlohr Bueso <davidlohr.bueso@hp.com>
      Cc: Waiman Long <waiman.long@hp.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Matthew R Wilcox <matthew.r.wilcox@intel.com>
      Signed-off-by: NPeter Zijlstra <peterz@infradead.org>
      Link: http://lkml.kernel.org/r/1390347382.3138.67.camel@schen9-DESKSigned-off-by: NIngo Molnar <mingo@kernel.org>
      ddf1d169
    • T
      locking/mcs: Order the header files in Kbuild of each architecture in alphabetical order · b119fa61
      Tim Chen 提交于
      We perform a clean up of the Kbuid files in each architecture.
      We order the files in each Kbuild in alphabetical order
      by running the below script.
      
      for i in arch/*/include/asm/Kbuild
      do
              cat $i | gawk '/^generic-y/ {
                      i = 3;
                      do {
                              for (; i <= NF; i++) {
                                      if ($i == "\\") {
                                              getline;
                                              i = 1;
                                              continue;
                                      }
                                      if ($i != "")
                                              hdr[$i] = $i;
                              }
                              break;
                      } while (1);
                      next;
              }
              // {
                      print $0;
              }
              END {
                      n = asort(hdr);
                      for (i = 1; i <= n; i++)
                              print "generic-y += " hdr[i];
              }' > ${i}.sorted;
              mv ${i}.sorted $i;
      done
      Signed-off-by: NTim Chen <tim.c.chen@linux.intel.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Matthew R Wilcox <matthew.r.wilcox@intel.com>
      Cc: AswinChandramouleeswaran <aswin@hp.com>
      Cc: Dave Hansen <dave.hansen@intel.com>
      Cc: "Paul E.McKenney" <paulmck@linux.vnet.ibm.com>
      Cc: Scott J Norton <scott.norton@hp.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: "Figo.zhang" <figo1802@gmail.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Rik van Riel <riel@redhat.com>
      Cc: Waiman Long <waiman.long@hp.com>
      Cc: Peter Hurley <peter@hurleysoftware.com>
      Cc: Andrea Arcangeli <aarcange@redhat.com>
      Cc: Tim Chen <tim.c.chen@linux.intel.com>
      Cc: Alex Shi <alex.shi@linaro.org>
      Cc: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: George Spelvin <linux@horizon.com>
      Cc: MichelLespinasse <walken@google.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Davidlohr Bueso <davidlohr.bueso@hp.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NPeter Zijlstra <peterz@infradead.org>
      [ Fixed build bug. ]
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      b119fa61
  7. 14 1月, 2014 2 次提交
  8. 12 1月, 2014 1 次提交
  9. 18 12月, 2013 1 次提交
  10. 25 9月, 2013 1 次提交
  11. 10 5月, 2013 1 次提交
  12. 16 2月, 2013 3 次提交
    • V
      ARC: UAPI Disintegrate arch/arc/include/asm · 8c2f4a8d
      Vineet Gupta 提交于
      1. ./genfilelist.pl arch/arc/include/asm/
      
      2. Create arch/arc/include/uapi/asm/Kbuild as follows
      
      	+# UAPI Header export list
      	+include include/uapi/asm-generic/Kbuild.asm
      
      3. ./disintegrate-one.pl arch/arc/include/{,uapi/}asm/<above-list>
      
      4. Edit arch/arc/include/asm/Kbuild to remove ref to
      	asm-generic/Kbuild.asm
      
      - To work around empty uapi/asm/setup.h added a placholder comment.
      - Also a manual #ifdef __ASSEMBLY__ for a late ptrace change
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      Cc: David Howells <dhowells@redhat.com>
      8c2f4a8d
    • V
      ARC: Unaligned access emulation · 2e651ea1
      Vineet Gupta 提交于
      ARC700 doesn't natively support unaligned access, but can be emulated
      -Unaligned Access Exception
      -Disassembly at the Fault address to find the exact insn (long/short)
      
      Also per Arnd's comment, we runtime control it using 2 sysctl knobs:
      * SYSCTL_ARCH_UNALIGN_ALLOW: Runtime enable/disble
      * SYSCTL_ARCH_UNALIGN_NO_WARN: Warn on each emulation attempt
      
      Originally contributed by Tim Yao <tim.yao@amlogic.com>
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      Cc: Tim Yao <tim.yao@amlogic.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      2e651ea1
    • V
      ARC: [optim] Cache "current" in Register r25 · 080c3747
      Vineet Gupta 提交于
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      080c3747
  13. 11 2月, 2013 1 次提交
    • V
      ARC: Build system: Makefiles, Kconfig, Linker script · cfdbc2e1
      Vineet Gupta 提交于
      Arnd in his review pointed out that arch Kconfig organisation has several
      deficiencies:
      
      * Build time entries for things which can be runtime extracted from DT
        (e.g. SDRAM size, core clk frequency..)
      * Not multi-platform-image-build friendly (choice .. endchoice constructs)
      * cpu variants support (750/770) is exclusive.
      
      The first 2 have been fixed in subsequent patches.
      Due to the nature of the 750 and 770, it is not possible to build for
      both together, w/o special runtime glue code which would hurt
      performance.
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Acked-by: NSam Ravnborg <sam@ravnborg.org>
      cfdbc2e1
  14. 28 1月, 2013 1 次提交
  15. 14 11月, 2012 1 次提交
  16. 09 11月, 2012 1 次提交
  17. 04 10月, 2012 1 次提交
  18. 20 9月, 2012 1 次提交
  19. 29 3月, 2012 1 次提交
  20. 09 6月, 2011 1 次提交
  21. 17 3月, 2011 1 次提交
  22. 15 1月, 2009 1 次提交
  23. 08 1月, 2009 1 次提交
  24. 07 11月, 2008 1 次提交
  25. 18 6月, 2006 1 次提交