crypto: msm: qce50: enable BAM SPS_BAM_CACHED_WP
Enable SPS_BAM_CACHED_WP option. The BAM register access is very slow. The write descriptor offset information in the BAM_P_EVENT_REG is only set by the host if BAM is runnig in system mode, such as NDP-BAM of crypto. On each BAM transfter, driver reads the register to figure if there is enough space to put in new descriptor. Reading the register can be from driver cache copy, instead of going out to read the register if SPS_BAM_CACHED_WP option is enabled. Change-Id: I4c25f81ea79c9a8675d92b799844d906a42bcbb0 Acked-by:Che-Min Hsieh <cheminh@qti.qualcomm.com> Signed-off-by:
Sivanesan Rajapupathi <srajap@codeaurora.org>
Loading
Please register or sign in to comment