# 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 10 ARCH=powerpc O=/kisskb/build/mpe_mpc85xx_smp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/mpe_mpc85xx_smp_defconfig_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/include/linux/kernel.h:10:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ arch/powerpc/boot/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe2f2c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895041 Bytes = 5756.88 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5896510 Bytes = 5758.31 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895176 Bytes = 5757.01 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895127 Bytes = 5756.96 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895006 Bytes = 5756.84 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5896718 Bytes = 5758.51 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5896416 Bytes = 5758.22 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895009 Bytes = 5756.84 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5896716 Bytes = 5758.51 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf36e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:41 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5871614 Bytes = 5734.00 kB = 5.60 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895087 Bytes = 5756.92 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895258 Bytes = 5757.09 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895254 Bytes = 5757.08 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895036 Bytes = 5756.87 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895086 Bytes = 5756.92 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-gd77c4d5 Created: Wed Jul 18 18:44:45 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895342 Bytes = 5757.17 kB = 5.62 MB Load Address: 00c00000 Entry Point: 00c0020c Completed OK # rm -rf /kisskb/build/mpe_mpc85xx_smp_defconfig_powerpc-5.3 # Build took: 0:03:25.239357