# 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/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 041bc24d867a2a577a06534d6d25e500b24a01ef # < make -s -j 32 ARCH=sh O=/kisskb/build/linus_sh-allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 32 ARCH=sh O=/kisskb/build/linus_sh-allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 32 ARCH=sh O=/kisskb/build/linus_sh-allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 32 ARCH=sh O=/kisskb/build/linus_sh-allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:357: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:360: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence In file included from /kisskb/src/arch/sh/include/asm/hw_irq.h:6, from /kisskb/src/include/linux/irq.h:596, from /kisskb/src/include/asm-generic/hardirq.h:17, from /kisskb/src/arch/sh/include/asm/hardirq.h:9, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/serial_core.h:13, from /kisskb/src/include/linux/serial_sci.h:6, from /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:11: /kisskb/src/include/linux/sh_intc.h:100:63: error: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Werror=sizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:105:31: note: in expansion of macro '_INTC_ARRAY' 105 | _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: error: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Werror=sizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:106:9: note: in expansion of macro '_INTC_ARRAY' 106 | _INTC_ARRAY(mask_regs), _INTC_ARRAY(prio_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: error: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Werror=sizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:9: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:100:63: error: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Werror=sizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /kisskb/src/include/linux/sh_intc.h:107:34: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /kisskb/src/arch/sh/kernel/cpu/sh2/setup-sh7619.c:58:8: note: in expansion of macro 'DECLARE_INTC_DESC' 58 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | ^~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: arch/sh/kernel/cpu/sh2/setup-sh7619.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel/cpu/sh2] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel/cpu] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh/kernel] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:500: arch/sh] Error 2 make[2]: *** Waiting for unfinished jobs.... {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive {standard input}:2213: Error: displacement to undefined symbol .L382 overflows 8-bit field {standard input}:2286: Error: displacement to undefined symbol .L377 overflows 12-bit field {standard input}:2302: Error: displacement to undefined symbol .L378 overflows 8-bit field {standard input}:2308: Warning: overflow in branch to .L3; converted into longer instruction sequence {standard input}:2204: Error: pcrel too far {standard input}:2206: Error: pcrel too far {standard input}:2209: Error: pcrel too far {standard input}:2215: Error: pcrel too far {standard input}:2216: Error: pcrel too far {standard input}:2217: Error: pcrel too far {standard input}:2221: Error: pcrel too far {standard input}:2229: Error: pcrel too far {standard input}:2231: Error: pcrel too far {standard input}:2232: Error: pcrel too far {standard input}:2247: Error: pcrel too far {standard input}:2248: Error: pcrel too far {standard input}:2249: Error: pcrel too far {standard input}:2259: Error: pcrel too far {standard input}:2261: Error: pcrel too far {standard input}:2262: Error: pcrel too far {standard input}:2274: Error: pcrel too far {standard input}:2293: Error: pcrel too far sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[5]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/net/pcs/pcs-xpcs.o] Error 4 make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/net/pcs] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/net] Error 2 make[3]: *** Waiting for unfinished jobs.... 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 32 ARCH=sh O=/kisskb/build/linus_sh-allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_sh-allmodconfig_sh4-gcc11 # Build took: 0:08:07.243307