1. 04 6月, 2014 3 次提交
  2. 07 4月, 2014 2 次提交
    • M
      microblaze: Use asm-generic/io.h · a66a6265
      Michal Simek 提交于
      Using generic io.h will narrow down code duplication
      in architecture io.h.
      
      - define PCI_IOBASE
      - remove non existing pci_io_base extern
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      a66a6265
    • M
      microblaze: Fix compilation failure because of release_thread · ace526eb
      Michal Simek 提交于
      Warning log:
      In file included from arch/microblaze/include/asm/thread_info.h:21:0,
                       from include/linux/thread_info.h:54,
                       from include/asm-generic/preempt.h:4,
                       from arch/microblaze/include/generated/asm/preempt.h:1,
                       from include/linux/preempt.h:18,
                       from include/linux/spinlock.h:50,
                       from include/linux/seqlock.h:35,
                       from include/linux/time.h:5,
                       from include/linux/stat.h:18,
                       from include/linux/sysfs.h:20,
                       from include/linux/kobject.h:21,
                       from include/linux/device.h:17,
                       from include/linux/node.h:17,
                       from include/linux/cpu.h:16,
                       from arch/microblaze/kernel/process.c:11:
      arch/microblaze/include/asm/processor.h:125:20: warning: no previous prototype
      for 'release_thread' [-Wmissing-prototypes]
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      ace526eb
  3. 13 3月, 2014 1 次提交
  4. 12 3月, 2014 4 次提交
  5. 10 2月, 2014 4 次提交
    • M
      microblaze: Define readq and writeq IO helper function · 4f3cbd79
      Michal Simek 提交于
      Some drivers check if readq/writeq functions are defined.
      If not internal driver functions are used which cause
      compilation failures.
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      4f3cbd79
    • M
      microblaze: Fix missing HZ macro · ac1566ec
      Michal Simek 提交于
      Add missing param.h header because of HZ macro.
      It is causing compilation failure:
      In file included from include/linux/delay.h:14:0,
                          from drivers/clk/qcom/reset.c:18:
      drivers/clk/qcom/reset.c: In function 'qcom_reset':
      arch/microblaze/include/asm/delay.h:39:35: error: 'HZ'
       undeclared (first use in this function)
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      ac1566ec
    • 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
  6. 27 1月, 2014 2 次提交
    • M
      microblaze: Define read/write{b,w,l}_relaxed MMIO · 17578ea1
      Michal Simek 提交于
      More and more ARM specific drivers is using MMIO
      readX/writeX_relaxed IO functions and Microblaze can
      shared some drivers with ARM too.
      
      This patch adds relaxed IO accessor macros
      to prevent compilation failures.
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      17578ea1
    • M
      microblaze: Add support for CCF · c1120542
      Michal Simek 提交于
      Add support for CCF for Microblaze.
      
      Old binding:
      system_timer: system-timer@41c00000 {
      	clock-frequency = <75000000>;
      	...
      }
      
      New binding:
      system_timer: system-timer@41c00000 {
      	clocks = <&clk_bus>;
      	...
      }
      
      Both should be supported for a while
      
      Microblaze clock binding:
      clocks {
      	#address-cells = <1>;
      	#size-cells = <0>;
      	clk_bus: bus {
      		#clock-cells = <0>;
      		clock-frequency = <75000000>;
      		clock-output-names = "bus";
      		compatible = "fixed-clock";
      		reg = <1>;
      	} ;
      	clk_cpu: cpu {
      		#clock-cells = <0>;
      		clock-frequency = <75000000>;
      		clock-output-names = "cpu";
      		compatible = "fixed-clock";
      		reg = <0>;
      	} ;
      } ;
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      c1120542
  7. 24 1月, 2014 1 次提交
  8. 21 1月, 2014 3 次提交
  9. 14 1月, 2014 2 次提交
  10. 12 1月, 2014 1 次提交
  11. 18 12月, 2013 1 次提交
  12. 15 11月, 2013 1 次提交
  13. 14 11月, 2013 1 次提交
  14. 24 10月, 2013 1 次提交
  15. 10 10月, 2013 3 次提交
    • R
      of: remove HAVE_ARCH_DEVTREE_FIXUPS · 32df8dca
      Rob Herring 提交于
      HAVE_ARCH_DEVTREE_FIXUPS appears to always be needed except for sparc,
      but it is only used for /proc/device-teee and sparc does not enable
      /proc/device-tree. So this option is redundant. Remove the option and
      always enable it. This has the side effect of fixing /proc/device-tree
      on arches such as arm64 which failed to define this option.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Acked-by: NVineet Gupta <vgupta@synopsys.com>
      Acked-by: NGrant Likely <grant.likely@linaro.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.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: Chris Zankel <chris@zankel.net>
      Cc: Max Filippov <jcmvbkbc@gmail.com>
      32df8dca
    • R
      of: implement pci_address_to_pio as weak function · 25ff7944
      Rob Herring 提交于
      Implement pci_address_to_pio as weak function to remove the dependency on
      asm/prom.h. This is in preparation to make prom.h optional.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Acked-by: NGrant Likely <grant.likely@linaro.org>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.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: Grant Likely <grant.likely@linaro.org>
      25ff7944
    • R
      microblaze: clean-up prom.h implicit includes · 5c9f303e
      Rob Herring 提交于
      While powerpc is a mess of implicit includes by prom.h, microblaze just
      copied this and is easily fixed. Add the necessary explicit includes and
      remove unnecessary includes and other parts from prom.h
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Acked-by: NGrant Likely <grant.likely@linaro.org>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: microblaze-uclinux@itee.uq.edu.au
      Cc: netdev@vger.kernel.org
      5c9f303e
  16. 25 9月, 2013 1 次提交
  17. 03 9月, 2013 1 次提交
  18. 21 8月, 2013 1 次提交
  19. 10 7月, 2013 1 次提交
  20. 04 7月, 2013 1 次提交
  21. 29 6月, 2013 1 次提交
  22. 03 6月, 2013 2 次提交
  23. 28 5月, 2013 1 次提交
  24. 27 5月, 2013 1 次提交