# git rev-parse -q --verify ff5bc793e47b537bf3e904fada585e102c54dd8b^{commit} ff5bc793e47b537bf3e904fada585e102c54dd8b already have revision, skipping fetch # git checkout -q -f -B kisskb ff5bc793e47b537bf3e904fada585e102c54dd8b # git clean -qxdf # < git log -1 # commit ff5bc793e47b537bf3e904fada585e102c54dd8b # Author: Nicholas Piggin # Date: Wed Jun 6 11:40:08 2018 +1000 # # powerpc/64s/radix: Fix missing ptesync in flush_cache_vmap # # There is a typo in f1cb8f9beb ("powerpc/64s/radix: avoid ptesync after # set_pte and ptep_set_access_flags") config ifdef, which results in the # necessary ptesync not being issued after vmalloc. # # This causes random kernel faults in module load, bpf load, anywhere # that vmalloc mappings are used. # # After correcting the code, this survives a guest kernel booting # hundreds of times where previously there would be a crash every few # boots (I haven't noticed the crash on host, perhaps due to different # TLB and page table walking behaviour in hardware). # # A memory clobber is also added to the flush, just to be sure it won't # be reordered with the pte set or the subsequent mapping access. # # Fixes: f1cb8f9beb ("powerpc/64s/radix: avoid ptesync after set_pte and ptep_set_access_flags") # Signed-off-by: Nicholas Piggin # 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 ff5bc793e47b537bf3e904fada585e102c54dd8b # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 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; ^ arch/powerpc/boot/mpc8272ads.dtb: Warning (pci_bridge): /pci@f0010800: missing bus-range for PCI bridge arch/powerpc/boot/mpc8272ads.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/pq2fads.dtb: Warning (pci_bridge): /pci@f0010800: missing bus-range for PCI bridge arch/powerpc/boot/pq2fads.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8 INFO: Uncompressed kernel (size 0xa6b7cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa6b7cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa6b7cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa6b7cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa6b7cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa6b7cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa6b7cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa6b7cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa5b074) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa5b074) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa6b7cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa6b7cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.17.0-rc3+ Created: Thu Jun 7 00:17:15 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4906159 Bytes = 4791.17 kB = 4.68 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.17.0-rc3+ Created: Thu Jun 7 00:17:16 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4929631 Bytes = 4814.09 kB = 4.70 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.17.0-rc3+ Created: Thu Jun 7 00:17:16 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4930130 Bytes = 4814.58 kB = 4.70 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.17.0-rc3+ Created: Thu Jun 7 00:17:16 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4929655 Bytes = 4814.12 kB = 4.70 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.17.0-rc3+ Created: Thu Jun 7 00:17:17 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4929840 Bytes = 4814.30 kB = 4.70 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.17.0-rc3+ Created: Thu Jun 7 00:17:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4929493 Bytes = 4813.96 kB = 4.70 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.17.0-rc3+ Created: Thu Jun 7 00:17:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4929973 Bytes = 4814.43 kB = 4.70 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.17.0-rc3+ Created: Thu Jun 7 00:17:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4930054 Bytes = 4814.51 kB = 4.70 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.17.0-rc3+ Created: Thu Jun 7 00:17:21 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4930263 Bytes = 4814.71 kB = 4.70 MB Load Address: 00b00000 Entry Point: 00b001f4 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-5.3 # Build took: 0:03:33.695333