13 Aug, 2010

1 commit

  • This change rolls up random cleanups not representing any actual bugs.

    - Remove a stale CONFIG_ value from the default tile_defconfig
    - Remove unused tns_atomic_xxx() family of methods from
    - Optimize get_order() using Tile's "clz" instruction
    - Fix a bad hypervisor upcall name (not currently used in Linux anyway)
    - Use __copy_in_user_inatomic() name for consistency, and export it
    - Export some additional hypervisor driver I/O upcalls and some homecache calls
    - Remove the obfuscating MEMCPY_TEST_WH64 support code
    - Other stray comment cleanups, #if 0 removal, etc.

    Signed-off-by: Chris Metcalf

    Chris Metcalf
     

07 Jul, 2010

3 commits

  • This commit is primarily changes caused by reviewing "sparse"
    and "checkpatch" output on our sources, so is somewhat noisy, since
    things like "printk() -> pr_err()" (or whatever) throughout the
    codebase tend to get tedious to read. Rather than trying to tease
    apart precisely which things changed due to which type of code
    review, this commit includes various cleanups in the code:

    - sparse: Add declarations in headers for globals.
    - sparse: Fix __user annotations.
    - sparse: Using gfp_t consistently instead of int.
    - sparse: removing functions not actually used.
    - checkpatch: Clean up printk() warnings by using pr_info(), etc.;
    also avoid partial-line printks except in bootup code.
    - checkpatch: Use exposed structs rather than typedefs.
    - checkpatch: Change some C99 comments to C89 comments.

    In addition, a couple of minor other changes are rolled in
    to this commit:

    - Add support for a "raise" instruction to cause SIGFPE, etc., to be raised.
    - Remove some compat code that is unnecessary when we fully eliminate
    some of the deprecated syscalls from the generic syscall ABI.
    - Update the tile_defconfig to reflect current config contents.

    Signed-off-by: Chris Metcalf
    Acked-by: Arnd Bergmann

    Chris Metcalf
     
  • This code is used in other places in our system than in Linux, so
    to share it we now implement it as an inline function in our low-level
    headers, and instantiate it in one file in Linux's arch/tile/lib.
    The file is now cacheflush.c and is C code rather than the strangely-named
    and assembler-implemented __invalidate_icache.S.

    Signed-off-by: Chris Metcalf
    Acked-by: Arnd Bergmann

    Chris Metcalf
     
  • This wasn't properly tested until the perf-event subsystem started
    to get brought up under the tile architecture.

    The bug caused bogus atomic64_cmpxchg() values to be returned,
    among other things.

    Signed-off-by: Chris Metcalf
    Acked-by: Arnd Bergmann

    Chris Metcalf
     

05 Jun, 2010

1 commit

  • This change is the core kernel support for TILEPro and TILE64 chips.
    No driver support (except the console driver) is included yet.

    This includes the relevant Linux headers in asm/; the low-level
    low-level "Tile architecture" headers in arch/, which are
    shared with the hypervisor, etc., and are build-system agnostic;
    and the relevant hypervisor headers in hv/.

    Signed-off-by: Chris Metcalf
    Acked-by: Arnd Bergmann
    Acked-by: FUJITA Tomonori
    Reviewed-by: Paul Mundt

    Chris Metcalf