Lines Matching +full:hardware +full:- +full:accelerated
1 // SPDX-License-Identifier: GPL-2.0-only
3 * AMD Secure AVIC Support (SEV-SNP Guests)
12 #include <linux/percpu-defs.h>
33 return &per_cpu_ptr(savic_page, cpu)->regs[offset]; in get_reg_bitmap()
51 * result in #VC exception (for non-accelerated register accesses)
113 IS_ALIGNED(reg - 4, 16)), in savic_read()
126 * On WRMSR to APIC_SELF_IPI register by the guest, Secure AVIC hardware
128 * hardware evaluates the new APIC_IRR update for interrupt injection to
129 * the vCPU. So, self IPIs are hardware-accelerated.
234 if (IS_ALIGNED(reg - 4, 16)) { in savic_write()
311 if (WARN_ONCE(vec == -1, "EOI write while no active interrupt in APIC_ISR")) in savic_eoi()
314 /* Is level-triggered interrupt? */ in savic_eoi()
318 * Propagate the EOI write to the hypervisor for level-triggered in savic_eoi()
320 * care of re-evaluating interrupt state. in savic_eoi()
325 * Hardware clears APIC_ISR and re-evaluates the interrupt state in savic_eoi()