Re: [PATCH 06/18] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM

2018-02-14 Thread Mika Westerberg
On Tue, Feb 13, 2018 at 05:21:33PM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > > Sent: Tuesday, February 13, 2018 11:00 AM > > To: linux-kernel@vger.kernel.org > > Cc: Andreas Noever

Re: [PATCH 06/18] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM

2018-02-14 Thread Mika Westerberg
On Tue, Feb 13, 2018 at 05:21:33PM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > > Sent: Tuesday, February 13, 2018 11:00 AM > > To: linux-kernel@vger.kernel.org > > Cc: Andreas Noever ; Michael Jamet >

RE: [PATCH 06/18] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM

2018-02-13 Thread Mario.Limonciello
> -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: Tuesday, February 13, 2018 11:00 AM > To: linux-kernel@vger.kernel.org > Cc: Andreas Noever ; Michael Jamet > ; Yehezkel Bernat

RE: [PATCH 06/18] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM

2018-02-13 Thread Mario.Limonciello
> -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: Tuesday, February 13, 2018 11:00 AM > To: linux-kernel@vger.kernel.org > Cc: Andreas Noever ; Michael Jamet > ; Yehezkel Bernat ; Bjorn > Helgaas ; Limonciello, Mario > ; Radion Mirchevsky > ;

[PATCH 06/18] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM

2018-02-13 Thread Mika Westerberg
Sometimes during cold boot ICM has not yet authenticated the active NVM image leading to timeout and failing the driver probe. Allow ICM to take some more time and increase the timeout to 3 seconds before we give up. While there fix icm_firmware_init() to return the real error code without

[PATCH 06/18] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM

2018-02-13 Thread Mika Westerberg
Sometimes during cold boot ICM has not yet authenticated the active NVM image leading to timeout and failing the driver probe. Allow ICM to take some more time and increase the timeout to 3 seconds before we give up. While there fix icm_firmware_init() to return the real error code without