Re: [PATCH v6 14/20] cxl: Support to flash a new image on the adapter from a guest

2016-03-06 Thread Ian Munsie
> +struct cxl_adapter_image { > +__u64 flags; > +__u64 data; > +__u64 len_data; > +__u64 len_image; > +__u64 reserved1; > +__u64 reserved2; > +__u64 reserved3; > +__u64 reserved4; > +}; Thanks, that looks better now :) Acked-by: Ian Munsie ___

[PATCH v6 14/20] cxl: Support to flash a new image on the adapter from a guest

2016-03-04 Thread Frederic Barrat
From: Christophe Lombard The new flash.c file contains the logic to flash a new image on the adapter, through a hcall. It is an iterative process, with chunks of data of 1M at a time. There are also 2 phases: write and verify. The flash operation itself is driven from a user-land tool. Once flash