diff options
author | Srujana Challa <[email protected]> | 2022-01-25 23:56:22 +0530 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2022-02-05 15:10:50 +1100 |
commit | bd9305b0cb69bfe98885a63a9e6231ae92e822e2 (patch) | |
tree | 446ab0b5f0470cd54c7b1ddb6fcc5154083f640b /tools/perf/scripts/python/mem-phys-addr.py | |
parent | f4f7c153a61782f3fb259d0f39aab91444e555d9 (diff) |
crypto: octeontx2 - CN10K CPT to RNM workaround
When software sets CPT_AF_CTL[RNM_REQ_EN]=1 and RNM in not producing
entropy(i.e., RNM_ENTROPY_STATUS[NORMAL_CNT] < 0x40), the first cycle of
the response may be lost due to a conditional clocking issue. Due to
this, the subsequent random number stream will be corrupted. So, this
patch adds support to ensure RNM_ENTROPY_STATUS[NORMAL_CNT] = 0x40
before writing CPT_AF_CTL[RNM_REQ_EN] = 1, as a workaround.
Signed-off-by: Srujana Challa <[email protected]>
Signed-off-by: Shijith Thotton <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions