Skip to content
Permalink
Tree: fa1981bee4
Commits on Jan 28, 2019
Commits on Jan 10, 2019
  1. kmsan: fix asm-goto build

    ramosian-glider committed Jan 10, 2019
    See ClangBuiltLinux/linux#6 for details
  2. Revert "x86 uaccess: Introduce __put_user_goto"

    ramosian-glider committed Jan 10, 2019
    This reverts commit 4a78921.
  3. kmsan: reimplement metadata_is_contiguous() and memcpy/memmove impl

    ramosian-glider committed Jan 9, 2019
    Make sure metadata_is_contiguous() really checks for metadata pages
    being contiguous.
    Rewrite kmsan_memcpy_memmove_metadata() assuming the metadata is always
    contiguous.
  4. block: kmsan: don't merge physical pages in scatterlists

    ramosian-glider committed Jan 9, 2019
    We're trying to move away from non-consequent metadata, and merged
    physical pages break the assumption that memory accesses may only touch
    consequent metadata ranges.
  5. kmsan: fix a minor nit, NFC

    ramosian-glider committed Jan 7, 2019
    kmsan_get_metadata_or_null() was incorrectly called for origin instead
    of shadow. Fortunately we didn't use the result except for checking it
    for being NULL (which doesn't differ for shadow and origin)
  6. kmsan: BUG_ON(!metadata_is_contiguous())

    ramosian-glider committed Jan 4, 2019
    Now that every metadata range is allocated contiguous, non-contiguous
    accesses can only happen in the case of an error.
  7. kmsan: remove pr_err

    ramosian-glider committed Jan 4, 2019
  8. kmsan: improve init

    ramosian-glider committed Jan 4, 2019
    Split kmsan_initialize_shadow() into two parts:
     - kmsan_initialize_shadow() that's called from mm_init() and allocates
    shadow for memblock regions and kernel .data using the memblock
    allocator itself;
     - kmsan_initialize() that just sets up the init task and turns KMSAN
    on.
  9. kmsan: highmem: use kmsan_clear_page() in copy_user_highpage()

    ramosian-glider committed Dec 24, 2018
    We don't need to copy anything because there're no source shadow pages
  10. kmsan: drop kmsan_clear_user_page()

    ramosian-glider committed Dec 24, 2018
    User pages don't have shadow.
  11. highmem: don't call kmsan_clear_user_page()

    ramosian-glider committed Dec 24, 2018
    This function just doesn't make sense, user pages don't have shadow.
  12. kmsan: use per-cpu variable for runtime reentrancy counter

    ramosian-glider committed Dec 24, 2018
    Storing in_runtime in task_struct may lead to errors when accessing it
    from interrupts or scheduler code.
    Because interrupts are disabled between ENTER_RUNTIME/LEAVE_RUNTIME,
    keeping one counter per CPU should be enough.
  13. kmsan: make the check in LEAVE_RUNTIME() more verbose

    ramosian-glider committed Dec 21, 2018
    hope this will help debug syzbot failures
  14. Revert "kmsan: stop using is_logbuf_locked()"

    ramosian-glider committed Dec 21, 2018
    This reverts commit 802bab9.
    
    Spurious crashes in LEAVE_RUNTIME started showing up on syzbot
  15. Revert "kmsan: printk: remove logbuf_lock_is_locked"

    ramosian-glider committed Dec 21, 2018
    This reverts commit 7b8a9a5.
  16. kmsan: page_alloc: remove unnecessary kmsan_unpoison_shadow()

    ramosian-glider committed Dec 20, 2018
    These calls were left over from the times when we didn't instrument
    page_alloc.c
Older
You can’t perform that action at this time.