Description of problem: Currently, the function for CSV RING-BUFFER initialization is under the risk of leaking kernel memory; this needs to be fixed. Currently, the crypto co-processor module will call CSV3 SMR/SMCR setup function unconditionally, this is incorrect since CSV3 SMR/SMCR can only be setup when the CPU support CSV3. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5580