> +static int guest_afu_cr_write32(struct cxl_afu *afu, int cr, u64 off, u32 in)
> +{
> + /* config record is not writable from guest */
> + return -EIO;
Perhaps -EPERM might be a better choice for these three?
Acked-by: Ian Munsie <imunsie at au1.ibm.com>