# git rev-parse -q --verify bd6bf7c10484f026505814b690104cdef27ed460^{commit} bd6bf7c10484f026505814b690104cdef27ed460 already have revision, skipping fetch # git checkout -q -f -B kisskb bd6bf7c10484f026505814b690104cdef27ed460 # git clean -qxdf # < git log -1 # commit bd6bf7c10484f026505814b690104cdef27ed460 # Merge: a41efc2a0f68 663569db6476 # Author: Linus Torvalds # Date: Thu Oct 25 06:50:48 2018 -0700 # # Merge tag 'pci-v4.20-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci # # Pull PCI updates from Bjorn Helgaas: # # - Fix ASPM link_state teardown on removal (Lukas Wunner) # # - Fix misleading _OSC ASPM message (Sinan Kaya) # # - Make _OSC optional for PCI (Sinan Kaya) # # - Don't initialize ASPM link state when ACPI_FADT_NO_ASPM is set # (Patrick Talbert) # # - Remove x86 and arm64 node-local allocation for host bridge structures # (Punit Agrawal) # # - Pay attention to device-specific _PXM node values (Jonathan Cameron) # # - Support new Immediate Readiness bit (Felipe Balbi) # # - Differentiate between pciehp surprise and safe removal (Lukas Wunner) # # - Remove unnecessary pciehp includes (Lukas Wunner) # # - Drop pciehp hotplug_slot_ops wrappers (Lukas Wunner) # # - Tolerate PCIe Slot Presence Detect being hardwired to zero to # workaround broken hardware, e.g., the Wilocity switch/wireless device # (Lukas Wunner) # # - Unify pciehp controller & slot structs (Lukas Wunner) # # - Constify hotplug_slot_ops (Lukas Wunner) # # - Drop hotplug_slot_info (Lukas Wunner) # # - Embed hotplug_slot struct into users instead of allocating it # separately (Lukas Wunner) # # - Initialize PCIe port service drivers directly instead of relying on # initcall ordering (Keith Busch) # # - Restore PCI config state after a slot reset (Keith Busch) # # - Save/restore DPC config state along with other PCI config state # (Keith Busch) # # - Reference count devices during AER handling to avoid race issue with # concurrent hot removal (Keith Busch) # # - If an Upstream Port reports ERR_FATAL, don't try to read the Port's # config space because it is probably unreachable (Keith Busch) # # - During error handling, use slot-specific reset instead of secondary # bus reset to avoid link up/down issues on hotplug ports (Keith Busch) # # - Restore previous AER/DPC handling that does not remove and # re-enumerate devices on ERR_FATAL (Keith Busch) # # - Notify all drivers that may be affected by error recovery resets # (Keith Busch) # # - Always generate error recovery uevents, even if a driver doesn't have # error callbacks (Keith Busch) # # - Make PCIe link active reporting detection generic (Keith Busch) # # - Support D3cold in PCIe hierarchies during system sleep and runtime, # including hotplug and Thunderbolt ports (Mika Westerberg) # # - Handle hpmemsize/hpiosize kernel parameters uniformly, whether slots # are empty or occupied (Jon Derrick) # # - Remove duplicated include from pci/pcie/err.c and unused variable # from cpqphp (YueHaibing) # # - Remove driver pci_cleanup_aer_uncorrect_error_status() calls (Oza # Pawandeep) # # - Uninline PCI bus accessors for better ftracing (Keith Busch) # # - Remove unused AER Root Port .error_resume method (Keith Busch) # # - Use kfifo in AER instead of a local version (Keith Busch) # # - Use threaded IRQ in AER bottom half (Keith Busch) # # - Use managed resources in AER core (Keith Busch) # # - Reuse pcie_port_find_device() for AER injection (Keith Busch) # # - Abstract AER interrupt handling to disconnect error injection (Keith # Busch) # # - Refactor AER injection callbacks to simplify future improvments # (Keith Busch) # # - Remove unused Netronome NFP32xx Device IDs (Jakub Kicinski) # # - Use bitmap_zalloc() for dma_alias_mask (Andy Shevchenko) # # - Add switch fall-through annotations (Gustavo A. R. Silva) # # - Remove unused Switchtec quirk variable (Joshua Abraham) # # - Fix pci.c kernel-doc warning (Randy Dunlap) # # - Remove trivial PCI wrappers for DMA APIs (Christoph Hellwig) # # - Add Intel GPU device IDs to spurious interrupt quirk (Bin Meng) # # - Run Switchtec DMA aliasing quirk only on NTB endpoints to avoid # useless dmesg errors (Logan Gunthorpe) # # - Update Switchtec NTB documentation (Wesley Yung) # # - Remove redundant "default n" from Kconfig (Bartlomiej Zolnierkiewicz) # # - Avoid panic when drivers enable MSI/MSI-X twice (Tonghao Zhang) # # - Add PCI support for peer-to-peer DMA (Logan Gunthorpe) # # - Add sysfs group for PCI peer-to-peer memory statistics (Logan # Gunthorpe) # # - Add PCI peer-to-peer DMA scatterlist mapping interface (Logan # Gunthorpe) # # - Add PCI configfs/sysfs helpers for use by peer-to-peer users (Logan # Gunthorpe) # # - Add PCI peer-to-peer DMA driver writer's documentation (Logan # Gunthorpe) # # - Add block layer flag to indicate driver support for PCI peer-to-peer # DMA (Logan Gunthorpe) # # - Map Infiniband scatterlists for peer-to-peer DMA if they contain P2P # memory (Logan Gunthorpe) # # - Register nvme-pci CMB buffer as PCI peer-to-peer memory (Logan # Gunthorpe) # # - Add nvme-pci support for PCI peer-to-peer memory in requests (Logan # Gunthorpe) # # - Use PCI peer-to-peer memory in nvme (Stephen Bates, Steve Wise, # Christoph Hellwig, Logan Gunthorpe) # # - Cache VF config space size to optimize enumeration of many VFs # (KarimAllah Ahmed) # # - Remove unnecessary include (Bjorn Helgaas) # # - Fix VMD AERSID quirk Device ID matching (Jon Derrick) # # - Fix Cadence PHY handling during probe (Alan Douglas) # # - Signal Cadence Endpoint interrupts via AXI region 0 instead of last # region (Alan Douglas) # # - Write Cadence Endpoint MSI interrupts with 32 bits of data (Alan # Douglas) # # - Remove redundant controller tests for "device_type == pci" (Rob # Herring) # # - Document R-Car E3 (R8A77990) bindings (Tho Vu) # # - Add device tree support for R-Car r8a7744 (Biju Das) # # - Drop unused mvebu PCIe capability code (Thomas Petazzoni) # # - Add shared PCI bridge emulation code (Thomas Petazzoni) # # - Convert mvebu to use shared PCI bridge emulation (Thomas Petazzoni) # # - Add aardvark Root Port emulation (Thomas Petazzoni) # # - Support 100MHz/200MHz refclocks for i.MX6 (Lucas Stach) # # - Add initial power management for i.MX7 (Leonard Crestez) # # - Add PME_Turn_Off support for i.MX7 (Leonard Crestez) # # - Fix qcom runtime power management error handling (Bjorn Andersson) # # - Update TI dra7xx unaligned access errata workaround for host mode as # well as endpoint mode (Vignesh R) # # - Fix kirin section mismatch warning (Nathan Chancellor) # # - Remove iproc PAXC slot check to allow VF support (Jitendra Bhivare) # # - Quirk Keystone K2G to limit MRRS to 256 (Kishon Vijay Abraham I) # # - Update Keystone to use MRRS quirk for host bridge instead of open # coding (Kishon Vijay Abraham I) # # - Refactor Keystone link establishment (Kishon Vijay Abraham I) # # - Simplify and speed up Keystone link training (Kishon Vijay Abraham I) # # - Remove unused Keystone host_init argument (Kishon Vijay Abraham I) # # - Merge Keystone driver files into one (Kishon Vijay Abraham I) # # - Remove redundant Keystone platform_set_drvdata() (Kishon Vijay # Abraham I) # # - Rename Keystone functions for uniformity (Kishon Vijay Abraham I) # # - Add Keystone device control module DT binding (Kishon Vijay Abraham # I) # # - Use SYSCON API to get Keystone control module device IDs (Kishon # Vijay Abraham I) # # - Clean up Keystone PHY handling (Kishon Vijay Abraham I) # # - Use runtime PM APIs to enable Keystone clock (Kishon Vijay Abraham I) # # - Clean up Keystone config space access checks (Kishon Vijay Abraham I) # # - Get Keystone outbound window count from DT (Kishon Vijay Abraham I) # # - Clean up Keystone outbound window configuration (Kishon Vijay Abraham # I) # # - Clean up Keystone DBI setup (Kishon Vijay Abraham I) # # - Clean up Keystone ks_pcie_link_up() (Kishon Vijay Abraham I) # # - Fix Keystone IRQ status checking (Kishon Vijay Abraham I) # # - Add debug messages for all Keystone errors (Kishon Vijay Abraham I) # # - Clean up Keystone includes and macros (Kishon Vijay Abraham I) # # - Fix Mediatek unchecked return value from devm_pci_remap_iospace() # (Gustavo A. R. Silva) # # - Fix Mediatek endpoint/port matching logic (Honghui Zhang) # # - Change Mediatek Root Port Class Code to PCI_CLASS_BRIDGE_PCI (Honghui # Zhang) # # - Remove redundant Mediatek PM domain check (Honghui Zhang) # # - Convert Mediatek to pci_host_probe() (Honghui Zhang) # # - Fix Mediatek MSI enablement (Honghui Zhang) # # - Add Mediatek system PM support for MT2712 and MT7622 (Honghui Zhang) # # - Add Mediatek loadable module support (Honghui Zhang) # # - Detach VMD resources after stopping root bus to prevent orphan # resources (Jon Derrick) # # - Convert pcitest build process to that used by other tools (iio, perf, # etc) (Gustavo Pimentel) # # * tag 'pci-v4.20-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (140 commits) # PCI/AER: Refactor error injection fallbacks # PCI/AER: Abstract AER interrupt handling # PCI/AER: Reuse existing pcie_port_find_device() interface # PCI/AER: Use managed resource allocations # PCI: pcie: Remove redundant 'default n' from Kconfig # PCI: aardvark: Implement emulated root PCI bridge config space # PCI: mvebu: Convert to PCI emulated bridge config space # PCI: mvebu: Drop unused PCI express capability code # PCI: Introduce PCI bridge emulated config space common logic # PCI: vmd: Detach resources after stopping root bus # nvmet: Optionally use PCI P2P memory # nvmet: Introduce helper functions to allocate and free request SGLs # nvme-pci: Add support for P2P memory in requests # nvme-pci: Use PCI p2pmem subsystem to manage the CMB # IB/core: Ensure we map P2P memory correctly in rdma_rw_ctx_[init|destroy]() # block: Add PCI P2P flag for request queue # PCI/P2PDMA: Add P2P DMA driver writer's documentation # docs-rst: Add a new directory for PCI documentation # PCI/P2PDMA: Introduce configfs/sysfs enable attribute helpers # PCI/P2PDMA: Add PCI p2pmem DMA mappings to adjust the bus offset # ... # < /opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux-gcc --version # < git log --format=%s --max-count=1 bd6bf7c10484f026505814b690104cdef27ed460 # < make -s -j 80 ARCH=s390 O=/kisskb/build/linus_s390-allmodconfig_s390x CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # yes \n | make -s -j 80 ARCH=s390 O=/kisskb/build/linus_s390-allmodconfig_s390x CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux- oldconfig yes: standard output: Broken pipe # make -s -j 80 ARCH=s390 O=/kisskb/build/linus_s390-allmodconfig_s390x CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux- /kisskb/src/arch/s390/crypto/aes_s390.c: In function 'fallback_blk_dec': /kisskb/src/arch/s390/crypto/aes_s390.c:217:1: warning: 'fallback_blk_dec' uses dynamic stack allocation [enabled by default] /kisskb/src/arch/s390/crypto/aes_s390.c: In function 'fallback_blk_enc': /kisskb/src/arch/s390/crypto/aes_s390.c:234:1: warning: 'fallback_blk_enc' uses dynamic stack allocation [enabled by default] /kisskb/src/arch/s390/crypto/aes_s390.c: In function 'xts_fallback_decrypt': /kisskb/src/arch/s390/crypto/aes_s390.c:486:1: warning: 'xts_fallback_decrypt' uses dynamic stack allocation [enabled by default] /kisskb/src/arch/s390/crypto/aes_s390.c: In function 'xts_fallback_encrypt': /kisskb/src/arch/s390/crypto/aes_s390.c:505:1: warning: 'xts_fallback_encrypt' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1256:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/s390/kernel/nospec-branch.c: In function '__nospec_revert': /kisskb/src/arch/s390/kernel/nospec-branch.c:130:61: error: macro "memcpy" passed 6 arguments, but takes just 3 /kisskb/src/arch/s390/kernel/nospec-branch.c:130:3: warning: statement with no effect [-Wunused-value] make[3]: *** [/kisskb/src/scripts/Makefile.build:305: arch/s390/kernel/nospec-branch.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:185:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] make[2]: *** [/kisskb/src/scripts/Makefile.build:546: arch/s390/kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/kernel/events/ring_buffer.c: In function 'perf_output_begin_forward': /kisskb/src/kernel/events/ring_buffer.c:238:1: warning: 'perf_output_begin_forward' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/ring_buffer.c: In function 'perf_output_begin_backward': /kisskb/src/kernel/events/ring_buffer.c:244:1: warning: 'perf_output_begin_backward' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/ring_buffer.c: In function 'perf_output_begin': /kisskb/src/kernel/events/ring_buffer.c:252:1: warning: 'perf_output_begin' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_log_throttle': /kisskb/src/kernel/events/core.c:7651:1: warning: 'perf_log_throttle' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_swevent_hrtimer': /kisskb/src/kernel/events/core.c:9134:1: warning: 'perf_swevent_hrtimer' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_log_itrace_start': /kisskb/src/kernel/events/core.c:7692:1: warning: 'perf_log_itrace_start' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_event_read_event': /kisskb/src/kernel/events/core.c:6581:1: warning: 'perf_event_read_event' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_event_task_output': /kisskb/src/kernel/events/core.c:6860:1: warning: 'perf_event_task_output' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_event_mmap_output': /kisskb/src/kernel/events/core.c:7216:1: warning: 'perf_event_mmap_output' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_event_namespaces_output': /kisskb/src/kernel/events/core.c:7053:1: warning: 'perf_event_namespaces_output' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_event_comm_output': /kisskb/src/kernel/events/core.c:6954:1: warning: 'perf_event_comm_output' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_event_switch_output': /kisskb/src/kernel/events/core.c:7580:1: warning: 'perf_event_switch_output' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_event_aux_event': /kisskb/src/kernel/events/core.c:7488:1: warning: 'perf_event_aux_event' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_log_lost_samples': /kisskb/src/kernel/events/core.c:7521:1: warning: 'perf_log_lost_samples' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function 'perf_tp_event': /kisskb/src/kernel/events/core.c:8331:1: warning: 'perf_tp_event' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/events/core.c: In function '___perf_sw_event': /kisskb/src/kernel/events/core.c:8017:1: warning: '___perf_sw_event' uses dynamic stack allocation [enabled by default] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1433:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/smp.c: In function 'smp_call_function_single': /kisskb/src/kernel/smp.c:307:1: warning: 'smp_call_function_single' uses dynamic stack allocation [enabled by default] /kisskb/src/fs/afs/dynroot.c: In function 'afs_lookup_atcell': /kisskb/src/fs/afs/dynroot.c:126:6: warning: 'len' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/slub.c: In function 'deactivate_slab.isra.37': /kisskb/src/mm/slub.c:2132:1: warning: 'deactivate_slab.isra.37' uses dynamic stack allocation [enabled by default] /kisskb/src/mm/slub.c: In function 'unfreeze_partials.isra.38': /kisskb/src/mm/slub.c:2200:1: warning: 'unfreeze_partials.isra.38' uses dynamic stack allocation [enabled by default] /kisskb/src/mm/slub.c: In function 'get_partial_node.isra.39': /kisskb/src/mm/slub.c:1832:1: warning: 'get_partial_node.isra.39' uses dynamic stack allocation [enabled by default] /kisskb/src/mm/slub.c: In function '___slab_alloc': /kisskb/src/mm/slub.c:2587:1: warning: '___slab_alloc' uses dynamic stack allocation [enabled by default] make[1]: *** [/kisskb/src/Makefile:1052: arch/s390] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/mm/slub.c: In function '__slab_free': /kisskb/src/mm/slub.c:2888:1: warning: '__slab_free' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/rseq.c: In function 'rseq_ip_fixup': /kisskb/src/kernel/rseq.c:249:1: warning: 'rseq_ip_fixup' uses dynamic stack allocation [enabled by default] /kisskb/src/kernel/rseq.c: In function 'rseq_syscall': /kisskb/src/kernel/rseq.c:301:1: warning: 'rseq_syscall' uses dynamic stack allocation [enabled by default] /kisskb/src/fs/crypto/keyinfo.c: In function 'derive_essiv_salt': /kisskb/src/fs/crypto/keyinfo.c:250:1: warning: 'derive_essiv_salt' uses dynamic stack allocation [enabled by default] /kisskb/src/fs/ecryptfs/crypto.c: In function 'ecryptfs_hash_digest': /kisskb/src/fs/ecryptfs/crypto.c:75:1: warning: 'ecryptfs_hash_digest' uses dynamic stack allocation [enabled by default] /kisskb/src/security/apparmor/crypto.c: In function 'aa_calc_hash': /kisskb/src/security/apparmor/crypto.c:64:1: warning: 'aa_calc_hash' uses dynamic stack allocation [enabled by default] /kisskb/src/security/apparmor/crypto.c: In function 'aa_calc_profile_hash': /kisskb/src/security/apparmor/crypto.c:106:1: warning: 'aa_calc_profile_hash' uses dynamic stack allocation [enabled by default] /kisskb/src/fs/btrfs/ref-verify.c: In function 'process_extent_item.isra.2': /kisskb/src/fs/btrfs/ref-verify.c:503:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/btrfs/ref-verify.c: In function 'process_leaf.isra.3': /kisskb/src/fs/btrfs/ref-verify.c:555:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/security/keys/encrypted-keys/encrypted.c: In function 'calc_hash': /kisskb/src/security/keys/encrypted-keys/encrypted.c:337:1: warning: 'calc_hash' uses dynamic stack allocation [enabled by default] /kisskb/src/fs/f2fs/file.c: In function 'f2fs_precache_extents': /kisskb/src/fs/f2fs/file.c:2926:6: warning: 'err' 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:341:21: note: 'pdeo' was declared here /kisskb/src/security/integrity/ima/ima_crypto.c: In function 'calc_buffer_shash_tfm': /kisskb/src/security/integrity/ima/ima_crypto.c:600:1: warning: 'calc_buffer_shash_tfm' uses dynamic stack allocation [enabled by default] /kisskb/src/security/integrity/ima/ima_crypto.c: In function 'ima_calc_boot_aggregate_tfm': /kisskb/src/security/integrity/ima/ima_crypto.c:667:1: warning: 'ima_calc_boot_aggregate_tfm' uses dynamic stack allocation [enabled by default] /kisskb/src/security/integrity/ima/ima_crypto.c: In function 'ima_calc_file_hash_tfm': /kisskb/src/security/integrity/ima/ima_crypto.c:388:1: warning: 'ima_calc_file_hash_tfm' uses dynamic stack allocation [enabled by default] /kisskb/src/security/integrity/ima/ima_crypto.c: In function 'ima_calc_field_array_hash_tfm.isra.3': /kisskb/src/security/integrity/ima/ima_crypto.c:493:1: warning: 'ima_calc_field_array_hash_tfm.isra.3' uses dynamic stack allocation [enabled by default] /kisskb/src/fs/nfsd/nfs4recover.c: In function 'nfs4_make_rec_clidname': /kisskb/src/fs/nfsd/nfs4recover.c:147:1: warning: 'nfs4_make_rec_clidname' uses dynamic stack allocation [enabled by default] /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2069:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/nfsd/nfs4xdr.c:2074:42: warning: 'end' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/nfs/super.c: In function 'nfs_show_stats': /kisskb/src/fs/nfs/super.c:890:1: warning: 'nfs_show_stats' uses dynamic stack allocation [enabled by default] make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 80 ARCH=s390 O=/kisskb/build/linus_s390-allmodconfig_s390x CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_s390-allmodconfig_s390x # Build took: 0:01:27.216257