# 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-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_83xx_mpc834x_itxgp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- 83xx/mpc834x_itxgp_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc834x_itxgp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc834x_itxgp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc834x_itxgp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1182:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/net/sched/sch_frag.c: In function 'sch_fragment': /kisskb/src/net/sched/sch_frag.c:93:10: warning: missing braces around initializer [-Wmissing-braces] struct rtable sch_frag_rt = { 0 }; ^ /kisskb/src/net/sched/sch_frag.c:93:10: warning: (near initialization for 'sch_frag_rt.dst') [-Wmissing-braces] WARNING: modpost: vmlinux.o(__ex_table+0x730): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .softirqentry.text:(unknown) The relocation at __ex_table+0x730 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+0x734): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .softirqentry.text:(unknown) The relocation at __ex_table+0x734 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_83xx_mpc834x_itxgp_defconfig_powerpc-gcc4.9 # Build took: 0:01:01.888047