diff options
author | Joakim Bech <joakim.xx.bech@stericsson.com> | 2011-05-27 09:50:33 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:04:36 +0200 |
commit | 1a2d5912e3212adcf88c7d51bd6d16e7c6389aef (patch) | |
tree | 3293bdbbedd1515f7053ef2e0500eae42cc0234d /lib/mpi/mpi-mul.c | |
parent | 8645233e6375a93e4054ad1568b79bed8271d50c (diff) |
cryp: Session handling for software context
- Add a session id to the software crypto context in ux500 crypto
driver.
- Add a static global session id which is a counter that increases when
a new job is started (it is ok that this variable loop back to
zero when it reach the maximum value).
- These session id's will be used to decide if the hardware registers
needs be restored or not for continous jobs. As a result we gain
performance when we don't need to restore hardware registers.
ST-Ericsson ID: 342659
ST-Ericsson Linux next: Not tested, ER 320876
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I1a1f508e9969e438204d1b4a803f1d637c1e0d60
Signed-off-by: Joakim Bech <joakim.xx.bech@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24019
Reviewed-by: QATOOLS
Reviewed-by: QATEST
Reviewed-by: Berne HEBARK <berne.hebark@stericsson.com>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions