1. 04 May, 2011 2 commits
    • Chris Metcalf's avatar
      arch/tile: allow nonatomic stores to interoperate with fast atomic syscalls · df29ccb6
      Chris Metcalf authored
      This semantic was already true for atomic operations within the kernel,
      and this change makes it true for the fast atomic syscalls (__NR_cmpxchg
      and __NR_atomic_update) as well.  Previously, user-space had to use
      the fast atomic syscalls exclusively to update memory, since raw stores
      could lose a race with the atomic update code even when the atomic update
      hadn't actually modified the value.
      
      With this change, we no longer write back the value to memory if it
      hasn't changed.  This allows certain types of idioms in user space to
      work as expected, e.g. "atomic exchange" to acquire a spinlock, followed
      by a raw store of zero to release the lock.
      Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
      df29ccb6
    • Chris Metcalf's avatar
      arch/tile: improve support for PCI hotplug · 398fa5a9
      Chris Metcalf authored
      Note that this is not complete hot-plug support; hot-unplug is not included.
      Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
      398fa5a9
  2. 02 May, 2011 2 commits
    • Chris Metcalf's avatar
      arch/tile: support TIF_NOTIFY_RESUME · 313ce674
      Chris Metcalf authored
      This support is required for CONFIG_KEYS, NFSv4 kernel DNS, etc.
      The change is slightly more complex than the minimal thing, since
      I took advantage of having to go into the assembly code to just
      move a bunch of stuff into C code: specifically, the schedule(),
      do_async_page_fault(), do_signal(), and single_step_once() support,
      in addition to the TIF_NOTIFY_RESUME support.
      Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
      313ce674
    • Chris Metcalf's avatar
      arch/tile: refactor backtracing code · 93013a0f
      Chris Metcalf authored
      This change is the result of some work to make the backtrace code more
      shareable between kernel, libc, and gdb.
      
      For the kernel, some good effects are to eliminate the hacky
      "VirtualAddress" typedef in favor of "unsigned long", to eliminate a
      bunch of spurious kernel doc comments, to remove the dead "bt_read_memory"
      function, and to use "__tilegx__" in #ifdefs instead of "TILE_CHIP".
      Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
      93013a0f
  3. 27 Apr, 2011 2 commits
  4. 26 Apr, 2011 15 commits
  5. 25 Apr, 2011 13 commits
  6. 24 Apr, 2011 6 commits