summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2023-02-03 11:59:27 -0600
committerLouis Burda <quent.burda@gmail.com>2023-02-03 11:59:27 -0600
commit725983359162c9cb3a273fe375fe79bfadf80d2c (patch)
tree1d9372026700c1db3768d5ca03a901116a657fe3 /crypto
parenta560520547a7daf65441cecfa43d4099343adb05 (diff)
downloadcachepc-linux-725983359162c9cb3a273fe375fe79bfadf80d2c.tar.gz
cachepc-linux-725983359162c9cb3a273fe375fe79bfadf80d2c.zip
Properly implement target gfn stepping
Diffstat (limited to 'crypto')
-rw-r--r--crypto/aes_generic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/aes_generic.c b/crypto/aes_generic.c
index e5b3fa7e0479..25554b384dca 100644
--- a/crypto/aes_generic.c
+++ b/crypto/aes_generic.c
@@ -47,6 +47,8 @@
* ---------------------------------------------------------------------------
*/
+#include "../arch/x86/kvm/cachepc/cachepc.h"
+
#include <crypto/aes.h>
#include <linux/module.h>
#include <linux/init.h>
@@ -1218,7 +1220,7 @@ static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in)
put_unaligned_le32(b0[2], out + 8);
put_unaligned_le32(b0[3], out + 12);
- CPC_DO_VMMCALL(SIGNAL, CPC_GUEST_STOP_TRACK, 0);
+ CPC_DO_VMMCALL(KVM_HC_CPC_VMMCALL_SIGNAL, CPC_GUEST_STOP_TRACK, 0);
put_cpu();
}