[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170706072100.GR1528@mtr-leonro.local>
Date: Thu, 6 Jul 2017 10:21:00 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Felix Manlunas <felix.manlunas@...ium.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
raghu.vatsavayi@...ium.com, derek.chickles@...ium.com,
satananda.burla@...ium.com
Subject: Re: [PATCH v2 net-next] liquidio: fix bug in soft reset failure
detection
On Wed, Jul 05, 2017 at 11:59:27AM -0700, Felix Manlunas wrote:
> From: Derek Chickles <derek.chickles@...ium.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.chickles@...ium.com>
> Signed-off-by: Satanand Burla <satananda.burla@...ium.com>
> Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@...ium.com>
> Signed-off-by: Felix Manlunas <felix.manlunas@...ium.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 <leonro@...lanox.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists