[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120506.131101.1315377899936868892.davem@davemloft.net>
Date: Sun, 06 May 2012 13:11:01 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eilong@...adcom.com
Cc: ariele@...adcom.com, netdev@...r.kernel.org
Subject: Re: [PATCH net v3] bnx2x: bug fix when loading after SAN boot
From: "Eilon Greenstein" <eilong@...adcom.com>
Date: Sun, 6 May 2012 20:05:57 +0300
> From: Ariel Elior <ariele@...adcom.com>
>
> This is a bug fix for an "interface fails to load" issue.
> The issue occurs when bnx2x driver loads after UNDI driver was previously
> loaded over the chip. In such a scenario the UNDI driver is loaded and operates
> in the pre-boot kernel, within its own specific host memory address range.
> When the pre-boot stage is complete, the real kernel is loaded, in a new and
> distinct host memory address range. The transition from pre-boot stage to boot
> is asynchronous from UNDI point of view.
>
> A race condition occurs when UNDI driver triggers a DMAE transaction to valid
> host addresses in the pre-boot stage, when control is diverted to the real
> kernel. This results in access to illegal addresses by our HW as the addresses
> which were valid in the preboot stage are no longer considered valid.
> Specifically, the 'was_error' bit in the pci glue of our device is set. This
> causes all following pci transactions from chip to host to timeout (in
> accordance to the pci spec).
>
> Signed-off-by: Ariel Elior <ariele@...adcom.com>
> Signed-off-by: Eilon Greenstein <eilong@...adcom.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists