03 Aug, 2019

1 commit


15 Jun, 2019

1 commit


04 May, 2019

2 commits


07 Jan, 2019

1 commit

  • core/ cBPF-JIT : TODO |
    core/ eBPF-JIT : TODO |
    core/ generic-idle-thread : ok |
    core/ jump-labels : TODO |
    core/ tracehook : ok |
    debug/ KASAN : TODO |
    debug/ gcov-profile-all : TODO |
    debug/ kgdb : TODO |
    debug/ kprobes-on-ftrace : TODO |
    debug/ kprobes : TODO |
    debug/ kretprobes : TODO |
    debug/ optprobes : TODO |
    debug/ stackprotector : TODO |
    debug/ uprobes : TODO |
    debug/ user-ret-profiler : TODO |
    io/ dma-contiguous : ok |
    locking/ cmpxchg-local : TODO |
    locking/ lockdep : TODO |
    locking/ queued-rwlocks : ok |
    locking/ queued-spinlocks : TODO |
    locking/ rwsem-optimized : TODO |
    perf/ kprobes-event : TODO |
    perf/ perf-regs : TODO |
    perf/ perf-stackdump : TODO |
    sched/ membarrier-sync-core : TODO |
    sched/ numa-balancing : .. |
    seccomp/ seccomp-filter : TODO |
    time/ arch-tick-broadcast : TODO |
    time/ clockevents : ok |
    time/ context-tracking : TODO |
    time/ irq-time-acct : TODO |
    time/ modern-timekeeping : ok |
    time/ virt-cpuacct : TODO |
    vm/ ELF-ASLR : TODO |
    vm/ PG_uncached : TODO |
    vm/ THP : .. |
    vm/ batch-unmap-tlb-flush: TODO |
    vm/ huge-vmap : TODO |
    vm/ ioremap_prot : TODO |
    vm/ numa-memblock : .. |
    vm/ pte_special : TODO |

    Signed-off-by: Guo Ren
    Cc: Arnd Bergmann

    Guo Ren
     

15 Jun, 2018

