Re: [PATCH v2 1/1] drm: Prefer pcie_capability_read_word()

2019-11-21 Thread Bjorn Helgaas
On Mon, Nov 18, 2019 at 12:42:25PM -0500, Alex Deucher wrote: > On Mon, Nov 18, 2019 at 3:37 AM Frederick Lawler wrote: > > > > Commit 8c0d3a02c130 ("PCI: Add accessors for PCI Express Capability") > > added accessors for the PCI Express Capability so that drivers didn't > > need to be aware of di

Re: [PATCH v2 1/1] drm: Prefer pcie_capability_read_word()

2019-11-19 Thread Frederick Lawler
Hi, Alex Deucher wrote on 11/18/19 11:42 AM: On Mon, Nov 18, 2019 at 3:37 AM Frederick Lawler wrote: Commit 8c0d3a02c130 ("PCI: Add accessors for PCI Express Capability") added accessors for the PCI Express Capability so that drivers didn't need to be aware of differences between v1 and v2 of

Re: [PATCH v2 1/1] drm: Prefer pcie_capability_read_word()

2019-11-18 Thread Alex Deucher
On Mon, Nov 18, 2019 at 3:37 AM Frederick Lawler wrote: > > Commit 8c0d3a02c130 ("PCI: Add accessors for PCI Express Capability") > added accessors for the PCI Express Capability so that drivers didn't > need to be aware of differences between v1 and v2 of the PCI > Express Capability. > > Replace

[PATCH v2 1/1] drm: Prefer pcie_capability_read_word()

2019-11-18 Thread Frederick Lawler
Commit 8c0d3a02c130 ("PCI: Add accessors for PCI Express Capability") added accessors for the PCI Express Capability so that drivers didn't need to be aware of differences between v1 and v2 of the PCI Express Capability. Replace pci_read_config_word() and pci_write_config_word() calls with pcie_ca