Joerg Roedel 4bed2266cc x86/idt: Split idt_data setup out of set_intr_gate()
The code to setup idt_data is needed for early exception handling, but
set_intr_gate() can't be used that early because it has pv-ops in its
code path which don't work that early.

Split out the idt_data initialization part from set_intr_gate() so
that it can be used separately.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/20200907131613.12703-29-joro@8bytes.org
2020-09-07 21:30:38 +02:00
..
2020-07-02 15:51:48 +02:00
2020-03-30 19:14:28 -07:00
2020-06-11 15:15:23 +02:00
2020-06-11 15:15:23 +02:00
2020-06-11 20:02:46 +02:00
2020-02-26 15:21:22 +01:00
2019-11-12 16:21:15 +01:00
2019-11-12 16:21:15 +01:00
2020-08-06 12:59:31 -07:00
2020-06-25 10:39:02 +02:00
2020-07-10 12:00:01 +02:00
2019-11-28 11:16:43 -08:00
2019-06-24 19:19:24 +02:00
2020-06-02 10:59:12 -07:00
2020-08-10 19:07:44 -07:00
2020-03-21 16:03:25 +01:00
2020-06-11 15:54:31 -07:00
2020-07-27 14:31:07 -04:00
2020-07-27 14:31:07 -04:00
2020-02-16 20:58:06 +01:00
2020-08-04 14:47:45 -07:00