# 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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 7f08c318df48fbcfc16a1cfbfad6818542510d57 # < make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- FIT description: Linux 5.6.0-rc2-g7f08c318df48 Created: Thu Feb 20 02:37:52 2020 Image 0 (kernel@0) Description: Linux 5.6.0-rc2-g7f08c318df48 Created: Thu Feb 20 02:37:52 2020 Type: Kernel Image Compression: gzip compressed Data Size: 4896974 Bytes = 4782.20 KiB = 4.67 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x80903830 Hash algo: sha1 Hash value: c8eaafe6d995bb1cfd731498359ca3390187df4d Image 1 (fdt@boston) Description: img,boston Device Tree Created: Thu Feb 20 02:37:52 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Thu Feb 20 02:37:52 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@ocelot_pcb123) Description: MSCC Ocelot PCB123 Device Tree Created: Thu Feb 20 02:37:52 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 4639 Bytes = 4.53 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 018897896b42c41c943aca35a20e4300dba250c8 Image 4 (fdt@ocelot_pcb120) Description: MSCC Ocelot PCB120 Device Tree Created: Thu Feb 20 02:37:52 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 5198 Bytes = 5.08 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 36c7bd0bd79cfc2f7dd6acda6c7996294f4967e6 Image 5 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Thu Feb 20 02:37:52 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 63d058b780f65e22da30f0a183433765f1807f1d Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@ocelot_pcb123) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb123 Configuration 4 (conf@ocelot_pcb120) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb120 Configuration 5 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/powerpc-next_mips-defconfig_mipsel # Build took: 0:02:01.397730