# git rev-parse -q --verify 7246f4dcaccc8de76a96a41359d89c3c791579bc^{commit} 7246f4dcaccc8de76a96a41359d89c3c791579bc already have revision, skipping fetch # git checkout -q -f -B kisskb 7246f4dcaccc8de76a96a41359d89c3c791579bc # git clean -qxdf # < git log -1 # commit 7246f4dcaccc8de76a96a41359d89c3c791579bc # Author: Sasha Levin # Date: Fri Nov 12 10:16:02 2021 -0500 # # tools/lib/lockdep: drop liblockdep # # TL;DR: While a tool like liblockdep is useful, it probably doesn't # belong within the kernel tree. # # liblockdep attempts to reuse kernel code both directly (by directly # building the kernel's lockdep code) as well as indirectly (by using # sanitized headers). This makes liblockdep an integral part of the # kernel. # # It also makes liblockdep quite unique: while other userspace code might # use sanitized headers, it generally doesn't attempt to use kernel code # directly which means that changes on the kernel side of things don't # affect (and break) it directly. # # All our workflows and tooling around liblockdep don't support this # uniqueness. Changes that go into the kernel code aren't validated to not # break in-tree userspace code. # # liblockdep ended up being very fragile, breaking over and over, to the # point that living in the same tree as the lockdep code lost most of it's # value. # # liblockdep should continue living in an external tree, syncing with # the kernel often, in a controllable way. # # Signed-off-by: Sasha Levin # Cc: Ingo Molnar # Cc: Peter Zijlstra # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 7246f4dcaccc8de76a96a41359d89c3c791579bc # < make -s -j 48 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # < make -s -j 48 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 48 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig .config:7047:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD # make -s -j 48 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 # Build took: 0:07:33.328107