# git rev-parse -q --verify a63f2e7cb1107ab124f80407e5eb8579c04eb7a9^{commit} a63f2e7cb1107ab124f80407e5eb8579c04eb7a9 already have revision, skipping fetch # git checkout -q -f -B kisskb a63f2e7cb1107ab124f80407e5eb8579c04eb7a9 # git clean -qxdf # < git log -1 # commit a63f2e7cb1107ab124f80407e5eb8579c04eb7a9 # Merge: 1707c39ae309 13b056696291 # Author: Linus Torvalds # Date: Fri Sep 23 15:28:51 2022 -0700 # # Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux # # Pull arm64 fixes from Will Deacon: # "These are all very simple and self-contained, although the CFI # jump-table fix touches the generic linker script as that's where the # problematic macro lives. # # - Fix false positive "sleeping while atomic" warning resulting from # the kPTI rework taking a mutex too early. # # - Fix possible overflow in AMU frequency calculation # # - Fix incorrect shift in CMN PMU driver which causes problems with # newer versions of the IP # # - Reduce alignment of the CFI jump table to avoid huge kernel images # and link errors with !4KiB page size configurations" # # * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: # vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment # perf/arm-cmn: Add more bits to child node address offset field # arm64: topology: fix possible overflow in amu_fie_setup() # arm64: mm: don't acquire mutex when rewriting swapper # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 a63f2e7cb1107ab124f80407e5eb8579c04eb7a9 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4479:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:4480:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4485:warning: override: reassigning to symbol UBSAN # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/lib/test_kasan.c: In function 'krealloc_less_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:335:59: error: array subscript 201 is outside array bounds of 'char[201]' [-Werror=array-bounds] 335 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:327:16: note: referencing an object of size 201 allocated by 'krealloc' 327 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:339:59: error: array subscript 208 is outside array bounds of 'char[201]' [-Werror=array-bounds] 339 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:327:16: note: referencing an object of size 201 allocated by 'krealloc' 327 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:349:52: error: array subscript 218 is outside array bounds of 'char[201]' [-Werror=array-bounds] 349 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[middle] = 'x'); | ~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:327:16: note: referencing an object of size 201 allocated by 'krealloc' 327 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:350:55: error: array subscript 234 is outside array bounds of 'char[201]' [-Werror=array-bounds] 350 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1 - 1] = 'x'); | ~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:327:16: note: referencing an object of size 201 allocated by 'krealloc' 327 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:351:51: error: array subscript 235 is outside array bounds of 'char[201]' [-Werror=array-bounds] 351 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:327:16: note: referencing an object of size 201 allocated by 'krealloc' 327 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c: In function 'krealloc_more_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:306:59: error: array subscript 235 is outside array bounds of 'char[235]' [-Werror=array-bounds] 306 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:295:16: note: referencing an object of size 235 allocated by 'krealloc' 295 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:310:59: error: array subscript 240 is outside array bounds of 'char[235]' [-Werror=array-bounds] 310 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:295:16: note: referencing an object of size 235 allocated by 'krealloc' 295 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:249: lib/test_kasan.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1852: lib] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:222: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 # Build took: 0:05:01.915787