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