[PATCH v5 11/12] x86/time: Initialize interrupt mode behind timer init

2017-06-29 Thread Dou Liyang
In start_kernel(), firstly, it works on the default interrupy mode, then switch to the final mode. Normally, Booting with BIOS reset is OK. But, At dump-capture kernel, it boot up without BIOS reset, default mode may not be compatible with the actual registers, that causes the delivery interrupt

[PATCH v5 11/12] x86/time: Initialize interrupt mode behind timer init

2017-06-29 Thread Dou Liyang
In start_kernel(), firstly, it works on the default interrupy mode, then switch to the final mode. Normally, Booting with BIOS reset is OK. But, At dump-capture kernel, it boot up without BIOS reset, default mode may not be compatible with the actual registers, that causes the delivery interrupt