mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
x86/sev: Move the internal header
Move the internal header out of the usual include/asm/ include path because having an "internal" header there doesn't really make it internal - quite the opposite - that's the normal arch include path. So move where it belongs and make it really internal. No functional changes. Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20251204145716.GDaTGhTEHNOtSdTkEe@fat_crate.local
This commit is contained in:
parent
f8f9c1f4d0
commit
c1e8980fab
|
|
@ -27,7 +27,6 @@
|
|||
#include <asm/cpu_entry_area.h>
|
||||
#include <asm/stacktrace.h>
|
||||
#include <asm/sev.h>
|
||||
#include <asm/sev-internal.h>
|
||||
#include <asm/insn-eval.h>
|
||||
#include <asm/fpu/xcr.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
@ -41,6 +40,8 @@
|
|||
#include <asm/cpuid/api.h>
|
||||
#include <asm/cmdline.h>
|
||||
|
||||
#include "../../coco/sev/internal.h"
|
||||
|
||||
/* Include code shared with pre-decompression boot stage */
|
||||
#include "sev-shared.c"
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
#include <asm/cpu_entry_area.h>
|
||||
#include <asm/stacktrace.h>
|
||||
#include <asm/sev.h>
|
||||
#include <asm/sev-internal.h>
|
||||
#include <asm/insn-eval.h>
|
||||
#include <asm/fpu/xcr.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
@ -46,6 +45,8 @@
|
|||
#include <asm/cmdline.h>
|
||||
#include <asm/msr.h>
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
/* Bitmap of SEV features supported by the hypervisor */
|
||||
u64 sev_hv_features __ro_after_init;
|
||||
SYM_PIC_ALIAS(sev_hv_features);
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
#include <asm/msr.h>
|
||||
#include <asm/ptrace.h>
|
||||
#include <asm/sev.h>
|
||||
#include <asm/sev-internal.h>
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
static __always_inline bool on_vc_stack(struct pt_regs *regs)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
#include <asm/init.h>
|
||||
#include <asm/stacktrace.h>
|
||||
#include <asm/sev.h>
|
||||
#include <asm/sev-internal.h>
|
||||
#include <asm/insn-eval.h>
|
||||
#include <asm/fpu/xcr.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
@ -35,6 +34,8 @@
|
|||
#include <asm/apic.h>
|
||||
#include <asm/cpuid/api.h>
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
static enum es_result vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt,
|
||||
unsigned long vaddr, phys_addr_t *paddr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user