]> git.itanic.dy.fi Git - linux-stable/commit
cxl/pci: Use CDAT DOE mailbox created by PCI core
authorLukas Wunner <lukas@wunner.de>
Sat, 11 Mar 2023 14:40:13 +0000 (15:40 +0100)
committerDan Williams <dan.j.williams@intel.com>
Tue, 18 Apr 2023 17:36:58 +0000 (10:36 -0700)
commitaf0a6c3587dc39df348d23c46996b9dad46d07db
treeb0ef91f12aa068c889868a7efa1a4be408461157
parentac04840350e2c21a17d867b262a1586603b87a92
cxl/pci: Use CDAT DOE mailbox created by PCI core

The PCI core has just been amended to create a pci_doe_mb struct for
every DOE instance on device enumeration.

Drop creation of a (duplicate) CDAT DOE mailbox on cxl probing in favor
of the one already created by the PCI core.

Tested-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/becaf70e8faf9681d474200117d62d7eaac46cca.1678543498.git.lukas@wunner.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core/pci.c
drivers/cxl/cxlmem.h
drivers/cxl/pci.c