Files
linux/arch/x86/include/asm
Michael Kelley afca4d95dd Drivers: hv: Make portions of Hyper-V init code be arch neutral
The code to allocate and initialize the hv_vp_index array is
architecture neutral. Similarly, the code to allocate and
populate the hypercall input and output arg pages is architecture
neutral.  Move both sets of code out from arch/x86 and into
utility functions in drivers/hv/hv_common.c that can be shared
by Hyper-V initialization on ARM64.

No functional changes. However, the allocation of the hypercall
input and output arg pages is done differently so that the
size is always the Hyper-V page size, even if not the same as
the guest page size (such as with ARM64's 64K page size).

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1626287687-2045-2-git-send-email-mikelley@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
2021-07-15 12:59:45 +00:00
..
2021-03-18 15:31:53 +01:00
2021-05-05 21:50:13 +02:00
2020-01-23 10:41:20 -08:00
2021-03-18 15:31:53 +01:00
2020-05-07 16:06:20 +02:00
2020-10-28 20:26:25 +01:00
2018-08-15 13:44:10 -07:00
2021-03-31 16:20:22 +02:00
2020-11-26 12:58:56 +01:00
2019-04-16 12:26:18 +02:00
2021-03-18 15:31:53 +01:00
2020-11-06 23:14:58 +01:00
2021-03-18 15:31:53 +01:00
2021-05-12 14:54:56 +02:00
2020-09-16 16:52:28 +02:00
2021-06-22 13:56:43 +02:00
2021-07-01 11:06:03 -07:00
2021-03-15 10:49:00 +01:00
2021-05-12 20:00:51 +02:00
2021-06-17 13:09:37 -04:00
2018-03-20 10:01:57 +01:00
2019-04-10 09:53:31 +02:00
2020-03-21 16:03:25 +01:00
2021-03-06 12:59:10 +01:00
2020-11-17 14:36:13 +01:00
2020-03-23 18:45:14 +01:00
2020-01-14 12:20:58 +01:00