cxl: Rework error message for incompatible slots
authorFrederic Barrat <fbarrat@linux.ibm.com>
Tue, 7 Apr 2020 11:56:01 +0000 (13:56 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Aug 2020 15:31:32 +0000 (01:31 +1000)
commit40ac790d99c6dd16b367d5c2339e446a5f1b0593
tree9498a00b04508ef48a1e51568acb3a8c23f856c4
parent374f6178f3483dcad151fc14b2fad92ed6652f07
cxl: Rework error message for incompatible slots

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
drivers/misc/cxl/pci.c