Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions arch/x86/include/asm/desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,15 @@ static inline void native_idt_invalidate(void)
.size = 0
};

#ifdef CONFIG_IEE_SIP
// The native_idt_invalidate() is only called by machine_kexec().
// In the kdump path, IEE_SIP should not be used, so we directly
// call iee_load_idt_early(), which is the original version of
// native_load_idt() to load an invalid IDT.
iee_load_idt_early(&invalid_idt);
#else
native_load_idt(&invalid_idt);
#endif
}

/*
Expand Down
Loading