[PATCH] x86/sev: Fix position dependent variable references in startup code
Ard Biesheuvel
ardb at kernel.org
Tue Feb 6 03:19:06 PST 2024
On Tue, 6 Feb 2024 at 11:07, Borislav Petkov <bp at alien8.de> wrote:
>
> On Sat, Feb 03, 2024 at 01:53:06PM +0100, Ard Biesheuvel wrote:
> > arch/x86/coco/core.c | 7 +----
> > arch/x86/include/asm/asm.h | 13 ++++++++++
> > arch/x86/include/asm/coco.h | 8 +++++-
> > arch/x86/include/asm/mem_encrypt.h | 13 ++++++----
> > arch/x86/kernel/sev-shared.c | 12 ++++-----
> > arch/x86/kernel/sev.c | 4 +--
> > arch/x86/mm/mem_encrypt_identity.c | 27 +++++++++-----------
> > 7 files changed, 49 insertions(+), 35 deletions(-)
>
> Not bad - some touchups ontop like calling it "rip_rel_ref" everywhere
> like other code shortens "rIP-relative reference" and making the asm
> wrapper __always_inline.
>
Looks good to me - thanks.
More information about the linux-arm-kernel
mailing list