# 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_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc44x_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /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/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/net/bridge/br_netlink.c: In function 'br_afspec.isra.35': /kisskb/src/net/bridge/br_netlink.c:648:7: warning: 'err' 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/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1834:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1747:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /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/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x553a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5433b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:14:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2690325 Bytes = 2627.27 KiB = 2.57 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:14:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2722948 Bytes = 2659.13 KiB = 2.60 MiB Load Address: 00600000 Entry Point: 006000c8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:14:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2722873 Bytes = 2659.06 KiB = 2.60 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:14:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2722828 Bytes = 2659.01 KiB = 2.60 MiB Load Address: 00600000 Entry Point: 006014d8 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:14:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2721950 Bytes = 2658.15 KiB = 2.60 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:14:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2722907 Bytes = 2659.09 KiB = 2.60 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:14:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2722832 Bytes = 2659.02 KiB = 2.60 MiB Load Address: 00600000 Entry Point: 006014cc Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:14:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2722865 Bytes = 2659.05 KiB = 2.60 MiB Load Address: 00600000 Entry Point: 006014ec Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:14:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2722939 Bytes = 2659.12 KiB = 2.60 MiB Load Address: 00600000 Entry Point: 006014c0 Image Name: Linux-5.3.0-rc7-g950b07c14e8c Created: Sun Sep 8 10:14:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2722719 Bytes = 2658.91 KiB = 2.60 MiB Load Address: 00600000 Entry Point: 006001bc Completed OK # rm -rf /kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.6 # Build took: 0:00:48.614365