Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-04 Thread Lee Jones
On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: > From: Vic Yang > > For SPI, we can get up to 32 additional bytes for response preamble. > The current overhead (2 bytes) may cause problems when we try to receive > a big response. Update it to 32 bytes. > > Without

Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-04 Thread Lee Jones
On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: > From: Vic Yang > > For SPI, we can get up to 32 additional bytes for response preamble. > The current overhead (2 bytes) may cause problems when we try to receive > a big response. Update it to 32 bytes. > > Without this fix we could see a

Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-04 Thread Lee Jones
On Mon, 03 Apr 2017, Enric Balletbo i Serra wrote: > > > On 03/04/17 16:30, Lee Jones wrote: > > On Mon, 03 Apr 2017, Lee Jones wrote: > > > >> On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: > >> > >>> From: Vic Yang > >>> > >>> For SPI, we can get up to 32

Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-04 Thread Lee Jones
On Mon, 03 Apr 2017, Enric Balletbo i Serra wrote: > > > On 03/04/17 16:30, Lee Jones wrote: > > On Mon, 03 Apr 2017, Lee Jones wrote: > > > >> On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: > >> > >>> From: Vic Yang > >>> > >>> For SPI, we can get up to 32 additional bytes for response

Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-03 Thread Enric Balletbo i Serra
On 03/04/17 16:30, Lee Jones wrote: > On Mon, 03 Apr 2017, Lee Jones wrote: > >> On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: >> >>> From: Vic Yang >>> >>> For SPI, we can get up to 32 additional bytes for response preamble. >>> The current overhead (2 bytes) may

Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-03 Thread Enric Balletbo i Serra
On 03/04/17 16:30, Lee Jones wrote: > On Mon, 03 Apr 2017, Lee Jones wrote: > >> On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: >> >>> From: Vic Yang >>> >>> For SPI, we can get up to 32 additional bytes for response preamble. >>> The current overhead (2 bytes) may cause problems when we

Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-03 Thread Lee Jones
On Mon, 03 Apr 2017, Lee Jones wrote: > On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: > > > From: Vic Yang > > > > For SPI, we can get up to 32 additional bytes for response preamble. > > The current overhead (2 bytes) may cause problems when we try to receive > > a

Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-03 Thread Lee Jones
On Mon, 03 Apr 2017, Lee Jones wrote: > On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: > > > From: Vic Yang > > > > For SPI, we can get up to 32 additional bytes for response preamble. > > The current overhead (2 bytes) may cause problems when we try to receive > > a big response. Update

Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-03 Thread Lee Jones
On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: > From: Vic Yang > > For SPI, we can get up to 32 additional bytes for response preamble. > The current overhead (2 bytes) may cause problems when we try to receive > a big response. Update it to 32 bytes. > > Without

Re: [PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-04-03 Thread Lee Jones
On Fri, 24 Mar 2017, Enric Balletbo i Serra wrote: > From: Vic Yang > > For SPI, we can get up to 32 additional bytes for response preamble. > The current overhead (2 bytes) may cause problems when we try to receive > a big response. Update it to 32 bytes. > > Without this fix we could see a

[PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-03-24 Thread Enric Balletbo i Serra
From: Vic Yang For SPI, we can get up to 32 additional bytes for response preamble. The current overhead (2 bytes) may cause problems when we try to receive a big response. Update it to 32 bytes. Without this fix we could see a kernel BUG when we receive a big response

[PATCH 1/7] mfd: cros-ec: Fix host command buffer size

2017-03-24 Thread Enric Balletbo i Serra
From: Vic Yang For SPI, we can get up to 32 additional bytes for response preamble. The current overhead (2 bytes) may cause problems when we try to receive a big response. Update it to 32 bytes. Without this fix we could see a kernel BUG when we receive a big response from the Chrome EC when