Re: [PATCH v5 16/18] cxl: Support the cxl kernel API from a guest

2016-03-02 Thread Ian Munsie
> +static int guest_afu_cr_write32(struct cxl_afu *afu, int cr, u64 off, u32 in) > +{ > +/* config record is not writable from guest */ > +return -EPERM; Thanks. Acked-by: Ian Munsie ___ Linuxppc-dev mailing list

Re: [PATCH v5 16/18] cxl: Support the cxl kernel API from a guest

2016-02-24 Thread Manoj Kumar
Reviewed-by: Manoj Kumar --- Manoj Kumar On 2/23/2016 10:21 AM, Frederic Barrat wrote: Like on bare-metal, the cxl driver creates a virtual PHB and a pci device for the AFU. The configuration space of the device is mapped to the configuration record of the AFU.

[PATCH v5 16/18] cxl: Support the cxl kernel API from a guest

2016-02-23 Thread Frederic Barrat
Like on bare-metal, the cxl driver creates a virtual PHB and a pci device for the AFU. The configuration space of the device is mapped to the configuration record of the AFU. Reuse the code defined in afu_cr_read8|16|32() when reading the configuration space of the AFU device. Even though the