ocxl: Update for AFU descriptor template version 1.1
authorAlastair D'Silva <alastair@d-silva.org>
Wed, 5 Jun 2019 11:15:45 +0000 (13:15 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 10 Jul 2019 03:20:44 +0000 (13:20 +1000)
commit73a2b047c81046a7f734a5759ab5fdedbb6968fd
tree8f5dab40c26fbeab02fe82f6f828bb51b0b166b0
parent4ba7f80f42563903b0e26d30175808db7d07e664
ocxl: Update for AFU descriptor template version 1.1

The OpenCAPI discovery and configuration specification has been
updated and introduces version 1.1 of the AFU descriptor template,
with new fields to better define the memory layout of an OpenCAPI
adapter.

The ocxl driver doesn't do much yet to support LPC memory but as we
start seeing (non-LPC) AFU images using the new template, this patch
updates the config space parsing code to avoid spitting a warning.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190605111545.19762-1-fbarrat@linux.ibm.com
drivers/misc/ocxl/config.c
include/misc/ocxl.h