# 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-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc --version # < git log --format=%s --max-count=1 d77c4d50474b679e8864bf4841acecc283d47626 # < make -s -j 10 ARCH=arm O=/kisskb/build/mpe_versatile_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- versatile_defconfig # make -s -j 10 ARCH=arm O=/kisskb/build/mpe_versatile_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. :1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2497:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1819:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c: In function 'reservation_object_add_shared_fence': /kisskb/src/drivers/dma-buf/reservation.c:225:6: warning: 'k' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:339:21: note: 'pdeo' was declared here Completed OK # rm -rf /kisskb/build/mpe_versatile_defconfig_arm # Build took: 0:00:46.344195