Re: [PATCH] x86/sev: Make early_set_memory_decrypted() calls page aligned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 21, 2023 at 1:24 PM Tom Lendacky <thomas.lendacky@xxxxxxx> wrote:
>
> I like the fix for the hypercall being in early_set_memory_enc_dec(). This
> way the behavior doesn't change for existing callers and doesn't require
> adding a WARN.
>
> Thanks,
> Tom

I uploaded a version based on your earlier advice to have
early_set_mem_enc_dec_hypercall() take a size. I was hesitant since I
thought I'd have to change a ton of callsites, but the line count was
a lot shorter than I expected. This seems like the right way to go
since it directly fixes the problematic rounding.

Thanks,
Steve




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux