# 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-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 7f08c318df48fbcfc16a1cfbfad6818542510d57 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:12, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:218:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/ppc/awacs.c:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^~~~~~~~~~~ INFO: Uncompressed kernel (size 0xb9274c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9274c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9274c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9274c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9274c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9274c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9274c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9274c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9274c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb9274c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb82064) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb82064) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.6.0-rc2+ Created: Thu Feb 20 04:57:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5530872 Bytes = 5401.24 KiB = 5.27 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.6.0-rc2+ Created: Thu Feb 20 04:57:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5531409 Bytes = 5401.77 KiB = 5.28 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.6.0-rc2+ Created: Thu Feb 20 04:57:05 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5531625 Bytes = 5401.98 KiB = 5.28 MiB Load Address: 00c00000 Entry Point: 00c00934 Image Name: Linux-5.6.0-rc2+ Created: Thu Feb 20 04:57:06 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5530635 Bytes = 5401.01 KiB = 5.27 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.6.0-rc2+ Created: Thu Feb 20 04:57:06 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5531541 Bytes = 5401.90 KiB = 5.28 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.6.0-rc2+ Created: Thu Feb 20 04:57:06 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5495488 Bytes = 5366.69 KiB = 5.24 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.6.0-rc2+ Created: Thu Feb 20 04:57:06 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5530613 Bytes = 5400.99 KiB = 5.27 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.6.0-rc2+ Created: Thu Feb 20 04:57:06 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5531514 Bytes = 5401.87 KiB = 5.28 MiB Load Address: 00c00000 Entry Point: 00c00934 Image Name: Linux-5.6.0-rc2+ Created: Thu Feb 20 04:57:06 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5531463 Bytes = 5401.82 KiB = 5.28 MiB Load Address: 00c00000 Entry Point: 00c002a4 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 # Build took: 0:04:28.212288