# git rev-parse -q --verify aaf01a9f507c108cc8e86f420b0a81e21354be1b^{commit} aaf01a9f507c108cc8e86f420b0a81e21354be1b already have revision, skipping fetch # 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 aaf01a9f507c108cc8e86f420b0a81e21354be1b # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_SMP=y # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4198:warning: override: reassigning to symbol SMP # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: modpost: vmlinux.o(__ex_table+0x898): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .softirqentry.text:(unknown) The relocation at __ex_table+0x898 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+0x89c): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .softirqentry.text:(unknown) The relocation at __ex_table+0x89c 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_pmac32_defconfig+SMP_powerpc-gcc5 # Build took: 0:02:19.024761