mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 14:30:06 -04:00
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
This commit is contained in:
committed by
Michael Ellerman
parent
4ba7f80f42
commit
73a2b047c8
@@ -32,7 +32,10 @@ struct ocxl_afu_config {
|
||||
u8 pp_mmio_bar; /* per-process MMIO area */
|
||||
u64 pp_mmio_offset;
|
||||
u32 pp_mmio_stride;
|
||||
u8 log_mem_size;
|
||||
u64 lpc_mem_offset;
|
||||
u64 lpc_mem_size;
|
||||
u64 special_purpose_mem_offset;
|
||||
u64 special_purpose_mem_size;
|
||||
u8 pasid_supported_log;
|
||||
u16 actag_supported;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user