Commit a8069b80 authored by Frederic Barrat's avatar Frederic Barrat Committed by Greg Kroah-Hartman
Browse files

cxl: Rework error message for incompatible slots

commit 40ac790d99c6dd16b367d5c2339e446a5f1b0593 upstream.

Improve the error message shown if a capi adapter is plugged on a
capi-incompatible slot directly under the PHB (no intermediate switch).

Fixes: 56328743

 ("cxl: Add support for POWER9 DD2")
Cc: # 4.14+
Signed-off-by: default avatarFrederic Barrat <>
Reviewed-by: default avatarAndrew Donnellan <>
Signed-off-by: default avatarMichael Ellerman <>

Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 9f9dc704
......@@ -393,8 +393,8 @@ int cxl_calc_capp_routing(struct pci_dev *dev, u64 *chipid,
*capp_unit_id = get_capp_unit_id(np, *phb_index);
if (!*capp_unit_id) {
pr_err("cxl: invalid capp unit id (phb_index: %d)\n",
pr_err("cxl: No capp unit found for PHB[%lld,%d]. Make sure the adapter is on a capi-compatible slot\n",
*chipid, *phb_index);
return -ENODEV;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment