Re: [PATCH 1/7] ocxl: Provide global MMIO accessors for external drivers

2019-03-14 Thread Andrew Donnellan
On 13/3/19 3:15 pm, Alastair D'Silva wrote: From: Alastair D'Silva External drivers that communicate via OpenCAPI will need to make MMIO calls to interact with the devices. Signed-off-by: Alastair D'Silva Reviewed-by: Greg Kurz Acked-by: Andrew Donnellan --- drivers/misc/ocxl/Makefile

Re: [PATCH 1/7] ocxl: Provide global MMIO accessors for external drivers

2019-03-13 Thread Frederic Barrat
Hi Alastair, I only realize now that this patch looks a bit out of place and would fit better later in the series: it assumes an external driver can get an ocxl_afu handle, which can only happen after patch 5. And since I'm nitpicking, the year at the top of the new mmio file could be adjust

[PATCH 1/7] ocxl: Provide global MMIO accessors for external drivers

2019-03-12 Thread Alastair D'Silva
From: Alastair D'Silva External drivers that communicate via OpenCAPI will need to make MMIO calls to interact with the devices. Signed-off-by: Alastair D'Silva Reviewed-by: Greg Kurz --- drivers/misc/ocxl/Makefile | 2 +- drivers/misc/ocxl/mmio.c | 234 +++