]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cxl: Rework error message for incompatible slots
authorFrederic Barrat <fbarrat@linux.ibm.com>
Tue, 7 Apr 2020 11:56:01 +0000 (13:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Nov 2020 10:08:34 +0000 (11:08 +0100)
commit421cbc540e0e37a9793674c6a877e4b2fd572113
tree4a0f4aa8ad7fad1673e705d5cf5fb26ea9ddf168
parentdf605e1b5c2ccb55e42c144aecca4bbd76ff149f
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: 5632874311db ("cxl: Add support for POWER9 DD2")
Cc: stable@vger.kernel.org # 4.14+
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200407115601.25453-1-fbarrat@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cxl/pci.c