1. 23 10月, 2014 1 次提交
  2. 26 8月, 2014 2 次提交
  3. 20 8月, 2014 1 次提交
  4. 19 8月, 2014 1 次提交
  5. 23 5月, 2014 2 次提交
  6. 30 4月, 2014 1 次提交
  7. 30 10月, 2013 1 次提交
  8. 26 8月, 2013 1 次提交
  9. 22 6月, 2013 1 次提交
  10. 18 6月, 2013 1 次提交
    • R
      MIPS: Oceton: Fix build error. · 39205750
      Ralf Baechle 提交于
      If CONFIG_CAVIUM_OCTEON_LOCK_L2_TLB, CONFIG_CAVIUM_OCTEON_LOCK_L2_EXCEPTION,
      CONFIG_CAVIUM_OCTEON_LOCK_L2_LOW_LEVEL_INTERRUPT and
      CONFIG_CAVIUM_OCTEON_LOCK_L2_INTERRUPT are all undefined:
      
      arch/mips/cavium-octeon/setup.c: In function ‘prom_init’:
      arch/mips/cavium-octeon/setup.c:715:12: error: unused variable ‘ebase’ [-Werror=unused-variable]
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      39205750
  11. 11 6月, 2013 1 次提交
  12. 06 6月, 2013 1 次提交
    • D
      MIPS: OCTEON: Improve _machine_halt implementation. · 38c3c0f6
      David Daney 提交于
      As noted by Wladislav Wiebe:
         $ halt
         ..
         Sent SIGKILL to all processes
         Requesting system halt
         [66.729373] System halted.
         [66.733244]
         [66.734761] =====================================
         [66.739473] [ BUG: lock held at task exit time! ]
         [66.744188] 3.8.7-0-sampleversion-fct #49 Tainted: G           O
         [66.750202] -------------------------------------
         [66.754913] init/21479 is exiting with locks still held!
         [66.760234] 1 lock held by init/21479:
         [66.763990]  #0:  (reboot_mutex){+.+...}, at: [<ffffffff801776c8>] SyS_reboot+0xe0/0x218
         [66.772165]
         [66.772165] stack backtrace:
         [66.776532] Call Trace:
         [66.778992] [<ffffffff805780a8>] dump_stack+0x8/0x34
         [66.783972] [<ffffffff801618b0>] do_exit+0x610/0xa70
         [66.788948] [<ffffffff801777a8>] SyS_reboot+0x1c0/0x218
         [66.794186] [<ffffffff8013d6a4>] handle_sys64+0x44/0x64
      
      This is an alternative fix to the one sent by Wladislav.  We kill the
      watchdog for each CPU and then spin in WAIT with interrupts disabled.
      This is the lowest power mode for the OCTEON.  If we were to spin with
      interrupts enabled, we would get a continual stream of warning messages
      and backtraces from the lockup detector, so I chose to disable
      interrupts.
      Signed-off-by: NDavid Daney <david.daney@cavium.com>
      Cc: Maxim Uvarov <muvarov@gmail.com>
      Cc: Wladislav Wiebe <wladislav.kw@gmail.com>
      Cc: linux-mips@linux-mips.org
      Cc: David Daney <david.daney@cavium.com>
      Patchwork: https://patchwork.linux-mips.org/patch/5324/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      38c3c0f6
  13. 05 4月, 2013 1 次提交
  14. 01 2月, 2013 1 次提交
  15. 14 12月, 2012 2 次提交
  16. 12 12月, 2012 4 次提交
  17. 01 9月, 2012 1 次提交
  18. 23 7月, 2012 1 次提交
  19. 15 5月, 2012 1 次提交
  20. 29 3月, 2012 1 次提交
  21. 08 12月, 2011 2 次提交
    • D
      MIPS: Handle initmem in systems with kernel not in add_memory_region() mem · 43064c0c
      David Daney 提交于
      This patch addresses a couple of related problems:
      
      1) The kernel may reside in physical memory outside of the ranges set
         by plat_mem_setup().  If this is the case, init mem cannot be
         reused as it resides outside of the range of pages that the kernel
         memory allocators control.
      
      2) initrd images might be loaded in physical memory outside of the
         ranges set by plat_mem_setup().  The memory likewise cannot be
         reused.  The patch doesn't handle this specific case, but the
         infrastructure is useful for future patches that do.
      
      The crux of the problem is that there are memory regions that need be
      memory_present(), but that cannot be free_bootmem() at the time of
      arch_mem_init().  We create a new type of memory (BOOT_MEM_INIT_RAM)
      for use with add_memory_region().  Then arch_mem_init() adds the init
      mem with this type if the init mem is not already covered by existing
      ranges.
      
      When memory is being freed into the bootmem allocator, we skip the
      BOOT_MEM_INIT_RAM ranges so they are not clobbered, but we do signal
      them as memory_present().  This way when they are later freed, the
      necessary memory manager structures have initialized and the Sparse
      allocater is prevented from crashing.
      
      The Octeon specific code that handled this case is removed, because
      the new general purpose code handles the case.
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      To: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/1988/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      43064c0c
    • R
      MIPS: Fix up inconsistency in panic() string argument. · ab75dc02
      Ralf Baechle 提交于
      Panic() invokes printk() to add a \n internally, so panic arguments should
      not themselves end in \n.  Panic invocations in arch/mips and elsewhere
      are inconsistently sometimes terminating in \n, sometimes not.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      ab75dc02
  22. 19 5月, 2011 1 次提交
  23. 31 3月, 2011 1 次提交
  24. 29 3月, 2011 1 次提交
    • D
      MIPS: Octeon: Rewrite interrupt handling code. · 0c326387
      David Daney 提交于
      This includes conversion to new style irq_chip functions, and
      correctly enabling/disabling per-CPU interrupts.
      
      The hardware interrupt bit to irq number mapping is now done with a
      flexible map, instead of by bit twiddling the irq number.
      
      [ tglx: Adjusted to new irq_cpu_on/offline callbacks and
              __irq_set_affinity_lock ]
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      Cc: linux-mips@linux-mips.org
      Cc: ralf@linux-mips.org
      LKML-Reference: <1301081931-11240-5-git-send-email-ddaney@caviumnetworks.com>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      0c326387
  25. 30 10月, 2010 3 次提交
  26. 05 8月, 2010 4 次提交
  27. 22 5月, 2010 2 次提交