News: 0001573992

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

AMD Secure AVIC Primed For Linux 6.18 To Provide Better Security & Performance

([AMD] 6 Hours Ago AMD Secure AVIC)


Ahead of the upcoming [1]Linux 6.18 kernel cycle, which will likely end up being this year's Long Term Support (LTS) version, the AMD Secure AVIC driver appears ready for merging. The AMD Secure AVIC patches were queued this week into a TIP branch and this likely to be submitted for the upcoming Linux 6.18 merge window.

For over the past year now [2]AMD engineers have been working on the Secure AVIC support for Linux as part of their Secure Encrypted Virtualization (SEV-SNP) offerings for confidential virtual machines. Secure AVIC (Advanced Virtual Interrupt Controller) allows for managing guest-owned APIC state for SEV-SNP VM guests with a private, guest-owned backing page on a per-vCPU basis.

Utilizing Secure AVIC can prevent the hypervisor from generating unexpected interrupts to a vCPU and better performance for APIC accesses. Better security and better performance is always a win in my book. There is [3]this PDF slide deck from the Linux Plumbers Conference 2023 initially presenting AMD's Secure AVIC work for Linux. It wasn't until 2024 that the RFC patches began surfacing for formal review.

Now as we approach the end of 2025, AMD Secure AVIC appears ready for the mainline Linux kernel. Queued up within [4]tip/tip.git's "x86/apic" branch this week is the AMD Secure AVIC driver and associated kernel changes for AMD SEV and the like for enabling Secure AVIC. This Secure AVIC support in turn will work with KVM guests when running SEV-SNP VMs on the latest AMD EPYC processors.

With the patches making it into a TIP branch, they in turn should be submitted for the Linux 6.18 merge window come early October. Linux 6.18 stable will be out in December.



[1] https://www.phoronix.com/search/Linux+6.18

[2] https://www.phoronix.com/news/AMD-Secure-AVIC-Guest-Support

[3] https://lpc.events/event/17/contributions/1524/attachments/1372/2976/12%20Secure-AVIC_LPC2023_20231113.pdf

[4] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=x86/apic



phoronix

Lobster:
Everyone loves these delectable crustaceans, but many cooks are
squeamish about placing them into boiling water alive, which is the only
proper method of preparing them. Frankly, the easiest way to eliminate your
guilt is to establish theirs by putting them on trial before they're cooked.
The fact is, lobsters are among the most ferocious predators on the sea
floor, and you're helping reduce crime in the reefs. Grasp the lobster
behind the head, look it right in its unmistakably guilty eyestalks and say,
"Where were you on the night of the 21st?", then flourish a picture of a
scallop or a sole and shout, "Perhaps this will refresh that crude neural
apparatus you call a memory!" The lobster will squirm noticeably. It may
even take a swipe at you with one of its claws. Incorrigible. Pop it into
the pot. Justice has been served, and shortly you and your friends will
be, too.
-- Dave Barry, "Cooking: The Art of Using Appliances and
Utensils into Excuses and Apologies"