Re: [PATCH v6 29/76] x86/idt: Split idt_data setup out of set_intr_gate()

2020-08-28 Thread Borislav Petkov
On Mon, Aug 24, 2020 at 10:54:24AM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > 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

[PATCH v6 29/76] x86/idt: Split idt_data setup out of set_intr_gate()

2020-08-24 Thread Joerg Roedel
From: Joerg Roedel 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