# git rev-parse -q --verify 950b07c14e8c59444e2359f15fd70ed5112e11a0^{commit} 950b07c14e8c59444e2359f15fd70ed5112e11a0 already have revision, skipping fetch # git checkout -q -f -B kisskb 950b07c14e8c59444e2359f15fd70ed5112e11a0 # git clean -qxdf # < git log -1 # commit 950b07c14e8c59444e2359f15fd70ed5112e11a0 # Author: Linus Torvalds # Date: Sat Sep 7 14:25:54 2019 -0700 # # Revert "x86/apic: Include the LDR when clearing out APIC registers" # # This reverts commit 558682b5291937a70748d36fd9ba757fb25b99ae. # # Chris Wilson reports that it breaks his CPU hotplug test scripts. In # particular, it breaks offlining and then re-onlining the boot CPU, which # we treat specially (and the BIOS does too). # # The symptoms are that we can offline the CPU, but it then does not come # back online again: # # smpboot: CPU 0 is now offline # smpboot: Booting Node 0 Processor 0 APIC 0x0 # smpboot: do_boot_cpu failed(-1) to wakeup CPU#0 # # Thomas says he knows why it's broken (my personal suspicion: our magic # handling of the "cpu0_logical_apicid" thing), but for 5.3 the right fix # is to just revert it, since we've never touched the LDR bits before, and # it's not worth the risk to do anything else at this stage. # # [ Hotpluging of the boot CPU is special anyway, and should be off by # default. See the "BOOTPARAM_HOTPLUG_CPU0" config option and the # cpu0_hotplug kernel parameter. # # In general you should not do it, and it has various known limitations # (hibernate and suspend require the boot CPU, for example). # # But it should work, even if the boot CPU is special and needs careful # treatment - Linus ] # # Link: https://lore.kernel.org/lkml/156785100521.13300.14461504732265570003@skylake-alporthouse-com/ # Reported-by: Chris Wilson # Acked-by: Thomas Gleixner # Cc: Bandan Das # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 950b07c14e8c59444e2359f15fd70ed5112e11a0 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:194: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:2591: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:1852:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:800:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:797:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1465:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /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:338:21: note: 'pdeo' was declared here /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' 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:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:613:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: 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 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc29680) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc18eb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5862876 Bytes = 5725.46 KiB = 5.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893277 Bytes = 5755.15 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893020 Bytes = 5754.90 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893349 Bytes = 5755.22 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893113 Bytes = 5754.99 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893244 Bytes = 5755.12 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894251 Bytes = 5756.10 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893636 Bytes = 5755.50 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894766 Bytes = 5756.61 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895315 Bytes = 5757.14 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893352 Bytes = 5755.23 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893667 Bytes = 5755.53 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893276 Bytes = 5755.15 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5893280 Bytes = 5755.16 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5895333 Bytes = 5757.16 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5894482 Bytes = 5756.33 KiB = 5.62 MiB Load Address: 00d00000 Entry Point: 00d002a8 Completed OK # rm -rf /kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 # Build took: 0:01:54.307967