x86/hyper-v: Support extended CPU ranges for TLB flush hypercalls
authorVitaly Kuznetsov <[email protected]>
Wed, 2 Aug 2017 16:09:20 +0000 (18:09 +0200)
committerIngo Molnar <[email protected]>
Thu, 31 Aug 2017 12:20:36 +0000 (14:20 +0200)
commit628f54cc6451d2706ba8a56763dbf93be02aaa80
treeb148e860cbabb844da9e6b9474aae2b47aafb455
parent3e83dfd5d8e374328078f527f1f7d189824896ab
x86/hyper-v: Support extended CPU ranges for TLB flush hypercalls

Hyper-V hosts may support more than 64 vCPUs, we need to use
HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE_EX/LIST_EX hypercalls in this
case.

Signed-off-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Stephen Hemminger <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Haiyang Zhang <[email protected]>
Cc: Jork Loeser <[email protected]>
Cc: K. Y. Srinivasan <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Simon Xiao <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/hyperv/mmu.c
arch/x86/include/uapi/asm/hyperv.h