1 commit

  • HAVE_CC_STACKPROTECTOR should be selected by architectures with stack
    canary implementation. It is not about the compiler support.

    For the consistency with commit 050e9baa9dc9 ("Kbuild: rename
    CC_STACKPROTECTOR[_STRONG] config variables"), remove 'CC_' from the
    config symbol.

    I moved the 'select' lines to keep the alphabetical sorting.

    Signed-off-by: Masahiro Yamada
    Acked-by: Kees Cook
    Signed-off-by: Linus Torvalds

    Masahiro Yamada
     

08 May, 2018

1 commit


26 Mar, 2018

1 commit

  • A number of architecture ports are obsolete and getting dropped,
    so we no longer want to track the respective features.

    We already removed the lines for metag and mn10300, this does
    the same edits for all the others.

    For the remaining 21 architectures, this shows how many are known
    to implement each given feature:

    19 time/modern-timekeeping/arch-support.txt
    19 time/clockevents/arch-support.txt
    15 core/tracehook/arch-support.txt
    14 core/generic-idle-thread/arch-support.txt
    13 locking/lockdep/arch-support.txt
    12 io/dma-api-debug/arch-support.txt
    11 debug/kgdb/arch-support.txt
    10 time/virt-cpuacct/arch-support.txt
    9 debug/kretprobes/arch-support.txt
    9 debug/kprobes/arch-support.txt
    8 vm/THP/arch-support.txt
    8 vm/pte_special/arch-support.txt
    8 vm/numa-memblock/arch-support.txt
    8 io/sg-chain/arch-support.txt
    7 perf/kprobes-event/arch-support.txt
    7 locking/rwsem-optimized/arch-support.txt
    7 debug/gcov-profile-all/arch-support.txt
    7 core/jump-labels/arch-support.txt
    7 core/BPF-JIT/arch-support.txt
    6 vm/ELF-ASLR/arch-support.txt
    6 time/context-tracking/arch-support.txt
    6 seccomp/seccomp-filter/arch-support.txt
    6 debug/stackprotector/arch-support.txt
    5 time/irq-time-acct/arch-support.txt
    5 io/dma-contiguous/arch-support.txt
    5 debug/uprobes/arch-support.txt
    4 vm/ioremap_prot/arch-support.txt
    4 time/arch-tick-broadcast/arch-support.txt
    4 perf/perf-stackdump/arch-support.txt
    4 perf/perf-regs/arch-support.txt
    3 debug/KASAN/arch-support.txt
    2 vm/PG_uncached/arch-support.txt
    2 vm/huge-vmap/arch-support.txt
    2 sched/numa-balancing/arch-support.txt
    2 sched/membarrier-sync-core/arch-support.txt
    2 locking/cmpxchg-local/arch-support.txt
    2 debug/optprobes/arch-support.txt
    2 debug/kprobes-on-ftrace/arch-support.txt
    1 vm/TLB/arch-support.txt
    1 locking/queued-spinlocks/arch-support.txt
    1 locking/queued-rwlocks/arch-support.txt
    1 debug/user-ret-profiler/arch-support.txt
    0 lib/strncasecmp/arch-support.txt

    Note that the list does not include riscv or nds32 yet, these still
    need to be added.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

10 Mar, 2018

1 commit


22 Feb, 2018

1 commit


30 Jan, 2018

1 commit

  • Pull Xtensa updates from Max Filippov:

    - add SSP support

    - add KASAN support

    - improvements to xtensa-specific assembly:
    - use ENTRY and ENDPROC consistently
    - clean up and unify word alignment macros
    - clean up and unify fixup marking
    - use 'call' instead of 'callx' where possible

    - various cleanups:
    - consiolidate kernel stack size related definitions
    - replace #ifdef'fed/commented out debug printk statements with
    pr_debug
    - use struct exc_table instead of flat array for exception handling
    data

    - build kernel with -mtext-section-literals; simplify xtensa linker
    script

    - fix futex_atomic_cmpxchg_inatomic()

    * tag 'xtensa-20180129' of git://github.com/jcmvbkbc/linux-xtensa: (21 commits)
    xtensa: fix futex_atomic_cmpxchg_inatomic
    xtensa: shut up gcc-8 warnings
    xtensa: print kernel sections info in mem_init
    xtensa: use generic strncpy_from_user with KASAN
    xtensa: use __memset in __xtensa_clear_user
    xtensa: add support for KASAN
    xtensa: move fixmap and kmap just above the KSEG
    xtensa: don't clear swapper_pg_dir in paging_init
    xtensa: extract init_kio
    xtensa: implement early_trap_init
    xtensa: clean up exception handling structure
    xtensa: clean up custom-controlled debug output
    xtensa: enable stack protector
    xtensa: print hardware config ID on startup
    xtensa: consolidate kernel stack size related definitions
    xtensa: clean up functions in assembly code
    xtensa: clean up word alignment macros in assembly code
    xtensa: clean up fixups in assembly code
    xtensa: use call instead of callx in assembly code
    xtensa: build kernel with text-section-literals
    ...

    Linus Torvalds
     

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
     
  • The implementation is adopted from the ARM arch. GCC 7.3, 8 or newer is
    required for building the xtensa kernel with SSP.

    Signed-off-by: Max Filippov

    Max Filippov
     

04 Oct, 2017

1 commit


06 May, 2017

1 commit

  • Pull powerpc updates from Michael Ellerman:
    "Highlights include:

    - Larger virtual address space on 64-bit server CPUs. By default we
    use a 128TB virtual address space, but a process can request access
    to the full 512TB by passing a hint to mmap().

    - Support for the new Power9 "XIVE" interrupt controller.

    - TLB flushing optimisations for the radix MMU on Power9.

    - Support for CAPI cards on Power9, using the "Coherent Accelerator
    Interface Architecture 2.0".

    - The ability to configure the mmap randomisation limits at build and
    runtime.

    - Several small fixes and cleanups to the kprobes code, as well as
    support for KPROBES_ON_FTRACE.

    - Major improvements to handling of system reset interrupts,
    correctly treating them as NMIs, giving them a dedicated stack and
    using a new hypervisor call to trigger them, all of which should
    aid debugging and robustness.

    - Many fixes and other minor enhancements.

    Thanks to: Alastair D'Silva, Alexey Kardashevskiy, Alistair Popple,
    Andrew Donnellan, Aneesh Kumar K.V, Anshuman Khandual, Anton
    Blanchard, Balbir Singh, Ben Hutchings, Benjamin Herrenschmidt,
    Bhupesh Sharma, Chris Packham, Christian Zigotzky, Christophe Leroy,
    Christophe Lombard, Daniel Axtens, David Gibson, Gautham R. Shenoy,
    Gavin Shan, Geert Uytterhoeven, Guilherme G. Piccoli, Hamish Martin,
    Hari Bathini, Kees Cook, Laurent Dufour, Madhavan Srinivasan, Mahesh J
    Salgaonkar, Mahesh Salgaonkar, Masami Hiramatsu, Matt Brown, Matthew
    R. Ochs, Michael Neuling, Naveen N. Rao, Nicholas Piggin, Oliver
    O'Halloran, Pan Xinhui, Paul Mackerras, Rashmica Gupta, Russell
    Currey, Sukadev Bhattiprolu, Thadeu Lima de Souza Cascardo, Tobin C.
    Harding, Tyrel Datwyler, Uma Krishnan, Vaibhav Jain, Vipin K Parashar,
    Yang Shi"

    * tag 'powerpc-4.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (214 commits)
    powerpc/64s: Power9 has no LPCR[VRMASD] field so don't set it
    powerpc/powernv: Fix TCE kill on NVLink2
    powerpc/mm/radix: Drop support for CPUs without lockless tlbie
    powerpc/book3s/mce: Move add_taint() later in virtual mode
    powerpc/sysfs: Move #ifdef CONFIG_HOTPLUG_CPU out of the function body
    powerpc/smp: Document irq enable/disable after migrating IRQs
    powerpc/mpc52xx: Don't select user-visible RTAS_PROC
    powerpc/powernv: Document cxl dependency on special case in pnv_eeh_reset()
    powerpc/eeh: Clean up and document event handling functions
    powerpc/eeh: Avoid use after free in eeh_handle_special_event()
    cxl: Mask slice error interrupts after first occurrence
    cxl: Route eeh events to all drivers in cxl_pci_error_detected()
    cxl: Force context lock during EEH flow
    powerpc/64: Allow CONFIG_RELOCATABLE if COMPILE_TEST
    powerpc/xmon: Teach xmon oops about radix vectors
    powerpc/mm/hash: Fix off-by-one in comment about kernel contexts ids
    powerpc/pseries: Enable VFIO
    powerpc/powernv: Fix iommu table size calculation hook for small tables
    powerpc/powernv: Check kzalloc() return value in pnv_pci_table_alloc
    powerpc: Add arch/powerpc/tools directory
    ...

    Linus Torvalds
     

01 May, 2017

1 commit


24 Apr, 2017

1 commit

  • Allow kprobes to be placed on ftrace _mcount() call sites. This optimization
    avoids the use of a trap, by riding on ftrace infrastructure.

    This depends on HAVE_DYNAMIC_FTRACE_WITH_REGS which depends on MPROFILE_KERNEL,
    which is only currently enabled on powerpc64le with newer toolchains.

    Based on the x86 code by Masami.

    Signed-off-by: Naveen N. Rao
    Signed-off-by: Michael Ellerman

    Naveen N. Rao
     

13 Oct, 2015

1 commit


03 Sep, 2015

1 commit


03 Jun, 2015

10 commits