04 Nov, 2011

1 commit

  • The kernel code was using some headers that included a mix
    of hardware-specific information (typically found in Tilera
    headers) and structures, enums, and function declarations supporting
    the disassembly function of the tile-desc.c sources.

    This change refactors that code so that a hardware-specific, but
    OS- and application-agnostic header, is created: .
    This header is then exported to userspace along with the other
    headers and can be used to build userspace code; in particular,
    it is used by glibc as part of implementing the backtrace() function.

    The new header, together with a header that specifically describes
    the disassembly code ( with _32 and _64 variants),
    replaces the old and
    headers.

    As part of this change, we are also renaming the 32-bit constants
    from TILE_xxx to TILEPRO_xxx to better reflect the fact that they
    are specific to the TILEPro architecture, and not to TILE-Gx
    and any successor "tile" architecture chips.

    Signed-off-by: Chris Metcalf

    Chris Metcalf
     

03 May, 2011

1 commit

  • 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: Chris Metcalf

    Chris Metcalf
     

07 Jul, 2010

1 commit

  • The C file (tile-desc_{32,64}.c) was about 300KB before this change,
    and is now shrunk down to 100K. The original file included support
    for BFD in the binutils toolchain, which is not necessary in the
    kernel; the kernel version only needs to include enough support to
    enable the single-stepper and backtracer.

    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