]> git.baikalelectronics.ru Git - kernel.git/commit
x86/hyper-V: Allocate the IDT entry early in boot
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 8 Sep 2017 23:15:57 +0000 (16:15 -0700)
committerIngo Molnar <mingo@kernel.org>
Wed, 13 Sep 2017 09:02:26 +0000 (11:02 +0200)
commit3c722794e305126e41b142cb60ba949336b0cbfb
tree8f6d3a7b581978fa9e7304056d470c5455096764
parentb08aa459e9f4f3a2eec3af4e2aef4541fa75baf6
x86/hyper-V: Allocate the IDT entry early in boot

Allocate the hypervisor callback IDT entry early in the boot sequence.

The previous code would allocate the entry as part of registering the handler
when the vmbus driver loaded, and this caused a problem for the IDT cleanup
that Thomas is working on for v4.15.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: apw@canonical.com
Cc: devel@linuxdriverproject.org
Cc: gregkh@linuxfoundation.org
Cc: jasowang@redhat.com
Cc: olaf@aepfle.de
Link: http://lkml.kernel.org/r/20170908231557.2419-1-kys@exchange.microsoft.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/mshyperv.c