# git rev-parse -q --verify f5b7769eb0400ec5217a47e41148a9f816ca1f9f^{commit} f5b7769eb0400ec5217a47e41148a9f816ca1f9f already have revision, skipping fetch # git checkout -q -f -B kisskb f5b7769eb0400ec5217a47e41148a9f816ca1f9f # git clean -qxdf # < git log -1 # commit f5b7769eb0400ec5217a47e41148a9f816ca1f9f # Author: Linus Torvalds # Date: Tue Jun 12 20:52:16 2018 -0700 # # Revert "debugfs: inode: debugfs_create_dir uses mode permission from parent" # # This reverts commit 95cde3c59966f6371b6bcd9e4e2da2ba64ee9775. # # The commit had good intentions, but it breaks kvm-tool and qemu-kvm. # # With it in place, "lkvm run" just fails with # # Error: KVM_CREATE_VM ioctl # Warning: Failed init: kvm__init # # which isn't a wonderful error message, but bisection pinpointed the # problematic commit. # # The problem is almost certainly due to the special kvm debugfs entries # created dynamically by kvm under /sys/kernel/debug/kvm/. See # kvm_create_vm_debugfs() # # Bisected-and-reported-by: Linus Torvalds # Cc: Wanpeng Li # Cc: Greg Kroah-Hartman # Cc: Thomas Richter # Cc: Kees Cook # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 f5b7769eb0400ec5217a47e41148a9f816ca1f9f # < make -s -j 8 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc44x_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /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/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:340:21: note: 'pdeo' was declared here /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec': /kisskb/src/net/bridge/br_netlink.c:637:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1835:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1745:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x51fa34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51fa34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51fa34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51fa34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51fa34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51fa34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x50f388) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51fa34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51fa34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51fa34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.17.0-gf5b7769e Created: Wed Jun 13 17:07:47 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2573453 Bytes = 2513.14 kB = 2.45 MB Load Address: 00000000 Entry Point: 00000000 INFO: Uncompressed kernel (size 0x51fa34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.17.0-gf5b7769e Created: Wed Jun 13 17:07:47 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2599212 Bytes = 2538.29 kB = 2.48 MB Load Address: 00600000 Entry Point: 0060110c Image Name: Linux-4.17.0-gf5b7769e Created: Wed Jun 13 17:07:47 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2599117 Bytes = 2538.20 kB = 2.48 MB Load Address: 00600000 Entry Point: 00601114 INFO: Uncompressed kernel (size 0x51fa34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.17.0-gf5b7769e Created: Wed Jun 13 17:07:47 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2599206 Bytes = 2538.29 kB = 2.48 MB Load Address: 00600000 Entry Point: 006000a4 Image Name: Linux-4.17.0-gf5b7769e Created: Wed Jun 13 17:07:47 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2599203 Bytes = 2538.28 kB = 2.48 MB Load Address: 00600000 Entry Point: 0060110c Image Name: Linux-4.17.0-gf5b7769e Created: Wed Jun 13 17:07:47 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2599241 Bytes = 2538.32 kB = 2.48 MB Load Address: 00600000 Entry Point: 00600178 Image Name: Linux-4.17.0-gf5b7769e Created: Wed Jun 13 17:07:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2599268 Bytes = 2538.35 kB = 2.48 MB Load Address: 00600000 Entry Point: 006010f4 Image Name: Linux-4.17.0-gf5b7769e Created: Wed Jun 13 17:07:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2599238 Bytes = 2538.32 kB = 2.48 MB Load Address: 00600000 Entry Point: 00601104 Image Name: Linux-4.17.0-gf5b7769e Created: Wed Jun 13 17:07:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2599148 Bytes = 2538.23 kB = 2.48 MB Load Address: 00600000 Entry Point: 00601100 Image Name: Linux-4.17.0-gf5b7769e Created: Wed Jun 13 17:07:48 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2599189 Bytes = 2538.27 kB = 2.48 MB Load Address: 00600000 Entry Point: 00601118 Completed OK # rm -rf /kisskb/build/linus_ppc44x_defconfig_powerpc # Build took: 0:01:02.604228