commit 7114aae02742d6b5c5a0d39a41deb61d415d3717 upstream.
Add a memory barrier prior to sending a new command to the VIOS
to ensure the VIOS does not receive stale data in the command buffer.
Also add a memory barrier when processing the CRQ for completed commands.
Signed-off-by: Brian King <firstname.lastname@example.org>
Acked-by: Nathan Fontenot <email@example.com>
Signed-off-by: Christoph Hellwig <firstname.lastname@example.org>
Signed-off-by: Greg Kroah-Hartman <email@example.com>