1. 17 10月, 2007 4 次提交
  2. 16 10月, 2007 1 次提交
  3. 14 10月, 2007 16 次提交
  4. 05 10月, 2007 3 次提交
  5. 04 10月, 2007 3 次提交
  6. 01 10月, 2007 1 次提交
  7. 28 9月, 2007 1 次提交
  8. 17 9月, 2007 2 次提交
    • D
      [SPARC64]: Warn user if cpu is ignored. · 8a177c4f
      David S. Miller 提交于
      When NR_CPUS is smaller than the cpu probed, let the user
      know that the cpu won't be used.
      
      Suggested by Al Viro.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8a177c4f
    • D
      [SPARC64]: Fix lockdep, particularly on SMP. · 301feb65
      David S. Miller 提交于
      As noted by Al Viro, when we try to call prom_set_trap_table()
      in the SMP trampoline code we try to take the PROM call spinlock
      which doesn't work because the current thread pointer isn't
      valid yet and lockdep depends upon that being correct.
      
      Furthermore, we cannot set the current thread pointer register
      because it can't be properly dereferenced until we return from
      prom_set_trap_table().  Kernel TLB misses only work after that
      call.
      
      So do the PROM call to set the trap table directly instead of
      going through the OBP library C code, and thus avoid the lock
      altogether.
      
      These calls are guarenteed to be serialized fully.
      
      Since there are now no calls to the prom_set_trap_table{_sun4v}()
      library functions, they can be deleted.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      301feb65
  9. 12 9月, 2007 1 次提交
  10. 31 8月, 2007 2 次提交
    • D
      [SPARC64]: Fix several bugs in MSI handling. · 5f92c329
      David S. Miller 提交于
      1) sun4{u,v}_build_msi() have improper return value handling.
      
         We should always return negative error codes, instead of
         using the magic value "0" which could in fact be a valid
         MSI number.
      
      2) sun4{u,v}_build_msi() should return -ENOMEM instead of
         calling prom_prom() halt with kzalloc() of the interrupt
         data fails.
      
      3) We 'remembered' the MSI number using a singleton in the
         struct device archdata area, this doesn't work for MSI-X
         which can cause multiple MSIs assosciated with one device.
      
         Delete that archdata member, and instead store the MSI
         number in the IRQ chip data area.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5f92c329
    • D
      [SPARC64]: Fix type and constant sizes wrt. sun4u IMAP/ICLR handling. · 6e69d606
      David S. Miller 提交于
      Sometimes we were using 32-bit values and the top bits were
      getting inadvertantly chopped off.  This will matter for the
      forthcoming Fire controller MSI support.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6e69d606
  11. 16 8月, 2007 4 次提交
  12. 09 8月, 2007 2 次提交