# git rev-parse -q --verify 9dfbf78e4114fcaf4ef61c49885c3ab5bad40d0b^{commit} 9dfbf78e4114fcaf4ef61c49885c3ab5bad40d0b already have revision, skipping fetch # git checkout -q -f -B kisskb 9dfbf78e4114fcaf4ef61c49885c3ab5bad40d0b # git clean -qxdf # < git log -1 # commit 9dfbf78e4114fcaf4ef61c49885c3ab5bad40d0b # Author: Madhavan Srinivasan # Date: Thu Jan 18 00:33:36 2018 +0530 # # powerpc/64s: Default l1d_size to 64K in RFI fallback flush # # If there is no d-cache-size property in the device tree, l1d_size could # be zero. We don't actually expect that to happen, it's only been seen # on mambo (simulator) in some configurations. # # A zero-size l1d_size leads to the loop in the asm wrapping around to # 2^64-1, and then walking off the end of the fallback area and # eventually causing a page fault which is fatal. # # Just default to 64K which is correct on some CPUs, and sane enough to # not cause a crash on others. # # Fixes: aa8a5e0062ac9 ('powerpc/64s: Add support for RFI flush of L1-D cache') # Signed-off-by: Madhavan Srinivasan # [mpe: Rewrite comment and change log] # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 9dfbf78e4114fcaf4ef61c49885c3ab5bad40d0b # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc86xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc86xx_defconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc86xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1268:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /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/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/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/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/mvme7100.dtb: Warning (pci_bridge): /pcie@f1008000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/mvme7100.dtb: Warning (pci_bridge): /pcie@f1008000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/mvme7100.dtb: Warning (pci_bridge): /pcie@f1008000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mvme7100.dtb: Warning (pci_bridge): /pcie@f1009000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/mvme7100.dtb: Warning (pci_bridge): /pcie@f1009000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/mvme7100.dtb: Warning (pci_bridge): /pcie@f1009000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mvme7100.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x9aeb6c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) Image Name: Linux-4.17.0-rc1-g9dfbf78 Created: Tue Apr 17 22:00:33 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4733637 Bytes = 4622.69 kB = 4.51 MB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc86xx_defconfig_powerpc # Build took: 0:00:42.694683