1. 28 5月, 2014 5 次提交
  2. 27 5月, 2014 2 次提交
    • F
      m68k: Toward platform agnostic framebuffer debug logging · 97f3f68c
      Finn Thain 提交于
      Code subject to #ifdef CONSOLE is made more generic, as was apparently
      intended by the original author.
      
      Remove console_put_stats() routine. If it should be somehow useful, it
      should also be useful on platforms without framebuffer debug logging. The
      present implementation is only built #if defined CONFIG_MAC && defined
      CONSOLE even though puts() works everywhere.
      Signed-off-by: NFinn Thain <fthain@telegraphics.com.au>
      Tested-by: NStephen N Chivers <schivers@csc.com.au>
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      97f3f68c
    • M
      m68k/atari - stram: alloc ST-RAM pool even if kernel not in ST-RAM · fded332b
      Michael Schmitz 提交于
      With the kernel loaded to FastRAM (TT-RAM), none of the ST-RAM
      address range is mapped by init_mem, and ST-RAM is not accessible
      through the normal allocation pathways as a result.
      
      Implement ST-RAM pool allocation to be based on physical addresses
      always (it already was when the kernel was loaded in ST-RAM).
      Return kernel virtual addresses as per normal.
      
      The current test for the kernel residing in ST-RAM always returns
      true. Use the bootinfo memory chunk order instead - with the kernel
      in FastRAM, ST-RAM (phys. 0x0) is not the first chunk.
      
      In case the kernel is running from FastRAM, delay mapping of ST-RAM
      pool until after mem_init.
      
      Provide helper functions for those users of ST-RAM that need
      to be aware of the backing physical addresses.
      
      Kudos to Geert for his hints on getting this started.
      Signed-off-by: NMichael Schmitz <schmitz@debian.org>
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      fded332b
  3. 20 5月, 2014 1 次提交
  4. 08 4月, 2014 1 次提交
  5. 31 3月, 2014 1 次提交
  6. 20 3月, 2014 1 次提交
  7. 19 3月, 2014 1 次提交
  8. 11 3月, 2014 5 次提交
  9. 06 3月, 2014 1 次提交
  10. 05 3月, 2014 1 次提交
    • T
      m68k: Do not rely on magic indirect includes · abcfc543
      Thomas Gleixner 提交于
      commit: 8f945a33 (genirq: Move kstat_incr_irqs_this_cpu() to core)
      unearthed the following:
      
      arch/m68k/kernel/ints.c:34:15: error: variable 'auto_irq_chip' has initializer but incomplete type
      arch/m68k/kernel/ints.c:35:2: error: unknown field 'name' specified in initializer
      arch/m68k/kernel/ints.c:35:2: warning: excess elements in struct initializer [enabled by default]
      
      The reason is that this file requires linux/irq.h and magically
      pulled that in via linux/kernel_stat.h
      
      The commit above got rid of the pointless include of linux/irq.h in
      linux/kernel_stat.h and therefor broke the build.
      
      Include linux/irq.h
      
      Reported-by: fengguang.wu@intel.com
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      abcfc543
  11. 11 2月, 2014 3 次提交
  12. 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
  13. 19 1月, 2014 1 次提交
  14. 16 1月, 2014 1 次提交
  15. 13 1月, 2014 1 次提交
    • M
      m68k/irq - Use polled IRQ flag for MFP timer cascaded interrupts · a0b7b242
      Michael Schmitz 提交于
      Some Atari hardware has no capacity to raise interrupts (e.g.
      network or USB adapter hardware attached via ROM port). The driver
      interrupt routine is called from a timer interrupt (timer D) in
      these cases, using chained device specific pseudo interrupts
      (IRQ_MFP_TIMER1 ff.)
      
      These interrupts will more often than not, return IRQ_NONE as
      there is not always work for the device handler when called.
      Too many unhandled interrupts will result in the interrupt
      being disabled by the stuck interrupt watchdog.
      
      As preferred option to flag interrupts as needing exclusion
      from the watchdog mechanism, tglx added the IRQ_IS_POLLED flag
      for use in such a case. Currently, two interrupts need to use
      this flag. Add more users as needed.
      Signed-off-by: NMichael Schmitz <schmitz@debian.org>
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      a0b7b242
  16. 12 1月, 2014 1 次提交
  17. 31 12月, 2013 7 次提交
  18. 18 12月, 2013 1 次提交
  19. 08 12月, 2013 4 次提交