1. 21 Oct, 2020 27 commits
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/xgene' · 4c0e51f8
      Bjorn Helgaas authored
      - Remove unused assignment (Krzysztof Wilczyński)
      
      * remotes/lorenzo/pci/xgene:
        PCI: xgene: Remove unused assignment to variable msi_val
      4c0e51f8
    • Bjorn Helgaas's avatar
      Merge branch 'pci/vmd' · a2340daa
      Bjorn Helgaas authored
      - Add physical offset helper (Jon Derrick)
      
      - Add bus offset configuration helper (Jon Derrick)
      
      - Add IRQ domain configuration helper (Jon Derrick)
      
      - Add IRQ allocation helper (Jon Derrick)
      
      - Drop pci_save_state()/pci_restore_state() in favor of the PCI core PM
        (Jon Derrick)
      
      * pci/vmd:
        PCI: vmd: Update VMD PM to correctly use generic PCI PM
        PCI: vmd: Create IRQ allocation helper
        PCI: vmd: Create IRQ Domain configuration helper
        PCI: vmd: Create bus offset configuration helper
        PCI: vmd: Create physical offset helper
      a2340daa
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/tegra' · 214b2e04
      Bjorn Helgaas authored
      - Drop return value checking for debugfs_create() calls (Greg
        Kroah-Hartman)
      
      - Convert debugfs "ports" file to use DEFINE_SEQ_ATTRIBUTE() (Liu Shixin)
      
      * remotes/lorenzo/pci/tegra:
        PCI: tegra: Convert to use DEFINE_SEQ_ATTRIBUTE macro
        PCI: tegra: No need to check return value of debugfs_create() functions
      214b2e04
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/rcar' · f95f023d
      Bjorn Helgaas authored
      - Document R8A774A1, R8A774B1, R8A774E1 endpoint support in DT (Lad
        Prabhakar)
      
      - Add R8A774A1, R8A774B1, R8A774E1 (RZ/G2M, RZ/G2N, RZ/G2H) IDs to endpoint
        test (Lad Prabhakar)
      
      - Add device tree support for R8A7742 (Lad Prabhakar)
      
      - Use "fallthrough" pseudo-keyword (Gustavo A. R. Silva)
      
      * remotes/lorenzo/pci/rcar:
        dt-bindings: PCI: rcar: Add device tree support for r8a7742
        PCI: rcar-gen2: Use fallthrough pseudo-keyword
        misc: pci_endpoint_test: Add Device ID for RZ/G2H PCIe controller
        dt-bindings: pci: rcar-pci-ep: Document r8a774e1
        misc: pci_endpoint_test: Add Device ID for RZ/G2M and RZ/G2N PCIe controllers
        dt-bindings: pci: rcar-pci-ep: Document r8a774a1 and r8a774b1
      f95f023d
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/qcom' · 3b353982
      Bjorn Helgaas authored
      - Make sure PCIe is reset before init to work around QSDK U-Boot issue
        (Ansuel Smith)
      
      - Set iproc affinity mask on MSI interrupts (Mark Tomlinson)
      
      * remotes/lorenzo/pci/qcom:
        PCI: qcom: Make sure PCIe is reset before init for rev 2.1.0
      3b353982
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/mvebu' · be36e9b9
      Bjorn Helgaas authored
      - Remove useless msi_controller pointer allocation (Lorenzo Pieralisi)
      
      * remotes/lorenzo/pci/mvebu:
        PCI: mvebu: Remove useless msi_controller pointer allocation
      be36e9b9
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/mobiveil' · 4f317eac
      Bjorn Helgaas authored
      - Simplify mobiveil_pcie_init_irq_domain() (Liu Shixin)
      
      * remotes/lorenzo/pci/mobiveil:
        PCI: mobiveil: Simplify mobiveil_pcie_init_irq_domain() return expression
      4f317eac
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/meson' · 92f27db7
      Bjorn Helgaas authored
      - Add pci-meson module support and enable by default on ARCH_MESON (Kevin
        Hilman)
      
      * remotes/lorenzo/pci/meson:
        PCI: meson: Build as module by default
      92f27db7
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/loongson' · 1f287b5c
      Bjorn Helgaas authored
      * remotes/lorenzo/pci/loongson:
        PCI: loongson: Simplify loongson_pci_probe() return expression
      1f287b5c
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/kirin' · 29828fc2
      Bjorn Helgaas authored
      - Return -EPROBE_DEFER in case the gpio isn't ready (Bean Huo)
      
      * remotes/lorenzo/pci/kirin:
        PCI: kirin: Return -EPROBE_DEFER in case the gpio isn't ready
      29828fc2
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/iproc' · 7ba381c4
      Bjorn Helgaas authored
      - Set affinity mask on MSI interrupts (Mark Tomlinson)
      
      - Simplify by using module_bcma_driver (Liu Shixin)
      
      - Fix 'using integer as NULL pointer' warning (Krzysztof Wilczyński)
      
      * remotes/lorenzo/pci/iproc:
        PCI: iproc: Fix using plain integer as NULL pointer in iproc_pcie_pltfm_probe
        PCI: iproc: Use module_bcma_driver to simplify the code
        PCI: iproc: Set affinity mask on MSI interrupts
      7ba381c4
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/imx6' · 982f8334
      Bjorn Helgaas authored
      - Use "fallthrough" pseudo-keyword (Gustavo A. R. Silva)
      
      - Drop redundant error messages after devm_clk_get() (Anson Huang)
      
      * remotes/lorenzo/pci/imx6:
        PCI: imx6: Do not output error message when devm_clk_get() failed with -EPROBE_DEFER
        PCI: imx6: Use fallthrough pseudo-keyword
      982f8334
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/hv' · 9d69d649
      Bjorn Helgaas authored
      - Fix hibernation in case interrupts are not re-created (Dexuan Cui)
      
      * remotes/lorenzo/pci/hv:
        PCI: hv: Fix hibernation in case interrupts are not re-created
      9d69d649
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/dwc' · 924bb1f9
      Bjorn Helgaas authored
      - Fix designware-ep Header Type check (Hou Zhiqiang)
      
      - Use DBI accessors instead of own config accessors (Rob Herring)
      
      - Allow overriding bridge pci_ops (Rob Herring)
      
      - Allow root and child buses to have different pci_ops (Rob Herring)
      
      - Add default dwc pci_ops.map_bus (Rob Herring)
      
      - Use pci_ops for root config space accessors in al, exynos, histb,
        keystone, kirin, meson, tegra (Rob Herring)
      
      - Remove dwc own/other config accessor ops (Rob Herring)
      
      - Use generic config accessors in dwc (Rob Herring)
      
      - Also call .add_bus() callback for root bus (Rob Herring)
      
      - Convert keystone .scan_bus() callback to use pci_ops.add_bus (Rob
        Herring)
      
      - Convert dwc to use pci_host_probe() (Rob Herring)
      
      - Remove dwc root_bus pointer (Rob Herring)
      
      - Remove storing of PCI resources in dwc-specific structs (Rob Herring)
      
      - Simplify config space handling (Rob Herring)
      
      - Drop keystone duplicated DT num-viewport handling (Rob Herring)
      
      - Check CONFIG_PCI_MSI in dw_pcie_msi_init() instead of duplicating it in
        all the drivers (Rob Herring)
      
      - Remove imx6 duplicate PCIE_LINK_WIDTH_SPEED_CONTROL definition (Rob
        Herring)
      
      - Add dwc num_lanes for use when it's lacking from DT (Rob Herring)
      
      - Ensure "Fast Link Mode" simulation environment setting is cleared (Rob
        Herring)
      
      - Drop meson duplicate number of lanes setup (Rob Herring)
      
      - Drop meson unnecessary RC config space init (Rob Herring)
      
      - Rework meson config and dwc port logic register accesses (Rob Herring)
      
      - Use common PCI register definitions in imx6 and qcom (Rob Herring)
      
      - Search for DesignWare PCIe Capability instead of hard-coding its location
        (Rob Herring)
      
      - Use common DesignWare register definitions in tegra (Rob Herring)
      
      - Drop keystone unused DBI2 code (Rob Herring)
      
      - Make dwc ATU accessors private (Rob Herring)
      
      - Centralize link gen setting in dwc (Rob Herring)
      
      - Set PORT_LINK_DLL_LINK_EN in common dwc setup code (Rob Herring)
      
      - Drop intel-gw unnecessary DT 'device_type' checking (Rob Herring)
      
      - Move intel-gw PCI_CAP_ID_EXP discovery to the single place it's used (Rob
        Herring)
      
      - Drop intel-gw unused max_width (Rob Herring)
      
      - Move N_FTS (fast training sequence) setup to common dwc setup (Rob
        Herring)
      
      - Convert spear13xx, tegra194 to use DBI accessors (Rob Herring)
      
      - Add multiple PFs support for DWC (Xiaowei Bao)
      
      - Add MSI-X doorbell mode for endpoint mode (Xiaowei Bao)
      
      - Update MSI/MSI-X capability management for endpoints (Xiaowei Bao)
      
      - Add layerscape ls1088a and ls2088a compatible strings (Xiaowei Bao)
      
      - Update layerscape MSI/MSI-X management (Xiaowei Bao)
      
      - Use doorbell to support MSI-X on layerscape (Xiaowei Bao)
      
      - Add layerscape endpoint mode support for ls1088a and ls2088a (Xiaowei
        Bao)
      
      - Add layerscape ls1088a node to DT (Xiaowei Bao)
      
      - Add Freescale/Layerscape ls1088a to endpoint test (Xiaowei Bao)
      
      - Add endpoint test driver data for Layerscape PCIe controllers (Hou
        Zhiqiang)
      
      - Fix 'cast truncates bits from constant value' warning (Gustavo Pimentel)
      
      - Add uniphier iATU register description (Kunihiko Hayashi)
      
      - Add common iATU register support (Kunihiko Hayashi)
      
      - Remove keystone iATU register mapping in favor of generic dwc support
        (Kunihiko Hayashi)
      
      - Skip PCIE_MSI_INTR0* programming if MSI is disabled (Jisheng Zhang)
      
      - Fix MSI page leakage in suspend/resume (Jisheng Zhang)
      
      - Check whether link is up before attempting config access (best-effort fix
        even though it's racy) (Hou Zhiqiang)
      
      * remotes/lorenzo/pci/dwc:
        PCI: dwc: Add link up check in dw_child_pcie_ops.map_bus()
        PCI: dwc: Fix MSI page leakage in suspend/resume
        PCI: dwc: Skip PCIE_MSI_INTR0* programming if MSI is disabled
        PCI: keystone: Remove iATU register mapping
        PCI: dwc: Add common iATU register support
        dt-bindings: PCI: uniphier-ep: Add iATU register description
        dt-bindings: PCI: uniphier: Add iATU register description
        PCI: dwc: Fix 'cast truncates bits from constant value'
        misc: pci_endpoint_test: Add driver data for Layerscape PCIe controllers
        misc: pci_endpoint_test: Add LS1088a in pci_device_id table
        PCI: layerscape: Add EP mode support for ls1088a and ls2088a
        PCI: layerscape: Modify the MSIX to the doorbell mode
        PCI: layerscape: Modify the way of getting capability with different PEX
        PCI: layerscape: Fix some format issue of the code
        dt-bindings: pci: layerscape-pci: Add compatible strings for ls1088a and ls2088a
        PCI: designware-ep: Modify MSI and MSIX CAP way of finding
        PCI: designware-ep: Move the function of getting MSI capability forward
        PCI: designware-ep: Add the doorbell mode of MSI-X in EP mode
        PCI: designware-ep: Add multiple PFs support for DWC
        PCI: dwc: Use DBI accessors
        PCI: dwc: Move N_FTS setup to common setup
        PCI: dwc/intel-gw: Drop unused max_width
        PCI: dwc/intel-gw: Move getting PCI_CAP_ID_EXP offset to intel_pcie_link_setup()
        PCI: dwc/intel-gw: Drop unnecessary checking of DT 'device_type' property
        PCI: dwc: Set PORT_LINK_DLL_LINK_EN in common setup code
        PCI: dwc: Centralize link gen setting
        PCI: dwc: Make ATU accessors private
        PCI: dwc: Remove read_dbi2 code
        PCI: dwc/tegra: Use common Designware port logic register definitions
        PCI: dwc: Remove hardcoded PCI_CAP_ID_EXP offset
        PCI: dwc/qcom: Use common PCI register definitions
        PCI: dwc/imx6: Use common PCI register definitions
        PCI: dwc/meson: Rework PCI config and DW port logic register accesses
        PCI: dwc/meson: Drop unnecessary RC config space initialization
        PCI: dwc/meson: Drop the duplicate number of lanes setup
        PCI: dwc: Ensure FAST_LINK_MODE is cleared
        PCI: dwc: Add a 'num_lanes' field to struct dw_pcie
        PCI: dwc/imx6: Remove duplicate define PCIE_LINK_WIDTH_SPEED_CONTROL
        PCI: dwc: Check CONFIG_PCI_MSI inside dw_pcie_msi_init()
        PCI: dwc/keystone: Drop duplicated 'num-viewport'
        PCI: dwc: Simplify config space handling
        PCI: dwc: Remove storing of PCI resources
        PCI: dwc: Remove root_bus pointer
        PCI: dwc: Convert to use pci_host_probe()
        PCI: dwc: keystone: Convert .scan_bus() callback to use add_bus
        PCI: Also call .add_bus() callback for root bus
        PCI: dwc: Use generic config accessors
        PCI: dwc: Remove dwc specific config accessor ops
        PCI: dwc: histb: Use pci_ops for root config space accessors
        PCI: dwc: exynos: Use pci_ops for root config space accessors
        PCI: dwc: kirin: Use pci_ops for root config space accessors
        PCI: dwc: meson: Use pci_ops for root config space accessors
        PCI: dwc: tegra: Use pci_ops for root config space accessors
        PCI: dwc: keystone: Use pci_ops for config space accessors
        PCI: dwc: al: Use pci_ops for child config space accessors
        PCI: dwc: Add a default pci_ops.map_bus for root port
        PCI: dwc: Allow overriding bridge pci_ops
        PCI: dwc: Use DBI accessors instead of own config accessors
        PCI: Allow root and child buses to have different pci_ops
        PCI: designware-ep: Fix the Header Type check
      924bb1f9
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/cadence' · a78f2e07
      Bjorn Helgaas authored
      - Remove obsolete path from comment (Flavio Suligoi)
      
      - Simplify cdns_pcie_host_init_address_translation() (Qinglang Miao)
      
      * remotes/lorenzo/pci/cadence:
        PCI: cadence: Simplify cdns_pcie_host_init_address_translation() return expression
        PCI: cadence-ep: Remove obsolete path from comment
      a78f2e07
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/brcmstb' · a66999a3
      Bjorn Helgaas authored
      - Make PCIE_BRCMSTB depend on and default to ARCH_BRCMSTB (Jim Quinlan)
      
      - Add DT bindings for 7278, 7216, 7211, and new properties (Jim Quinlan)
      
      - Add bcm7278 register info (Jim Quinlan)
      
      - Add suspend and resume pm_ops (Jim Quinlan)
      
      - Add bcm7278 PERST# support (Jim Quinlan)
      
      - Add control of RESCAL reset (Jim Quinlan)
      
      - Set additional internal memory DMA viewport sizes (Jim Quinlan)
      
      - Accommodate MSI for older chips (Jim Quinlan)
      
      - Set bus max burst size by chip type (Jim Quinlan)
      
      - Add bcm7211, bcm7216, bcm7445, bcm7278 to match list (Jim Quinlan)
      
      * remotes/lorenzo/pci/brcmstb:
        PCI: brcmstb: Add bcm7211, bcm7216, bcm7445, bcm7278 to match list
        PCI: brcmstb: Set bus max burst size by chip type
        PCI: brcmstb: Accommodate MSI for older chips
        PCI: brcmstb: Set additional internal memory DMA viewport sizes
        PCI: brcmstb: Add control of rescal reset
        PCI: brcmstb: Add bcm7278 PERST# support
        PCI: brcmstb: Add suspend and resume pm_ops
        PCI: brcmstb: Add bcm7278 register info
        dt-bindings: PCI: Add bindings for more Brcmstb chips
        PCI: brcmstb: PCIE_BRCMSTB depends on ARCH_BRCMSTB
      a66999a3
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/aardvark' · d1640a83
      Bjorn Helgaas authored
      - Fix s390 build error (Pali Rohár)
      
      - Check for errors from pci_bridge_emul_init() (Pali Rohár)
      
      - Export pci-bridge-emul functions for use by modules (Pali Rohár)
      
      - Make aardvark driver modular (Pali Rohár)
      
      - Move PCIe reset code to advk_pcie_train_link() (Pali Rohár)
      
      - Convert internal SMCC firmware return codes to errno (Pali Rohár)
      
      - Fix initialization with old Marvell's Arm Trusted Firmware (Pali Rohár)
      
      * remotes/lorenzo/pci/aardvark:
        PCI: aardvark: Fix initialization with old Marvell's Arm Trusted Firmware
        phy: marvell: comphy: Convert internal SMCC firmware return codes to errno
        PCI: aardvark: Move PCIe reset card code to advk_pcie_train_link()
        PCI: aardvark: Implement driver 'remove' function and allow to build it as module
        PCI: pci-bridge-emul: Export API functions
        PCI: aardvark: Check for errors from pci_bridge_emul_init() call
        PCI: aardvark: Fix compilation on s390
      d1640a83
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/arm' · 5bedfdb2
      Bjorn Helgaas authored
      - Remove unused msi_ctrl, io_optional and align_resource fields from ARM
        struct hw_pci (Lorenzo Pieralisi)
      
      * remotes/lorenzo/pci/arm:
        ARM/PCI: Remove unused fields from struct hw_pci
      5bedfdb2
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/pci-iomap' · 299af12a
      Bjorn Helgaas authored
      - Remove useless __KERNEL__ preprocessor guard in sparc io_32.h (Lorenzo
        Pieralisi)
      
      - Move ioremap/iounmap declaration so it's visible in asm-generic/io.h
        (Lorenzo Pieralisi)
      
      - Fix memory leak in generic !CONFIG_GENERIC_IOMAP pci_iounmap()
        implementation (Lorenzo Pieralisi)
      
      * remotes/lorenzo/pci/pci-iomap:
        asm-generic/io.h: Fix !CONFIG_GENERIC_IOMAP pci_iounmap() implementation
        sparc32: Move ioremap/iounmap declaration before asm-generic/io.h include
        sparc32: Remove useless io_32.h __KERNEL__ preprocessor guard
      299af12a
    • Bjorn Helgaas's avatar
      Merge branch 'remotes/lorenzo/pci/apei' · 03b482e2
      Bjorn Helgaas authored
      - Add ACPI APEI notifier chain for unknown (vendor) CPER records (Shiju
        Jose)
      
      - Add handling of HiSilicon HIP PCIe controller errors (Yicong Yang)
      
      * remotes/lorenzo/pci/apei:
        PCI: hip: Add handling of HiSilicon HIP PCIe controller errors
        ACPI / APEI: Add a notifier chain for unknown (vendor) CPER records
      03b482e2
    • Bjorn Helgaas's avatar
      Merge branch 'pci/misc' · 8b28a3f3
      Bjorn Helgaas authored
      - Remove unnecessary #includes (Gustavo Pimentel)
      
      - Fix intel_mid_pci.c build error when !CONFIG_ACPI (Randy Dunlap)
      
      - Use scnprintf(), not snprintf(), in sysfs "show" functions (Krzysztof
        Wilczyński)
      
      - Simplify pci-pf-stub by using module_pci_driver() (Liu Shixin)
      
      - Print IRQ used by Link Bandwidth Notification (Dongdong Liu)
      
      - Update sysfs mmap-related #ifdef comments (Clint Sbisa)
      
      - Simplify pci_dev_reset_slot_function() (Lukas Wunner)
      
      - Use "NULL" instead of "0" to fix sparse warnings (Gustavo Pimentel)
      
      - Simplify bool comparisons (Krzysztof Wilczyński)
      
      - Drop double zeroing for P2PDMA sg_init_table() (Julia Lawall)
      
      * pci/misc:
        PCI: v3-semi: Remove unneeded break
        PCI/P2PDMA: Drop double zeroing for sg_init_table()
        PCI: Simplify bool comparisons
        PCI: endpoint: Use "NULL" instead of "0" as a NULL pointer
        PCI: Simplify pci_dev_reset_slot_function()
        PCI: Update mmap-related #ifdef comments
        PCI/LINK: Print IRQ number used by port
        PCI/IOV: Simplify pci-pf-stub with module_pci_driver()
        PCI: Use scnprintf(), not snprintf(), in sysfs "show" functions
        x86/PCI: Fix intel_mid_pci.c build error when ACPI is not enabled
        PCI: Remove unnecessary header includes
      8b28a3f3
    • Bjorn Helgaas's avatar
      Merge branch 'pci/pm' · 0d2493ab
      Bjorn Helgaas authored
      - Remove unused pcibios_pm_ops (Vaibhav Gupta)
      
      - Rename pci_dev.d3_delay to d3hot_delay (Krzysztof Wilczyński)
      
      - Apply D2 transition delay as microseconds, not milliseconds (Bjorn
        Helgaas)
      
      * pci/pm:
        PCI/PM: Revert "PCI/PM: Apply D2 delay as milliseconds, not microseconds"
        PCI/PM: Remove unused PCI_PM_BUS_WAIT
        PCI/PM: Rename pci_dev.d3_delay to d3hot_delay
        PCI/PM: Remove unused pcibios_pm_ops
      0d2493ab
    • Bjorn Helgaas's avatar
      Merge branch 'pci/hotplug' · 5cfdc750
      Bjorn Helgaas authored
      - Use for_each_child_of_node() and for_each_node_by_name() instead of
        open-coding them (Qinglang Miao)
      
      - Reduce pciehp noisiness on hot removal (Lukas Wunner)
      
      - Remove unused assignment in shpchp (Krzysztof Wilczyński)
      
      * pci/hotplug:
        PCI: shpchp: Remove unused 'rc' assignment
        PCI: pciehp: Reduce noisiness on hot removal
        PCI: rpadlpar: Use for_each_child_of_node() and for_each_node_by_name()
      5cfdc750
    • Bjorn Helgaas's avatar
      Merge branch 'pci/enumeration' · 28a18aec
      Bjorn Helgaas authored
      - Tone down message about missing optional MCFG (Jeremy Linton)
      
      - Add schedule point in pci_read_config() (Jiang Biao)
      
      - Add Ampere Altra SOC MCFG quirk (Tuan Phan)
      
      - Add Kconfig options for MPS/MRRS strategy (Jim Quinlan)
      
      * pci/enumeration:
        PCI: Add Kconfig options for MPS/MRRS strategy
        PCI/ACPI: Add Ampere Altra SOC MCFG quirk
        PCI: Add schedule point in pci_read_config()
        PCI/ACPI: Tone down missing MCFG message
      28a18aec
    • Bjorn Helgaas's avatar
      Merge branch 'pci/aspm' · a9f37906
      Bjorn Helgaas authored
      - Remove struct aspm_register_info (Saheed O. Bolarinwa)
      
      - Remove struct pcie_link_state.l1ss (Saheed O. Bolarinwa)
      
      * pci/aspm:
        PCI/ASPM: Remove struct pcie_link_state.l1ss
        PCI/ASPM: Remove struct aspm_register_info.l1ss_cap
        PCI/ASPM: Pass L1SS Capabilities value, not struct aspm_register_info
        PCI/ASPM: Remove struct aspm_register_info.l1ss_ctl1
        PCI/ASPM: Remove struct aspm_register_info.l1ss_ctl2 (unused)
        PCI/ASPM: Remove struct aspm_register_info.l1ss_cap_ptr
        PCI/ASPM: Remove struct aspm_register_info.latency_encoding
        PCI/ASPM: Remove struct aspm_register_info.enabled
        PCI/ASPM: Remove struct aspm_register_info.support
        PCI/ASPM: Use 'parent' and 'child' for readability
        PCI/ASPM: Move LTR path check to where it's used
        PCI/ASPM: Move pci_clear_and_set_dword() earlier
      a9f37906
    • Bjorn Helgaas's avatar
      Merge branch 'pci/acs' · 97d0260b
      Bjorn Helgaas authored
      - Enable Translation Blocking for external devices (Rajat Jain)
      
      * pci/acs:
        PCI/ACS: Enable Translation Blocking for external devices
      97d0260b
    • Jon Derrick's avatar
      PCI: vmd: Update VMD PM to correctly use generic PCI PM · 93c9fce7
      Jon Derrick authored
      The pci_save_state() call in vmd_suspend() can be performed by
      pci_pm_suspend_irq(). This also allows VMD to benefit from the call into
      pci_prepare_to_sleep().
      
      The pci_restore_state() call in vmd_resume() was restoring state after
      pci_pm_resume()::pci_restore_standard_config() had already restored state.
      It's also been suspected that the config state should have been restored
      before re-requesting IRQs instead of afterwards.
      
      Remove the pci_save_state()/pci_restore_state() calls in
      vmd_suspend()/vmd_resume() to allow proper flow through generic PCI core
      Power Management code.
      
      Link: https://lore.kernel.org/r/20200806210017.5654-1-jonathan.derrick@intel.comSigned-off-by: default avatarJon Derrick <jonathan.derrick@intel.com>
      Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Cc: Kai-Heng Feng <kai.heng.feng@canonical.com>
      Cc: You-Sheng Yang <vicamo.yang@canonical.com>
      93c9fce7
  2. 20 Oct, 2020 6 commits
  3. 16 Oct, 2020 7 commits