# git rev-parse -q --verify 7f08c318df48fbcfc16a1cfbfad6818542510d57^{commit} 7f08c318df48fbcfc16a1cfbfad6818542510d57 already have revision, skipping fetch # git checkout -q -f -B kisskb 7f08c318df48fbcfc16a1cfbfad6818542510d57 # git clean -qxdf # < git log -1 # commit 7f08c318df48fbcfc16a1cfbfad6818542510d57 # Author: Kajol Jain # Date: Fri Feb 14 13:36:06 2020 +0530 # # powerpc/kernel/sysfs: Add new config option PMU_SYSFS to enable PMU SPRs sysfs file creation # # Many of the performance monitoring unit (PMU) SPRs are # exposed in the sysfs. This may not be a desirable since # "perf" API is the primary interface to program PMU and # collect counter data in the system. But that said, we # cant remove these sysfs files since we dont whether # anyone/anything is using them. # # So the patch adds a new CONFIG option 'CONFIG_PMU_SYSFS' # (user selectable) to be used in sysfs file creation for # PMU SPRs. New option by default is disabled, but can be # enabled if user needs it. # # Tested this patch behaviour in powernv and pseries machines. # Patch is also tested for pmac32_defconfig. # # Signed-off-by: Kajol Jain # Tested-by: Nageswara R Sastry # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200214080606.26872-2-kjain@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 7f08c318df48fbcfc16a1cfbfad6818542510d57 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc5200_defconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S: Assembler messages: /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S:184: Warning: invalid register expression INFO: Uncompressed kernel (size 0x72718c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x72718c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x72718c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x716ad4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) Image Name: Linux-5.6.0-rc2-g7f08c318df48 Created: Thu Feb 20 03:40:23 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3643495 Bytes = 3558.10 KiB = 3.47 MiB Load Address: 00800000 Entry Point: 00800284 Image Name: Linux-5.6.0-rc2-g7f08c318df48 Created: Thu Feb 20 03:40:23 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3614318 Bytes = 3529.61 KiB = 3.45 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.6.0-rc2-g7f08c318df48 Created: Thu Feb 20 03:40:23 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3643466 Bytes = 3558.07 KiB = 3.47 MiB Load Address: 00800000 Entry Point: 00800284 Image Name: Linux-5.6.0-rc2-g7f08c318df48 Created: Thu Feb 20 03:40:23 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3643199 Bytes = 3557.81 KiB = 3.47 MiB Load Address: 00800000 Entry Point: 00800284 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc5 # Build took: 0:01:18.906784