crypto: qat - remove unnecessary collision prevention step in PFVF
authorMarco Chiappero <marco.chiappero@intel.com>
Tue, 28 Sep 2021 11:44:31 +0000 (12:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:03:16 +0000 (11:03 +0100)
commit6c58dd967389e472b5c97b534ab60020f9d7b634
treecc3910375db129722b8bfafd8eb0f3f08b3c40a8
parentef89212783a29df9c5fe89551596d6a904a559fa
crypto: qat - remove unnecessary collision prevention step in PFVF

[ Upstream commit e17f49bb244a281fe39bfdad0306a38b3a02e7bf ]

The initial version of the PFVF protocol included an initial "carrier
sensing" to get ownership of the channel.

Collisions can happen anyway, the extra wait and test does not prevent
collisions, it instead slows the communication down, so remove it.

Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/qat/qat_common/adf_pf2vf_msg.c