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 09:53:50 +0000 (10:53 +0100)
commitee1c74c3c9c27fd64f4dc8f8e26f6aa5c2132c5e
treeb73f2fdf4f0e3b0b43dc95554f1af5e0dfdb91d9
parent472f76835200e72ebfc820a1a98023e6da03ab0e
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