Thread (24 messages) flat view 24 messages, 8 authors, 2021-10-01

Re: [PATCH v2 7/9] cxl/pci: Use pci core's DVSEC functionality

From: Dan Williams <hidden>
Date: 2021-09-28 17:44:15
Also in: linux-cxl, linux-iommu, linux-pci

On Thu, Sep 23, 2021 at 10:27 AM Ben Widawsky [off-list ref] wrote:
quoted hunk ↗ jump to hunk
Reduce maintenance burden of DVSEC query implementation by using the
centralized PCI core implementation.

Signed-off-by: Ben Widawsky <redacted>
---
 drivers/cxl/pci.c | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)
diff --git a/drivers/cxl/pci.c b/drivers/cxl/pci.c
index 5eaf2736f779..79d4d9b16d83 100644
--- a/drivers/cxl/pci.c
+++ b/drivers/cxl/pci.c
@@ -340,25 +340,7 @@ static void cxl_pci_unmap_regblock(struct cxl_mem *cxlm, struct cxl_register_map

 static int cxl_pci_dvsec(struct pci_dev *pdev, int dvsec)
cxl_pci_dvsec() has no reason to exist anymore. Let's just have the
caller use pci_find_dvsec_capability() directly.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help