]> www.infradead.org Git - users/hch/block.git/commit
crypto: qat - adf_get_etr_base() helper
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Wed, 6 Mar 2024 13:58:46 +0000 (21:58 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 2 Apr 2024 02:47:43 +0000 (10:47 +0800)
commit1894cb1de656cfde345c3b2690e379be1eb9db96
treebcb2c916e7cb0ce47ebf61ddc60b1dda832f1c4f
parent174fdc93a241af54772ae3e745ec719e9f6cebfc
crypto: qat - adf_get_etr_base() helper

Add and use the new helper function adf_get_etr_base() which retrieves
the virtual address of the ring bar.

This will be used extensively when adding support for Live Migration.

Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Xin Zeng <xin.zeng@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
drivers/crypto/intel/qat/qat_common/adf_gen4_hw_data.c
drivers/crypto/intel/qat/qat_common/adf_transport.c