Re: [patch V2 35/44] x86/idt: Switch early trap init to IDT tables

Boris Ostrovsky
2017-08-26T15:09:32Z

On 08/26/2017 09:05 AM, Thomas Gleixner wrote:

>
> What occured to me right now, is that the patch removes:
>
> load_idt(&idt_descr);
>
> from the original function without adding it to the new one.

Right, that's exactly what was broken for Xen.

> So that needs
> to be fixed, but not in the XEN code. It simply wants to be added to
> idt_setup_early_traps(). I'll send out a V3 of that particular patch.

Yes, that will work too (and keep original logic).

-boris