# 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/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 aaf01a9f507c108cc8e86f420b0a81e21354be1b # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/powerpc-next_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- allnoconfig # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/powerpc-next_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86_64 O=/kisskb/build/powerpc-next_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86_64 O=/kisskb/build/powerpc-next_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_x86_64-allnoconfig_x86_64-gcc4.9 # Build took: 0:00:32.009093