21 Aug, 2020

1 commit


09 Jul, 2019

1 commit

  • Provide abi_entry, abi_entry_default, abi_ret and abi_ret_default macros
    that allocate aligned stack frame in windowed and call0 ABIs.
    Provide XTENSA_SPILL_STACK_RESERVE macro that specifies required stack
    frame size when register spilling is involved.
    Replace all uses of 'entry' and 'retw' with the above macros.
    This makes most of the xtensa assembly code ready for XEA3 and call0 ABI.

    Signed-off-by: Max Filippov

    Max Filippov
     

31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 3029 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

21 May, 2019

1 commit


07 May, 2019

1 commit


17 Dec, 2017

2 commits

  • Cover kernel addresses above 0x90000000 by the shadow map. Enable
    HAVE_ARCH_KASAN when MMU is enabled. Provide kasan_early_init that fills
    shadow map with writable copies of kasan_zero_page. Call
    kasan_early_init right after mmu initialization in the setup_arch.
    Provide kasan_init that allocates proper shadow map pages from the
    memblock and puts these pages into the shadow map for addresses from
    VMALLOC area to the end of KSEG. Call kasan_init right after memblock
    initialization. Don't use KASAN for the boot code, MMU and KASAN
    initialization and page fault handler. Make kernel stack size 4 times
    larger when KASAN is enabled to avoid stack overflows.
    GCC 7.3, 8 or newer is required to build the xtensa kernel with KASAN.

    Signed-off-by: Max Filippov

    Max Filippov
     
  • Replace #ifdef'fed/commented out debug printk statements with pr_debug.
    Replace printk statements with pr_* equivalents.

    Signed-off-by: Max Filippov

    Max Filippov
     

11 Dec, 2017

3 commits


29 Mar, 2017

1 commit


02 Nov, 2015

1 commit

  • Build-time fixes:
    - make lbeg/lend/lcount save/restore conditional on kernel entry;
    - don't clear lcount in platform_restart functions unconditionally.

    Run-time fixes:
    - use correct end of range register in __endla paired with __loopt, not
    the unused temporary register. This fixes .bss zero-initialization.
    Update comments in asmmacro.h;
    - don't clobber a10 in the usercopy that leads to access to unmapped
    memory.

    Cc:
    Signed-off-by: Max Filippov

    Max Filippov
     

19 Dec, 2012

2 commits


16 Oct, 2012

1 commit


07 Nov, 2008

1 commit

  • Move all header files for xtensa to arch/xtensa/include and platform and
    variant header files to the appropriate arch/xtensa/platforms/ and
    arch/xtensa/variants/ directories.

    Moving the files gets also rid of all uses of symlinks in the Makefile.

    This has been completed already for the majority of the architectures
    and xtensa is one out of six missing.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: Chris Zankel

    Chris Zankel
     

01 Jun, 2007

1 commit


26 Apr, 2007

1 commit


11 Dec, 2006

1 commit

  • The Xtensa port contained many header files that were never needed. This
    rather lengthy patch removes all those files. Unfortunately, there were
    many dependencies that needed to be updated, so this patch touches quite a
    few source files.

    Signed-off-by: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Zankel
     

04 Oct, 2006

2 commits

  • Many files include the filename at the beginning, serveral used a wrong one.

    Signed-off-by: Uwe Zeisberger
    Signed-off-by: Adrian Bunk

    Uwe Zeisberger
     
  • The patch below corrects multiple occurances of "the the"
    typos across several files, both in source comments and KConfig files.
    There is no actual code changed, only text. Note this only affects the /arch
    directory, and I believe I could find many more elsewhere. :)

    Signed-off-by: Adrian Bunk

    Matt LaPlante
     

24 Jun, 2005

1 commit