# git rev-parse -q --verify d77c4d50474b679e8864bf4841acecc283d47626^{commit} d77c4d50474b679e8864bf4841acecc283d47626 already have revision, skipping fetch # git checkout -q -f -B kisskb d77c4d50474b679e8864bf4841acecc283d47626 # git clean -qxdf # < git log -1 # commit d77c4d50474b679e8864bf4841acecc283d47626 # Author: Finn Thain # Date: Mon Jul 2 04:21:19 2018 -0400 # # macintosh/via-pmu: Disambiguate interrupt statistics # # Some of the event counters are overloaded which makes it very # difficult to interpret their values. # # Counter 0 is supposed to report CB1 interrupts but it can also count # PMU_INT_WAITING_CHARGER events. # # Counter 1 is supposed to report GPIO interrupts but it can also count # other events (depending upon the value of the PMU_INT_ADB bit). # # Disambiguate these statistics with dedicated counters for GPIO and # CB1 interrupts. # # Comments in the MkLinux source code say that the type 0 and type 1 # interrupts are model-specific. Label them as "unknown". # # This change to the contents of /proc/pmu/interrupts is by necessity # visible in userland. However, packages which interact with the PMU # (that is, pbbuttonsd, pmac-utils and pmud) don't open this file. # AFAIK, user software has no need to poll these counters. # # Tested-by: Stan Johnson # Signed-off-by: Finn Thain # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 d77c4d50474b679e8864bf4841acecc283d47626 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/mpe_pmac32_defconfig+kexec_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig configs/2006/11/29/pmac32_defconfigkexec # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/mpe_pmac32_defconfig+kexec_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 48 ARCH=powerpc O=/kisskb/build/mpe_pmac32_defconfig+kexec_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. In file included from /kisskb/src/sound/ppc/pmac.h:25:0, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223: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:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ INFO: Uncompressed kernel (size 0x8a44a4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) Completed OK # rm -rf /kisskb/build/mpe_pmac32_defconfig+kexec_powerpc-5.3 # Build took: 0:01:22.860912