1. 07 Apr, 2014 2 commits
  2. 27 Jan, 2014 2 commits
    • Michal Simek's avatar
      microblaze: timer: Use generic sched_clock implementation · 839396ab
      Michal Simek authored
      Remove sched_clock from the driver and use sched_clock_register
      function.
      Inspired-by:
      "arch_timer: Move to generic sched_clock framework"
      (sha1: 65cd4f6c
      
      )
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      839396ab
    • Michal Simek's avatar
      microblaze: Add support for CCF · c1120542
      Michal Simek authored
      
      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: default avatarMichal Simek <michal.simek@xilinx.com>
      c1120542
  3. 24 Jan, 2014 1 commit
  4. 07 Nov, 2013 1 commit
  5. 06 Nov, 2013 1 commit
  6. 23 Oct, 2013 1 commit
  7. 13 Sep, 2013 1 commit
  8. 03 Sep, 2013 1 commit
  9. 14 Aug, 2013 1 commit
  10. 17 Apr, 2013 1 commit
  11. 16 Apr, 2013 1 commit
  12. 08 Apr, 2013 1 commit
  13. 20 Mar, 2013 1 commit
  14. 12 Mar, 2013 1 commit
  15. 28 Feb, 2013 1 commit
  16. 14 Feb, 2013 1 commit
    • Al Viro's avatar
      burying unused conditionals · d64008a8
      Al Viro authored
      __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
  17. 03 Feb, 2013 1 commit
  18. 19 Dec, 2012 1 commit
  19. 29 Nov, 2012 1 commit
  20. 16 Nov, 2012 2 commits
  21. 09 Oct, 2012 1 commit
  22. 04 Oct, 2012 1 commit
  23. 28 Sep, 2012 1 commit
    • David Howells's avatar
      Make most arch asm/module.h files use asm-generic/module.h · 786d35d4
      David Howells authored
      
      Use the mapping of Elf_[SPE]hdr, Elf_Addr, Elf_Sym, Elf_Dyn, Elf_Rel/Rela,
      ELF_R_TYPE() and ELF_R_SYM() to either the 32-bit version or the 64-bit version
      into asm-generic/module.h for all arches bar MIPS.
      
      Also, use the generic definition mod_arch_specific where possible.
      
      To this end, I've defined three new config bools:
      
       (*) HAVE_MOD_ARCH_SPECIFIC
      
           Arches define this if they don't want to use the empty generic
           mod_arch_specific struct.
      
       (*) MODULES_USE_ELF_RELA
      
           Arches define this if their modules can contain RELA records.  This causes
           the Elf_Rela mapping to be emitted and allows apply_relocate_add() to be
           defined by the arch rather than have the core emit an error message.
      
       (*) MODULES_USE_ELF_REL
      
           Arches define this if their modules can contain REL records.  This causes
           the Elf_Rel mapping to be emitted and allows apply_relocate() to be
           defined by the arch rather than have the core emit an error message.
      
      Note that it is possible to allow both REL and RELA records: m68k and mips are
      two arches that do this.
      
      With this, some arch asm/module.h files can be deleted entirely and replaced
      with a generic-y marker in the arch Kbuild file.
      
      Additionally, I have removed the bits from m32r and score that handle the
      unsupported type of relocation record as that's now handled centrally.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      786d35d4
  24. 31 Jul, 2012 1 commit
  25. 25 May, 2012 1 commit
    • Lars-Peter Clausen's avatar
      microblaze: Do not select GENERIC_GPIO by default · 59516b07
      Lars-Peter Clausen authored
      
      The microblaze architecture does not provide a native GPIO API implementation
      nor requires GPIOLIB, but still selects GENERIC_GPIO by default. As a result the
      following build error occurs, if GPIOLIB is not selected:
      
      	include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep':
      	include/asm-generic/gpio.h:218: error: implicit declaration of function '__gpio_get_value'
      	include/asm-generic/gpio.h: In function 'gpio_set_value_cansleep':
      	include/asm-generic/gpio.h:224: error: implicit declaration of function '__gpio_set_value'
      
      This patch addresses the issue by not selecting GENERIC_GPIO by default. This
      causes the GPIO API to be stubbed out if no implementation is provided.
      Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Cc: stable@vger.kernel.org
      Tested-by: default avatarMichal Simek <monstr@monstr.eu>
      59516b07
  26. 21 May, 2012 2 commits
  27. 05 May, 2012 2 commits
  28. 23 Mar, 2012 4 commits
  29. 16 Feb, 2012 1 commit
  30. 20 Jan, 2012 1 commit
    • Daniel Borkmann's avatar
      microblaze: generic atomic64 support · eacb6ec9
      Daniel Borkmann authored
      
      This tiny patch adds generic atomic64 support for the Microblaze
      architecture.
      
      The patch is against the latest linux-2.6-microblaze tree. It also
      fixes the kernel build for microblaze:
      
      Error log:
      CC kernel/trace/trace_clock.o
      kernel/trace/trace_clock.c:117: error: expected '=', ',', ';', 'asm'
      or '__attribute__' before 'trace_counter'
      kernel/trace/trace_clock.c: In function 'trace_clock_counter':
      kernel/trace/trace_clock.c:126: error: implicit declaration of
      function 'atomic64_add_return'
      kernel/trace/trace_clock.c:126: error: 'trace_counter' undeclared
      (first use in this function)
      kernel/trace/trace_clock.c:126: error: (Each undeclared identifier is
      reported only once
      kernel/trace/trace_clock.c:126: error: for each function it appears in.)
      make[2]: *** [kernel/trace/trace_clock.o] Error 1
      make[1]: *** [kernel/trace] Error 2
      make: *** [kernel] Error 2
      Signed-off-by: default avatarAriane Keller <ariane.keller@tik.ee.ethz.ch>
      Signed-off-by: default avatarDaniel Borkmann <daniel.borkmann@tik.ee.ethz.ch>
      Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
      eacb6ec9
  31. 11 Jan, 2012 1 commit
  32. 28 Nov, 2011 1 commit
    • Michael S. Tsirkin's avatar
      microblaze: switch to GENERIC_PCI_IOMAP · 1b34d160
      Michael S. Tsirkin authored
      
      microblaze copied pci_iomap from generic code, probably to avoid
      pulling the rest of iomap.c in.  Since that's in
      a separate file now, we can reuse the common implementation.
      
      The only difference is handling of nocache flag,
      that turns out to be done correctly by the
      generic code since arch/microblaze/include/asm/io.h
      defines ioremap_nocache same as ioremap.
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      1b34d160