x86/sev-es: Replace open-coded hlt-loops with sev_es_terminate()

There are a few places left in the SEV-ES C code where hlt loops and/or
terminate requests are implemented. Replace them all with calls to
sev_es_terminate().

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210312123824.306-9-joro@8bytes.org
This commit is contained in:
Joerg Roedel 2021-03-12 13:38:24 +01:00 • committed by Borislav Petkov
commit f15a0a732a
2 changed files with 6 additions and 16 deletions