# git rev-parse -q --verify aaf01a9f507c108cc8e86f420b0a81e21354be1b^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git next-test # git rev-parse -q --verify aaf01a9f507c108cc8e86f420b0a81e21354be1b^{commit} aaf01a9f507c108cc8e86f420b0a81e21354be1b # git checkout -q -f -B kisskb aaf01a9f507c108cc8e86f420b0a81e21354be1b # git clean -qxdf # < git log -1 # commit aaf01a9f507c108cc8e86f420b0a81e21354be1b # Author: Pratik R. Sampat # Date: Wed Jul 28 17:35:00 2021 +0530 # # cpufreq: powernv: Fix init_chip_info initialization in numa=off # # In the numa=off kernel command-line configuration init_chip_info() loops # around the number of chips and attempts to copy the cpumask of that node # which is NULL for all iterations after the first chip. # # Hence, store the cpu mask for each chip instead of derving cpumask from # node while populating the "chips" struct array and copy that to the # chips[i].mask # # Fixes: 053819e0bf84 ("cpufreq: powernv: Handle throttling due to Pmax capping at chip level") # Cc: stable@vger.kernel.org # v4.3+ # Reported-by: Shirisha Ganta # Signed-off-by: Pratik R. Sampat # Reviewed-by: Gautham R. Shenoy # [mpe: Rename goto label to out_free_chip_cpu_mask] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210728120500.87549-2-psampat@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 aaf01a9f507c108cc8e86f420b0a81e21354be1b # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.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 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:5217:warning: override: reassigning to symbol STANDALONE .config:5221:warning: override: reassigning to symbol PPC64 .config:5223:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/fs/jffs2/xattr.c: In function 'jffs2_build_xattr_subsystem': /kisskb/src/fs/jffs2/xattr.c:887:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=] 887 | } | ^ WARNING: modpost: vmlinux.o(__ex_table+0x2088): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .softirqentry.text:(unknown) The relocation at __ex_table+0x2088 references section ".softirqentry.text" which is not in the list of authorized sections. If you're adding a new section and/or if this reference is valid, add ".softirqentry.text" to the list of authorized sections to jump to on fault. This can be achieved by adding ".softirqentry.text" to OTHER_TEXT_SECTIONS in scripts/mod/modpost.c. WARNING: modpost: vmlinux.o(__ex_table+0x208c): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .softirqentry.text:(unknown) The relocation at __ex_table+0x208c references section ".softirqentry.text" which is not in the list of authorized sections. If you're adding a new section and/or if this reference is valid, add ".softirqentry.text" to the list of authorized sections to jump to on fault. This can be achieved by adding ".softirqentry.text" to OTHER_TEXT_SECTIONS in scripts/mod/modpost.c. Completed OK # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 # Build took: 0:07:23.103091