Skip to content
Snippets Groups Projects
Select Git revision
  • ca04c823763e5b82c237cabe0c17f547ecdc6271
  • openEuler-1.0-LTS default protected
  • openEuler-22.09
  • OLK-5.10
  • openEuler-22.03-LTS
  • openEuler-22.03-LTS-Ascend
  • master
  • openEuler-22.03-LTS-LoongArch-NW
  • openEuler-22.09-HCK
  • openEuler-20.03-LTS-SP3
  • openEuler-21.09
  • openEuler-21.03
  • openEuler-20.09
  • 4.19.90-2210.5.0
  • 5.10.0-123.0.0
  • 5.10.0-60.63.0
  • 5.10.0-60.62.0
  • 4.19.90-2210.4.0
  • 5.10.0-121.0.0
  • 5.10.0-60.61.0
  • 4.19.90-2210.3.0
  • 5.10.0-60.60.0
  • 5.10.0-120.0.0
  • 5.10.0-60.59.0
  • 5.10.0-119.0.0
  • 4.19.90-2210.2.0
  • 4.19.90-2210.1.0
  • 5.10.0-118.0.0
  • 5.10.0-106.19.0
  • 5.10.0-60.58.0
  • 4.19.90-2209.6.0
  • 5.10.0-106.18.0
  • 5.10.0-106.17.0
33 results

arch

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Josh Poimboeuf authored and Herbert Xu committed
    Using RBP as a temporary register breaks frame pointer convention and
    breaks stack traces when unwinding from an interrupt in the crypto code.
    
    Mix things up a little bit to get rid of the RBP usage, without hurting
    performance too much.  Use RDI instead of RBP for the TBL pointer.  That
    will clobber CTX, so spill CTX onto the stack and use R12 to read it in
    the outer loop.  R12 is used as a non-persistent temporary variable
    elsewhere, so it's safe to use.
    
    Also remove the unused y4 variable.
    
    Reported-by: default avatarEric Biggers <ebiggers3@gmail.com>
    Reported-by: default avatarPeter Zijlstra <peterz@infradead.org>
    Tested-by: default avatarEric Biggers <ebiggers@google.com>
    Acked-by: default avatarEric Biggers <ebiggers@google.com>
    Signed-off-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    ca04c823
    History
    Name Last commit Last update
    ..