Re: [PATCH] picoxcell-crypto: fix possible status FIFO overflow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 23, 2011 at 01:26:21PM +0000, Jamie Iles wrote:
> The SPAcc's have 2 equally sized FIFO's - a command FIFO and a status
> FIFO.  The command FIFO takes the requests that are to be performed and
> the status FIFO reports the results.  It is possible to get into the
> situation where there are more free spaces in the command FIFO than the
> status FIFO if we don't empty the status FIFO quickly enough resulting
> in a possible overflow of the status FIFO.  This can result in incorrect
> status being reported in the status FIFO.
> 
> Make sure that when we are submitting requests the number of requests
> that have been dispatched but not yet popped from the status FIFO does
> not exceed the size of a single FIFO.
> 
> Signed-off-by: Jamie Iles <jamie@xxxxxxxxxxxxx>

Patch applied.  Thanks!
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux