]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'pci/controller/dwc'
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 15 Jan 2024 18:10:37 +0000 (12:10 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 15 Jan 2024 18:10:37 +0000 (12:10 -0600)
- Convert fu740 CONFIG_PCIE_FU740 dependency from SOC_SIFIVE to ARCH_SIFIVE
  (Conor Dooley)

- Align iATU mapping for endpoint MSI-X (Niklas Cassel)

- Drop "host_" prefix from struct dw_pcie_host_ops members (Yoshihiro
  Shimoda)

- Drop "ep_" prefix from struct dw_pcie_ep_ops members (Yoshihiro Shimoda)

- Rename struct dw_pcie_ep_ops.func_conf_select() to .get_dbi_offset() to
  be more descriptive (Yoshihiro Shimoda)

- Add Endpoint DBI accessors to encapsulate offset lookups (Yoshihiro
  Shimoda)

- Cast iproc and rcar-gen4 of_device_get_match_data() results to uintptr_t
  to avoid clang "cast to smaller integer type" warnings (Justin Stitt,
  Yoshihiro Shimoda)

* pci/controller/dwc:
  PCI: rcar-gen4: Fix -Wvoid-pointer-to-enum-cast error
  PCI: iproc: Fix -Wvoid-pointer-to-enum-cast warning
  PCI: dwc: Add dw_pcie_ep_{read,write}_dbi[2] helpers
  PCI: dwc: Rename .func_conf_select to .get_dbi_offset in struct dw_pcie_ep_ops
  PCI: dwc: Rename .ep_init to .init in struct dw_pcie_ep_ops
  PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members
  PCI: dwc: endpoint: Fix dw_pcie_ep_raise_msix_irq() alignment support
  PCI: dwc: Convert SOC_SIFIVE to ARCH_SIFIVE

1  2 
drivers/pci/controller/dwc/pcie-intel-gw.c
drivers/pci/controller/dwc/pcie-keembay.c

index c9c93524e01dc393a35f0219b1f580ba69a9506e,be52e9db44af6a3ca3e010714e3a58f2259f6d0c..acbe4f6d3291d829636093746fa2c339668334b9
@@@ -391,7 -391,7 +391,7 @@@ static const struct dw_pcie_ops intel_p
  };
  
  static const struct dw_pcie_host_ops intel_pcie_dw_ops = {
-       .host_init =            intel_pcie_rc_init,
 -      .init =         intel_pcie_rc_init,
++      .init = intel_pcie_rc_init,
  };
  
  static int intel_pcie_probe(struct platform_device *pdev)
index 289bff99d76282e388d9562e03546a6af344dcf1,3c38e047d5eddc14285659adca654ee19b7fe0f6..60776b1fac758184b10391bcb051bb536d90d375
@@@ -325,7 -325,7 +325,7 @@@ keembay_pcie_get_features(struct dw_pci
  }
  
  static const struct dw_pcie_ep_ops keembay_pcie_ep_ops = {
-       .ep_init        = keembay_pcie_ep_init,
 -      .init   = keembay_pcie_ep_init,
++      .init           = keembay_pcie_ep_init,
        .raise_irq      = keembay_pcie_ep_raise_irq,
        .get_features   = keembay_pcie_get_features,
  };