# git rev-parse -q --verify be8d3292869350190dac9cd58c75bc005e3fd5c2^{commit} be8d3292869350190dac9cd58c75bc005e3fd5c2 already have revision, skipping fetch # git checkout -q -f -B kisskb be8d3292869350190dac9cd58c75bc005e3fd5c2 # git clean -qxdf # < git log -1 # commit be8d3292869350190dac9cd58c75bc005e3fd5c2 # Author: Oliver O'Halloran # Date: Mon Nov 18 17:55:53 2019 +1100 # # powerpc/powernv: Disable native PCIe port management # # On PowerNV the PCIe topology is (currently) managed by the powernv platform # code in Linux in cooperation with the platform firmware. Linux's native # PCIe port service drivers operate independently of both and this can cause # problems. # # The main issue is that the portbus driver will conflict with the platform # specific hotplug driver (pnv_php) over ownership of the MSI used to notify # the host when a hotplug event occurs. The portbus driver claims this MSI on # behalf of the individual port services because the same interrupt is used # for hotplug events, PMEs (on root ports), and link bandwidth change # notifications. The portbus driver will always claim the interrupt even if # the individual port service drivers, such as pciehp, are compiled out. # # The second, bigger, problem is that the hotplug port service driver # fundamentally does not work on PowerNV. The platform assumes that all # PCI devices have a corresponding arch-specific handle derived from the DT # node for the device (pci_dn) and without one the platform will not allow # a PCI device to be enabled. This problem is largely due to historical # baggage, but it can't be resolved without significant re-factoring of the # platform PCI support. # # We can fix these problems in the interim by setting the # "pcie_ports_disabled" flag during platform initialisation. The flag # indicates the platform owns the PCIe ports which stops the portbus driver # from being registered. # # This does have the side effect of disabling all port services drivers # that is: AER, PME, BW notifications, hotplug, and DPC. However, this is # not a huge disadvantage on PowerNV since these services are either unused # or handled through other means. # # Fixes: 66725152fb9f ("PCI/hotplug: PowerPC PowerNV PCI hotplug driver") # Signed-off-by: Oliver O'Halloran # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20191118065553.30362-1-oohall@gmail.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 be8d3292869350190dac9cd58c75bc005e3fd5c2 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:12:0, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:208: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:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ INFO: Uncompressed kernel (size 0xa9dfcc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9dfcc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9dfcc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9dfcc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9dfcc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9dfcc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9dfcc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9dfcc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9dfcc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8d8b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9dfcc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8d8b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.4.0-rc2+ Created: Mon Nov 18 23:36:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5082934 Bytes = 4963.80 KiB = 4.85 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-5.4.0-rc2+ Created: Mon Nov 18 23:36:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5082751 Bytes = 4963.62 KiB = 4.85 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.4.0-rc2+ Created: Mon Nov 18 23:36:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5082552 Bytes = 4963.43 KiB = 4.85 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.4.0-rc2+ Created: Mon Nov 18 23:36:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5082523 Bytes = 4963.40 KiB = 4.85 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.4.0-rc2+ Created: Mon Nov 18 23:36:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5082933 Bytes = 4963.80 KiB = 4.85 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.4.0-rc2+ Created: Mon Nov 18 23:36:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5052386 Bytes = 4933.97 KiB = 4.82 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.4.0-rc2+ Created: Mon Nov 18 23:36:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5082656 Bytes = 4963.53 KiB = 4.85 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-5.4.0-rc2+ Created: Mon Nov 18 23:36:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5082604 Bytes = 4963.48 KiB = 4.85 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.4.0-rc2+ Created: Mon Nov 18 23:36:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5082625 Bytes = 4963.50 KiB = 4.85 MiB Load Address: 00b00000 Entry Point: 00b00294 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:04:32.094325