On Wed, Jul 05, 2017 at 11:59:27AM -0700, Felix Manlunas wrote:
> From: Derek Chickles <derek.chick...@cavium.com>
>
> The code that detects a failed soft reset of Octeon is comparing the wrong
> value against the reset value of the Octeon SLI_SCRATCH_1 register,
> resulting in an inability to detect a soft reset failure.  Fix it by using
> the correct value in the comparison, which is any non-zero value.
>
> Fixes: f21fb3ed364b ("Add support of Cavium Liquidio ethernet adapters")
> Fixes: c0eab5b3580a ("liquidio: CN23XX firmware download")
> Signed-off-by: Derek Chickles <derek.chick...@cavium.com>
> Signed-off-by: Satanand Burla <satananda.bu...@cavium.com>
> Signed-off-by: Raghu Vatsavayi <raghu.vatsav...@cavium.com>
> Signed-off-by: Felix Manlunas <felix.manlu...@cavium.com>
> ---
> Patch Changelog:
>  v2: Revise patch comment, remove unnecessary "!= 0x0ULL" in if statements,
>      and add "Fixes:" tags
>
>  drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c | 2 +-
>  drivers/net/ethernet/cavium/liquidio/cn66xx_device.c    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leo...@mellanox.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to