Re: [PATCHv4 2/4] firmware: add Intel Stratix10 remote system update driver

2019-05-29 Thread Richard Gong
Hi Greg, On 5/28/19 6:24 PM, Greg KH wrote: On Tue, May 28, 2019 at 03:20:31PM -0500, richard.g...@linux.intel.com wrote: +static int rsu_send_msg(struct stratix10_rsu_priv *priv, + enum stratix10_svc_command_code command, + unsigned long arg, + void

Re: [PATCHv4 2/4] firmware: add Intel Stratix10 remote system update driver

2019-05-29 Thread Richard Gong
Hi Greg, On 5/28/19 6:22 PM, Greg KH wrote: On Tue, May 28, 2019 at 03:20:31PM -0500, richard.g...@linux.intel.com wrote: +/** + * rsu_send_msg() - send a message to Intel service layer + * @priv: pointer to rsu private data + * @command: RSU status or update command + * @arg: the request

Re: [PATCHv4 2/4] firmware: add Intel Stratix10 remote system update driver

2019-05-29 Thread Richard Gong
Hi Greg, On 5/28/19 6:15 PM, Greg KH wrote: On Tue, May 28, 2019 at 03:20:31PM -0500, richard.g...@linux.intel.com wrote: From: Richard Gong The Intel Remote System Update (RSU) driver exposes interfaces access through the Intel Service Layer to user space via sysfs interface. The RSU

Re: [PATCHv4 2/4] firmware: add Intel Stratix10 remote system update driver

2019-05-28 Thread Greg KH
On Tue, May 28, 2019 at 03:20:31PM -0500, richard.g...@linux.intel.com wrote: > +static int rsu_send_msg(struct stratix10_rsu_priv *priv, > + enum stratix10_svc_command_code command, > + unsigned long arg, > + void (*callback)(struct stratix10_svc_client *client, > +

Re: [PATCHv4 2/4] firmware: add Intel Stratix10 remote system update driver

2019-05-28 Thread Greg KH
On Tue, May 28, 2019 at 03:20:31PM -0500, richard.g...@linux.intel.com wrote: > +/** > + * rsu_send_msg() - send a message to Intel service layer > + * @priv: pointer to rsu private data > + * @command: RSU status or update command > + * @arg: the request argument, the bitstream address or notify

Re: [PATCHv4 2/4] firmware: add Intel Stratix10 remote system update driver

2019-05-28 Thread Greg KH
On Tue, May 28, 2019 at 03:20:31PM -0500, richard.g...@linux.intel.com wrote: > From: Richard Gong > > The Intel Remote System Update (RSU) driver exposes interfaces access > through the Intel Service Layer to user space via sysfs interface. > The RSU interfaces report and control some of the

[PATCHv4 2/4] firmware: add Intel Stratix10 remote system update driver

2019-05-28 Thread richard . gong
From: Richard Gong The Intel Remote System Update (RSU) driver exposes interfaces access through the Intel Service Layer to user space via sysfs interface. The RSU interfaces report and control some of the optional RSU features on Intel Stratix 10 SoC. The RSU feature provides a way for