# git rev-parse -q --verify 041bc24d867a2a577a06534d6d25e500b24a01ef^{commit} 041bc24d867a2a577a06534d6d25e500b24a01ef already have revision, skipping fetch # git checkout -q -f -B kisskb 041bc24d867a2a577a06534d6d25e500b24a01ef # git clean -qxdf # < git log -1 # commit 041bc24d867a2a577a06534d6d25e500b24a01ef # Merge: c440f9969523 0e00a3aeae25 # Author: Linus Torvalds # Date: Tue Oct 11 11:08:18 2022 -0700 # # Merge tag 'pci-v6.1-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci # # Pull pci updates from Bjorn Helgaas: # "Resource management: # # - Distribute spare resources to unconfigured hotplug bridges at # boot-time (not just when hot-adding such a bridge), which makes # hot-adding devices to docks work better. # # - Revert to a BAR assignment inherited from firmware only when the # address is actually reachable via any upstream bridges, which fixes # some cases where firmware doesn't configure all devices. # # - Add a sysfs interface to resize BARs so this can be done before # assigning devices to a VM through VFIO. # # Power management: # # - Disable Precision Time Management for all devices on suspend to # enable lower-power PM state. We previously did this just for Root # Ports, which isn't enough because downstream devices can still # generate PTM messages, which cause errors if it's disabled in the # Root Port. # # - Save and restore the ASPM L1 PM Substates configuration for # suspend/ resume. Previously this configuration was lost, so L1.x # states likely stopped working after resume. # # - Check whether the L1 PM Substates Capability exists. If it didn't # exist, we previously read junk and tried to configure L1 Substates # based on that. # # - Fix the LTR_L1.2_THRESHOLD computation, which previously set a # threshold for entering L1.2 that was too low in some cases. # # - Reduce the delay after transitions to or from D3cold by using # usleep_range() rather than msleep(), which often slept for ~19ms # instead of the 10ms normally required. The spec says 10ms is # enough, but it's possible we could trip over devices that need a # little more. # # Error handling: # # - Work around a BIOS bug that caused Intel Root Ports to advertise a # Root Port Programmed I/O (RP PIO) log size of zero, which caused # annoying warnings and prevented the kernel from dumping log # registers for DPC errors. # # Qualcomm PCIe controller driver: # # - Add support for SC8280XP and SA8540P host controllers and SM8450 # endpoint controller. # # - Disable Master AXI clock on endpoint controllers to save power when # link is idle or in L1.x. # # - Expose link state transition counts via debugfs to help debug # issues with low-power states. # # - Add auto-loading module support. # # Synopsys DesignWare PCIe controller driver: # # - Remove a dependency on ZONE_DMA32 by allocating the MSI target page # differently. There's more work to do related to eDMA controllers, # so it's not completely settled" # # * tag 'pci-v6.1-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (71 commits) # PCI: qcom-ep: Check platform_get_resource_byname() return value # PCI: qcom-ep: Add support for SM8450 SoC # dt-bindings: PCI: qcom-ep: Add support for SM8450 SoC # dt-bindings: PCI: qcom-ep: Define clocks per platform # PCI: qcom-ep: Make PERST separation optional # dt-bindings: PCI: qcom-ep: Make PERST separation optional # PCI: qcom-ep: Disable Master AXI Clock when there is no PCIe traffic # PCI: Expose PCIe Resizable BAR support via sysfs # PCI/ASPM: Correct LTR_L1.2_THRESHOLD computation # PCI/ASPM: Ignore L1 PM Substates if device lacks capability # PCI/ASPM: Factor out L1 PM Substates configuration # PCI: qcom-ep: Gate Master AXI clock to MHI bus during L1SS # PCI: qcom-ep: Expose link transition counts via debugfs # PCI: qcom-ep: Disable IRQs during driver remove # PCI/ASPM: Save L1 PM Substates Capability for suspend/resume # PCI/ASPM: Refactor L1 PM Substates Control Register programming # PCI: qcom-ep: Make use of the cached dev pointer # PCI: qcom-ep: Rely on the clocks supplied by devicetree # PCI: qcom-ep: Add kernel-doc for qcom_pcie_ep structure # phy: freescale: imx8m-pcie: Fix the wrong order of phy_init() and phy_power_on() # ... # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 041bc24d867a2a577a06534d6d25e500b24a01ef # < make -s -j 120 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 allmodconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig CONFIG_BPF_PRELOAD=n # < make -s -j 120 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 120 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:12559:warning: override: reassigning to symbol GCC_PLUGIN_SANCOV .config:12564:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:12566:warning: override: reassigning to symbol UML_NET_SLIP .config:12569:warning: override: reassigning to symbol UML_NET_MCAST .config:12571:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 120 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/arch/um/os-Linux/util.c:17:24: fatal error: sys/random.h: No such file or directory compilation terminated. make[3]: *** [/kisskb/src/scripts/Makefile.build:250: arch/um/os-Linux/util.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:500: arch/um/os-Linux] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/x86/um/asm/processor.h:41:0, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/pci.h:35, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:26: /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c: In function 'kfd_cpumask_to_apic_id': /kisskb/src/arch/um/include/asm/processor-generic.h:98:18: error: called object is not a function or function pointer #define cpu_data (&boot_cpu_data) ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1930:9: note: in expansion of macro 'cpu_data' return cpu_data(first_cpu_of_numa_node).apicid; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1934:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.o] Error 1 make[6]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/infiniband/sw/rdmavt/qp.c: In function 'rvt_wss_llc_size': /kisskb/src/drivers/infiniband/sw/rdmavt/qp.c:88:22: error: 'struct cpuinfo_um' has no member named 'x86_cache_size' return boot_cpu_data.x86_cache_size; ^ /kisskb/src/drivers/infiniband/sw/rdmavt/qp.c: In function 'cacheless_memcpy': /kisskb/src/drivers/infiniband/sw/rdmavt/qp.c:100:2: error: implicit declaration of function '__copy_user_nocache' [-Werror=implicit-function-declaration] __copy_user_nocache(dst, (void __user *)src, n, 0); ^ /kisskb/src/drivers/infiniband/sw/rdmavt/qp.c: In function 'rvt_wss_llc_size': /kisskb/src/drivers/infiniband/sw/rdmavt/qp.c:89:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/infiniband/sw/rdmavt/qp.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm/amd/amdgpu] Error 2 make[5]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/infiniband/sw/rdmavt] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/infiniband/sw] Error 2 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/infiniband/hw/qib/qib_wc_x86_64.c: In function 'qib_unordered_wc': /kisskb/src/drivers/infiniband/hw/qib/qib_wc_x86_64.c:149:22: error: 'struct cpuinfo_um' has no member named 'x86_vendor' return boot_cpu_data.x86_vendor != X86_VENDOR_AMD; ^ /kisskb/src/drivers/infiniband/hw/qib/qib_wc_x86_64.c:149:37: error: 'X86_VENDOR_AMD' undeclared (first use in this function) return boot_cpu_data.x86_vendor != X86_VENDOR_AMD; ^ /kisskb/src/drivers/infiniband/hw/qib/qib_wc_x86_64.c:149:37: note: each undeclared identifier is reported only once for each function it appears in /kisskb/src/drivers/infiniband/hw/qib/qib_wc_x86_64.c:150:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/infiniband/hw/qib/qib_wc_x86_64.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/infiniband/hw/qib] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/infiniband/hw] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/infiniband] Error 2 make[3]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:1990: .] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 120 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allmodconfig_um-x86_64 # Build took: 0:09:46.776898