# git rev-parse -q --verify 049eb096da48db0421dd5e358b9b082a1a8a2025^{commit} 049eb096da48db0421dd5e358b9b082a1a8a2025 already have revision, skipping fetch # git checkout -q -f -B kisskb 049eb096da48db0421dd5e358b9b082a1a8a2025 # git clean -qxdf # < git log -1 # commit 049eb096da48db0421dd5e358b9b082a1a8a2025 # Merge: 32663c78c10f 6f119ec8d9c8 # Author: Linus Torvalds # Date: Fri Aug 7 18:48:15 2020 -0700 # # Merge tag 'pci-v5.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci # # Pull PCI updates from Bjorn Helgaas: # "Enumeration: # - Fix pci_cfg_wait queue locking problem (Bjorn Helgaas) # - Convert PCIe capability PCIBIOS errors to errno (Bolarinwa Olayemi # Saheed) # - Align PCIe capability and PCI accessor return values (Bolarinwa # Olayemi Saheed) # - Fix pci_create_slot() reference count leak (Qiushi Wu) # - Announce device after early fixups (Tiezhu Yang) # # PCI device hotplug: # - Make rpadlpar functions static (Wei Yongjun) # # Driver binding: # - Add device even if driver attach failed (Rajat Jain) # # Virtualization: # - xen: Remove redundant initialization of irq (Colin Ian King) # # IOMMU: # - Add pci_pri_supported() to check device or associated PF (Ashok Raj) # - Release IVRS table in AMD ACS quirk (Hanjun Guo) # - Mark AMD Navi10 GPU rev 0x00 ATS as broken (Kai-Heng Feng) # - Treat "external-facing" devices themselves as internal (Rajat Jain) # # MSI: # - Forward MSI-X error code in pci_alloc_irq_vectors_affinity() (Piotr # Stankiewicz) # # Error handling: # - Clear PCIe Device Status errors only if OS owns AER (Jonathan # Cameron) # - Log correctable errors as warning, not error (Matt Jolly) # - Use 'pci_channel_state_t' instead of 'enum pci_channel_state' (Luc # Van Oostenryck) # # Peer-to-peer DMA: # - Allow P2PDMA on AMD Zen and newer CPUs (Logan Gunthorpe) # # ASPM: # - Add missing newline in sysfs 'policy' (Xiongfeng Wang) # # Native PCIe controllers: # - Convert to devm_platform_ioremap_resource_byname() (Dejin Zheng) # - Convert to devm_platform_ioremap_resource() (Dejin Zheng) # - Remove duplicate error message from devm_pci_remap_cfg_resource() # callers (Dejin Zheng) # - Fix runtime PM imbalance on error (Dinghao Liu) # - Remove dev_err() when handing an error from platform_get_irq() # (Krzysztof Wilczyński) # - Use pci_host_bridge.windows list directly instead of splicing in a # temporary list for cadence, mvebu, host-common (Rob Herring) # - Use pci_host_probe() instead of open-coding all the pieces for # altera, brcmstb, iproc, mobiveil, rcar, rockchip, tegra, v3, # versatile, xgene, xilinx, xilinx-nwl (Rob Herring) # - Default host bridge parent device to the platform device (Rob # Herring) # - Use pci_is_root_bus() instead of tracking root bus number # separately in aardvark, designware (imx6, keystone, # designware-host), mobiveil, xilinx-nwl, xilinx, rockchip, rcar (Rob # Herring) # - Set host bridge bus number in pci_scan_root_bus_bridge() instead of # each driver for aardvark, designware-host, host-common, mediatek, # rcar, tegra, v3-semi (Rob Herring) # - Move DT resource setup into devm_pci_alloc_host_bridge() (Rob # Herring) # - Set bridge map_irq and swizzle_irq to default functions; drivers # that don't support legacy IRQs (iproc) need to undo this (Rob # Herring) # # ARM Versatile PCIe controller driver: # - Drop flag PCI_ENABLE_PROC_DOMAINS (Rob Herring) # # Cadence PCIe controller driver: # - Use "dma-ranges" instead of "cdns,no-bar-match-nbits" property # (Kishon Vijay Abraham I) # - Remove "mem" from reg binding (Kishon Vijay Abraham I) # - Fix cdns_pcie_{host|ep}_setup() error path (Kishon Vijay Abraham I) # - Convert all r/w accessors to perform only 32-bit accesses (Kishon # Vijay Abraham I) # - Add support to start link and verify link status (Kishon Vijay # Abraham I) # - Allow pci_host_bridge to have custom pci_ops (Kishon Vijay Abraham I) # - Add new *ops* for CPU addr fixup (Kishon Vijay Abraham I) # - Fix updating Vendor ID and Subsystem Vendor ID register (Kishon # Vijay Abraham I) # - Use bridge resources for outbound window setup (Rob Herring) # - Remove private bus number and range storage (Rob Herring) # # Cadence PCIe endpoint driver: # - Add MSI-X support (Alan Douglas) # # HiSilicon PCIe controller driver: # - Remove non-ECAM HiSilicon hip05/hip06 driver (Rob Herring) # # Intel VMD host bridge driver: # - Use Shadow MEMBAR registers for QEMU/KVM guests (Jon Derrick) # # Loongson PCIe controller driver: # - Use DECLARE_PCI_FIXUP_EARLY for bridge_class_quirk() (Tiezhu Yang) # # Marvell Aardvark PCIe controller driver: # - Indicate error in 'val' when config read fails (Pali Rohár) # - Don't touch PCIe registers if no card connected (Pali Rohár) # # Marvell MVEBU PCIe controller driver: # - Setup BAR0 in order to fix MSI (Shmuel Hazan) # # Microsoft Hyper-V host bridge driver: # - Fix a timing issue which causes kdump to fail occasionally (Wei Hu) # - Make some functions static (Wei Yongjun) # # NVIDIA Tegra PCIe controller driver: # - Revert tegra124 raw_violation_fixup (Nicolas Chauvet) # - Remove PLL power supplies (Thierry Reding) # # Qualcomm PCIe controller driver: # - Change duplicate PCI reset to phy reset (Abhishek Sahu) # - Add missing ipq806x clocks in PCIe driver (Ansuel Smith) # - Add missing reset for ipq806x (Ansuel Smith) # - Add ext reset (Ansuel Smith) # - Use bulk clk API and assert on error (Ansuel Smith) # - Add support for tx term offset for rev 2.1.0 (Ansuel Smith) # - Define some PARF params needed for ipq8064 SoC (Ansuel Smith) # - Add ipq8064 rev2 variant (Ansuel Smith) # - Support PCI speed set for ipq806x (Sham Muthayyan) # # Renesas R-Car PCIe controller driver: # - Use devm_pci_alloc_host_bridge() (Rob Herring) # - Use struct pci_host_bridge.windows list directly (Rob Herring) # - Convert rcar-gen2 to use modern host bridge probe functions (Rob # Herring) # # TI J721E PCIe driver: # - Add TI J721E PCIe host and endpoint driver (Kishon Vijay Abraham I) # # Xilinx Versal CPM PCIe controller driver: # - Add Versal CPM Root Port driver and YAML schema (Bharat Kumar # Gogada) # # MicroSemi Switchtec management driver: # - Add missing __iomem and __user tags to fix sparse warnings (Logan # Gunthorpe) # # Miscellaneous: # - Replace http:// links with https:// (Alexander A. Klimov) # - Replace lkml.org, spinics, gmane with lore.kernel.org (Bjorn # Helgaas) # - Remove unused pci_lost_interrupt() (Heiner Kallweit) # - Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h (Huacai Chen) # - Fix kerneldoc warnings (Krzysztof Kozlowski)" # # * tag 'pci-v5.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (113 commits) # PCI: Fix kerneldoc warnings # PCI: xilinx-cpm: Add Versal CPM Root Port driver # PCI: xilinx-cpm: Add YAML schemas for Versal CPM Root Port # PCI: Set bridge map_irq and swizzle_irq to default functions # PCI: Move DT resource setup into devm_pci_alloc_host_bridge() # PCI: rcar-gen2: Convert to use modern host bridge probe functions # PCI: Remove dev_err() when handing an error from platform_get_irq() # MAINTAINERS: Add Kishon Vijay Abraham I for TI J721E SoC PCIe # misc: pci_endpoint_test: Add J721E in pci_device_id table # PCI: j721e: Add TI J721E PCIe driver # PCI: switchtec: Add missing __iomem tag to fix sparse warnings # PCI: switchtec: Add missing __iomem and __user tags to fix sparse warnings # PCI: rpadlpar: Make functions static # PCI/P2PDMA: Allow P2PDMA on AMD Zen and newer CPUs # PCI: Release IVRS table in AMD ACS quirk # PCI: Announce device after early fixups # PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken # PCI: Remove unused pci_lost_interrupt() # dt-bindings: PCI: Add EP mode dt-bindings for TI's J721E SoC # dt-bindings: PCI: Add host mode dt-bindings for TI's J721E SoC # ... # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 049eb096da48db0421dd5e358b9b082a1a8a2025 # < make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MIPS_CPS_NS16550_BASE=0x1b0003f8 # Added to kconfig CONFIG_MIPS_CPS_NS16550_SHIFT=0 # < make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- help # make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- olddefconfig .config:12428:warning: override: reassigning to symbol MIPS_CPS_NS16550_SHIFT # make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- In file included from /kisskb/src/include/linux/time.h:6:0, from /kisskb/src/include/linux/compat.h:10, from /kisskb/src/arch/mips/kernel/asm-offsets.c:12: /kisskb/src/include/linux/seqlock.h: In function 'write_seqcount_begin_nested': /kisskb/src/include/linux/seqlock.h:285:2: error: implicit declaration of function 'raw_smp_processor_id' [-Werror=implicit-function-declaration] lockdep_assert_preemption_disabled(); ^ In file included from /kisskb/src/include/linux/smp.h:82:0, from /kisskb/src/arch/mips/include/asm/cpu-type.h:12, from /kisskb/src/arch/mips/include/asm/timex.h:19, from /kisskb/src/include/linux/timex.h:65, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:74, from /kisskb/src/include/linux/compat.h:10, from /kisskb/src/arch/mips/kernel/asm-offsets.c:12: /kisskb/src/arch/mips/include/asm/smp.h: At top level: /kisskb/src/arch/mips/include/asm/smp.h:28:19: error: static declaration of 'raw_smp_processor_id' follows non-static declaration static inline int raw_smp_processor_id(void) ^ In file included from /kisskb/src/arch/mips/include/asm/bug.h:42:0, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/thread_info.h:12, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/mips/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:15, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/compat.h:10, from /kisskb/src/arch/mips/kernel/asm-offsets.c:12: /kisskb/src/include/asm-generic/percpu.h:31:40: note: previous implicit declaration of 'raw_smp_processor_id' was here #define __my_cpu_offset per_cpu_offset(raw_smp_processor_id()) ^ /kisskb/src/include/asm-generic/bug.h:145:27: note: in definition of macro 'WARN_ON_ONCE' int __ret_warn_once = !!(condition); \ ^ /kisskb/src/include/linux/compiler_types.h:301:2: note: in expansion of macro '__compiletime_assert' __compiletime_assert(condition, msg, prefix, suffix) ^ /kisskb/src/include/linux/compiler_types.h:313:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^ /kisskb/src/include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^ /kisskb/src/include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type' compiletime_assert_rwonce_type(x); \ ^ /kisskb/src/include/asm-generic/percpu.h:119:10: note: in expansion of macro 'READ_ONCE' __ret = READ_ONCE(*raw_cpu_ptr(&(pcp))); \ ^ /kisskb/src/include/linux/percpu-defs.h:231:2: note: in expansion of macro 'RELOC_HIDE' RELOC_HIDE((typeof(*(__p)) __kernel __force *)(__p), (__offset)) ^ /kisskb/src/include/asm-generic/percpu.h:44:31: note: in expansion of macro 'SHIFT_PERCPU_PTR' #define arch_raw_cpu_ptr(ptr) SHIFT_PERCPU_PTR(ptr, __my_cpu_offset) ^ /kisskb/src/include/asm-generic/percpu.h:31:25: note: in expansion of macro 'per_cpu_offset' #define __my_cpu_offset per_cpu_offset(raw_smp_processor_id()) ^ /kisskb/src/include/asm-generic/percpu.h:44:53: note: in expansion of macro '__my_cpu_offset' #define arch_raw_cpu_ptr(ptr) SHIFT_PERCPU_PTR(ptr, __my_cpu_offset) ^ /kisskb/src/include/linux/percpu-defs.h:242:2: note: in expansion of macro 'arch_raw_cpu_ptr' arch_raw_cpu_ptr(ptr); \ ^ /kisskb/src/include/asm-generic/percpu.h:119:21: note: in expansion of macro 'raw_cpu_ptr' __ret = READ_ONCE(*raw_cpu_ptr(&(pcp))); \ ^ /kisskb/src/include/asm-generic/percpu.h:138:11: note: in expansion of macro '__this_cpu_generic_read_nopreempt' __ret = __this_cpu_generic_read_nopreempt(pcp); \ ^ /kisskb/src/include/asm-generic/percpu.h:320:31: note: in expansion of macro 'this_cpu_generic_read' #define this_cpu_read_1(pcp) this_cpu_generic_read(pcp) ^ /kisskb/src/include/linux/percpu-defs.h:321:23: note: in expansion of macro 'this_cpu_read_1' case 1: pscr_ret__ = stem##1(variable); break; \ ^ /kisskb/src/include/linux/percpu-defs.h:507:29: note: in expansion of macro '__pcpu_size_call_return' #define this_cpu_read(pcp) __pcpu_size_call_return(this_cpu_read_, pcp) ^ /kisskb/src/include/linux/lockdep.h:565:9: note: in expansion of macro 'this_cpu_read' this_cpu_read(hardirqs_enabled))); \ ^ /kisskb/src/include/linux/seqlock.h:285:2: note: in expansion of macro 'lockdep_assert_preemption_disabled' lockdep_assert_preemption_disabled(); ^ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:114: arch/mips/kernel/asm-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1195: prepare0] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_mips-allmodconfig_mips-gcc4.9 # Build took: 0:00:09.116118