]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cxl: Change sslbis handler to only handle single dport
authorDave Jiang <dave.jiang@intel.com>
Fri, 29 Aug 2025 18:09:28 +0000 (11:09 -0700)
committerDave Jiang <dave.jiang@intel.com>
Thu, 18 Sep 2025 16:55:24 +0000 (09:55 -0700)
commitd64035a5a37741b25712fb9c2f6aca535c2967ea
treec927c69341bcb955ef26718d219cb52f54f201ba
parent87439b598ad962ffc5744e2e0a8b461e78d8d32f
cxl: Change sslbis handler to only handle single dport

While cxl_switch_parse_cdat() is harmless to be run multiple times, it is
not efficient in the current scheme where one dport is being updated at
a time by the memdev probe path. Change the input parameter to the
specific dport being updated to pick up the SSLBIS information for just
that dport.

Reviewed-by: Gregory Price <gourry@gourry.net>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Li Ming <ming.li@zohomail.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Robert Richter <rrichter@amd.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/cdat.c
drivers/cxl/core/port.c
drivers/cxl/cxl.h