Hi Alex,
Please consider following linaro-android pull request for "linux-linaro-lsk-v4.4-android" LSK branch.
KernelCI link for linaro-android trees is down and didn't do much of local build testing either. Relying on KernelCI build bot results for linux-linaro-lsk-v4.4-android tree for any build/boot breakage reporting.
Boot tested on Qemu (qemu-system-arm) with an older kernel config(vexpress defconfig + android config fragments) + an older AOSP userspace. Kernel config with newer android config fragment changes failed to boot. I didn't debug that part yet. Lets see if KernelCI boot tests can catch that and help it narrow down to fewer config changes to start with.
Regards, Amit Pundir
The following changes since commit 2cea360fea5e5e1cb69496612466be2b99254096:
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android (2017-12-19 13:08:40 +0800)
are available in the git repository at:
git://android.git.linaro.org/kernel/linaro-android lsk-v4.4-android
for you to fetch changes up to 7b766f0b6c992a2444e4dc5ca5af3ac66f19fc86:
UPSTREAM: arm64: setup: introduce kaslr_offset() (2017-12-19 14:53:34 +0530)
---------------------------------------------------------------- Alexander Popov (2): UPSTREAM: kcov: make kcov work properly with KASLR enabled UPSTREAM: arm64: setup: introduce kaslr_offset()
Alexander Potapenko (13): UPSTREAM: mm, kasan: SLAB support BACKPORT: mm, kasan: add GFP flags to KASAN API BACKPORT: mm, kasan: stackdepot implementation. Enable stackdepot for SLAB UPSTREAM: mm, kasan: fix compilation for CONFIG_SLAB UPSTREAM: lib/stackdepot.c: allow the stack trace hash to be zero UPSTREAM: mm: kasan: initial memory quarantine implementation UPSTREAM: kasan: avoid overflowing quarantine size on low memory systems UPSTREAM: kasan: remove the unnecessary WARN_ONCE from quarantine.c UPSTREAM: kasan: modify kmalloc_large_oob_right(), add kmalloc_pagealloc_oob_right() UPSTREAM: kasan: test fix: warn if the UAF could not be detected in kmalloc_uaf2 UPSTREAM: mm, kasan: add a ksize() test UPSTREAM: x86, kasan, ftrace: Put APIC interrupt handlers into .irqentry.text UPSTREAM: arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections
Andrey Konovalov (10): UPSTREAM: kasan: introduce helper functions for determining bug type UPSTREAM: kasan: unify report headers UPSTREAM: kasan: change allocation and freeing stack traces headers UPSTREAM: kasan: simplify address description logic UPSTREAM: kasan: change report header UPSTREAM: kasan: improve slab object description UPSTREAM: kasan: print page description after stacks UPSTREAM: kasan: improve double-free report format UPSTREAM: kasan: separate report parts by empty lines UPSTREAM: kcov: properly check if we are in an interrupt
Andrey Ryabinin (13): UPSTREAM: mm/kasan: print name of mem[set,cpy,move]() caller in report BACKPORT: mm/kasan: add API to check memory regions UPSTREAM: mm: mempool: kasan: don't poot mempool objects in quarantine UPSTREAM: mm/kasan: fix corruptions and false positive reports UPSTREAM: mm/kasan: don't reduce quarantine in atomic contexts UPSTREAM: mm/kasan, slub: don't disable interrupts when object leaves quarantine UPSTREAM: mm: kasan: remove unused 'reserved' field from struct kasan_alloc_meta UPSTREAM: mm/kasan: get rid of ->alloc_size in struct kasan_alloc_meta BACKPORT: mm/kasan: get rid of ->state in struct kasan_alloc_meta UPSTREAM: kasan: improve double-free reports UPSTREAM: kasan/tests: add tests for user memory access functions UPSTREAM: kcov: don't profile branches in kcov UPSTREAM: kcov: remove pointless current != NULL check
Arnd Bergmann (1): UPSTREAM: android: binder: fix type mismatch warning
Chris Wilson (1): UPSTREAM: lib/stackdepot: export save/fetch stack for drivers
Colin Ian King (1): UPSTREAM: kasan: make get_wild_bug_type() static
Dmitry Vyukov (11): BACKPORT: kprobes: Unpoison stack in jprobe_return() for KASAN UPSTREAM: lib/stackdepot.c: bump stackdepot capacity from 16MB to 128MB UPSTREAM: kasan: support use-after-scope detection UPSTREAM: kasan: support panic_on_warn UPSTREAM: kasan: eliminate long stalls during quarantine reduction UPSTREAM: kasan: resched in quarantine_remove_cache() UPSTREAM: kasan: fix races in quarantine_remove_cache() BACKPORT: kernel: add kcov code coverage UPSTREAM: kcov: simplify interrupt check UPSTREAM: kcov: support compat processes UPSTREAM: kcov: fix comparison callback signature
Geert Uytterhoeven (1): BACKPORT: arm64: Use __pa_symbol for empty_zero_page
Greg Thelen (1): BACKPORT: kasan: drain quarantine of memcg slab objects
Ingo Molnar (1): BACKPORT: kasan, sched/headers: Uninline kasan_enable/disable_current()
Jaegeuk Kim (1): f2fs: updates on 4.15-rc1
James Morse (1): UPSTREAM: kcov: don't trace the code coverage code
Joe Perches (1): BACKPORT: mm: coalesce split strings
John Stultz (2): BACKPORT: time: Fix CLOCK_MONOTONIC_RAW sub-nanosecond accounting BACKPORT: time: Clean up CLOCK_MONOTONIC_RAW time handling
Joonsoo Kim (6): UPSTREAM: mm/slab: alternative implementation for DEBUG_SLAB_LEAK UPSTREAM: mm/slab: remove object status buffer for DEBUG_SLAB_LEAK UPSTREAM: mm/slab: factor out debugging initialization in cache_init_objs() UPSTREAM: mm/slab: align cache size first before determination of OFF_SLAB candidate UPSTREAM: lib/stackdepot: avoid to return 0 handle UPSTREAM: kasan/quarantine: fix bugs on qlist_move_cache()
Josh Poimboeuf (1): UPSTREAM: x86/suspend: fix false positive KASAN warning on suspend/resume
Ke Wang (1): sched: EAS/WALT: Don't take into account of running task's util
Kefeng Wang (2): UPSTREAM: kcov: add missing #include <linux/sched.h> UPSTREAM: kcov: add more missing includes
Kirill A. Shutemov (1): UPSTREAM: lib/stackdepot.c: use __GFP_NOWARN for stack allocations
Laura Abbott (2): UPSTREAM: mm: Introduce lm_alias BACKPORT: arm64: Use __pa_symbol for kernel symbols
Lorenzo Colitti (1): UPSTREAM: net: xfrm: allow clearing socket xfrm policies.
Mark Rutland (3): UPSTREAM: arm64: vdso: fix clock_getres for 4GiB-aligned res UPSTREAM: kasan: add functions to clear stack poison BACKPORT: kasan: report only the first error by default
Masami Hiramatsu (1): BACKPORT: irq: Make the irqentry text section unconditional
Nick Bray (1): ANDROID: initramfs: call free_initrd() when skipping init
Paul Lawrence (1): BACKPORT: mm, kasan: switch SLUB to stackdepot, enable memory quarantine for SLUB
Shuah Khan (1): UPSTREAM: kasan: change memory hot-add error messages to info messages
Victor Chibotaru (1): UPSTREAM: kcov: support comparison operands collection
Viresh Kumar (1): BACKPORT: schedutil: Reset cached freq if it is not in sync with next_freq
Documentation/ABI/testing/sysfs-fs-f2fs | 43 +++++++++- Documentation/kasan.txt | 5 +- Documentation/kcov.txt | 111 ++++++++++++++++++++++++++ MAINTAINERS | 14 ++++ Makefile | 11 ++- arch/arm/include/asm/exception.h | 2 +- arch/arm/include/asm/traps.h | 7 -- arch/arm/kernel/vmlinux.lds.S | 1 + arch/arm64/include/asm/exception.h | 2 +- arch/arm64/include/asm/kvm_mmu.h | 2 +- arch/arm64/include/asm/memory.h | 6 ++ arch/arm64/include/asm/mmu_context.h | 6 +- arch/arm64/include/asm/pgtable.h | 2 +- arch/arm64/include/asm/traps.h | 7 -- arch/arm64/kernel/acpi_parking_protocol.c | 3 +- arch/arm64/kernel/cpufeature.c | 1 + arch/arm64/kernel/insn.c | 2 +- arch/arm64/kernel/psci.c | 4 +- arch/arm64/kernel/setup.c | 21 ++--- arch/arm64/kernel/smp_spin_table.c | 3 +- arch/arm64/kernel/vdso.c | 12 ++- arch/arm64/kernel/vdso/gettimeofday.S | 2 +- arch/arm64/kernel/vmlinux.lds.S | 1 + arch/arm64/mm/init.c | 9 ++- arch/arm64/mm/kasan_init.c | 25 ++++-- arch/arm64/mm/mmu.c | 35 +++++--- arch/blackfin/kernel/vmlinux.lds.S | 1 + arch/c6x/kernel/vmlinux.lds.S | 1 + arch/metag/kernel/vmlinux.lds.S | 1 + arch/microblaze/kernel/vmlinux.lds.S | 1 + arch/mips/kernel/vmlinux.lds.S | 1 + arch/nios2/kernel/vmlinux.lds.S | 1 + arch/openrisc/kernel/vmlinux.lds.S | 1 + arch/parisc/kernel/vmlinux.lds.S | 1 + arch/powerpc/kernel/vmlinux.lds.S | 1 + arch/s390/kernel/vmlinux.lds.S | 1 + arch/sh/kernel/vmlinux.lds.S | 1 + arch/sparc/kernel/vmlinux.lds.S | 1 + arch/tile/kernel/vmlinux.lds.S | 1 + arch/x86/Kconfig | 1 + arch/x86/boot/Makefile | 7 ++ arch/x86/boot/compressed/Makefile | 3 + arch/x86/entry/entry_64.S | 6 ++ arch/x86/entry/vdso/Makefile | 3 + arch/x86/kernel/Makefile | 18 ++++- arch/x86/kernel/acpi/wakeup_64.S | 9 +++ arch/x86/kernel/apic/Makefile | 4 + arch/x86/kernel/cpu/Makefile | 4 + arch/x86/kernel/kprobes/core.c | 5 +- arch/x86/kernel/vmlinux.lds.S | 1 + arch/x86/lib/Makefile | 3 + arch/x86/mm/Makefile | 3 + arch/x86/realmode/rm/Makefile | 3 + drivers/android/binder.c | 6 +- drivers/firmware/efi/libstub/Makefile | 3 + fs/f2fs/acl.c | 3 + fs/f2fs/checkpoint.c | 64 +++++++++++---- fs/f2fs/data.c | 38 ++++++--- fs/f2fs/debug.c | 31 ++++++-- fs/f2fs/dir.c | 32 +++++--- fs/f2fs/f2fs.h | 223 ++++++++++++++++++++++++++++++++++++++++----------- fs/f2fs/file.c | 120 +++++++++++++++++++++------- fs/f2fs/gc.c | 37 +++++---- fs/f2fs/inline.c | 1 + fs/f2fs/inode.c | 26 +++++- fs/f2fs/namei.c | 101 ++++++++++++++++++++---- fs/f2fs/node.c | 410 +++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------- fs/f2fs/node.h | 16 +--- fs/f2fs/recovery.c | 8 +- fs/f2fs/segment.c | 512 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------ fs/f2fs/segment.h | 39 ++++++++- fs/f2fs/shrinker.c | 2 +- fs/f2fs/super.c | 219 +++++++++++++++++++++++++++++++++++++++++++++------ fs/f2fs/sysfs.c | 53 +++++++++---- fs/f2fs/xattr.c | 174 +++++++++++++++++++++------------------- include/asm-generic/sections.h | 4 + include/asm-generic/vmlinux.lds.h | 10 ++- include/linux/f2fs_fs.h | 10 ++- include/linux/ftrace.h | 11 --- include/linux/interrupt.h | 8 ++ include/linux/kasan-checks.h | 12 +++ include/linux/kasan.h | 77 +++++++++++++----- include/linux/kcov.h | 33 ++++++++ include/linux/mm.h | 4 + include/linux/sched.h | 11 +++ include/linux/slab.h | 10 ++- include/linux/slab_def.h | 18 +++++ include/linux/slub_def.h | 16 ++++ include/linux/stackdepot.h | 32 ++++++++ include/linux/timekeeper_internal.h | 8 +- include/trace/events/f2fs.h | 116 +++++++++++++++++++++++++-- include/uapi/linux/kcov.h | 34 ++++++++ init/initramfs.c | 5 +- kernel/Makefile | 12 +++ kernel/exit.c | 2 + kernel/fork.c | 3 + kernel/kcov.c | 431 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ kernel/locking/Makefile | 3 + kernel/rcu/Makefile | 4 + kernel/sched/Makefile | 4 + kernel/sched/cpufreq_schedutil.c | 11 ++- kernel/sched/fair.c | 3 +- kernel/softirq.c | 2 +- kernel/time/timekeeping.c | 57 ++++++++------ kernel/trace/trace_functions_graph.c | 1 + lib/Kconfig | 4 + lib/Kconfig.debug | 21 +++++ lib/Kconfig.kasan | 5 +- lib/Makefile | 15 ++++ lib/stackdepot.c | 287 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/test_kasan.c | 138 +++++++++++++++++++++++++++++++- mm/Makefile | 16 ++++ mm/dmapool.c | 10 +-- mm/huge_memory.c | 3 +- mm/kasan/Makefile | 3 +- mm/kasan/kasan.c | 356 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- mm/kasan/kasan.h | 51 ++++++++++-- mm/kasan/quarantine.c | 328 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ mm/kasan/report.c | 262 ++++++++++++++++++++++++++++++++++++++++++++++-------------- mm/kmemcheck.c | 3 +- mm/kmemleak.c | 18 ++--- mm/memblock.c | 3 +- mm/memory_hotplug.c | 3 +- mm/mempolicy.c | 4 +- mm/mempool.c | 24 +++--- mm/mmap.c | 3 +- mm/oom_kill.c | 3 +- mm/page_alloc.c | 37 ++++----- mm/percpu.c | 4 +- mm/slab.c | 239 ++++++++++++++++++++++++++++++++++--------------------- mm/slab.h | 2 + mm/slab_common.c | 20 ++--- mm/slub.c | 97 +++++++++++++++-------- mm/sparse-vmemmap.c | 8 +- mm/sparse.c | 8 +- mm/swapfile.c | 3 +- mm/vmalloc.c | 4 +- net/xfrm/xfrm_policy.c | 2 +- net/xfrm/xfrm_state.c | 7 ++ scripts/Makefile.lib | 6 ++ 140 files changed, 4398 insertions(+), 1089 deletions(-) create mode 100644 Documentation/kcov.txt create mode 100644 include/linux/kasan-checks.h create mode 100644 include/linux/kcov.h create mode 100644 include/linux/stackdepot.h create mode 100644 include/uapi/linux/kcov.h create mode 100644 kernel/kcov.c create mode 100644 lib/stackdepot.c create mode 100644 mm/kasan/quarantine.c