mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 16:44:27 +08:00
1f7142915d
Add support for ARM64 architecture so that the driver can now be built and VMCI device can be used. Update Kconfig file to allow the driver to be built on ARM64 as well. Fail vmci_guest_probe_device() on ARM64 if the device does not support MMIO register access. Lastly, add virtualization specific barriers which map to actual memory barrier instructions on ARM64, because it is required in case of ARM64 for queuepair (de)queuing. Reviewed-by: Bryan Tan <bryantan@vmware.com> Reviewed-by: Cyprien Laplace <claplace@vmware.com> Signed-off-by: Vishnu Dasa <vdasa@vmware.com> Link: https://lore.kernel.org/r/20220414193316.14356-1-vdasa@vmware.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18 lines
472 B
Plaintext
18 lines
472 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# VMware VMCI device
|
|
#
|
|
|
|
config VMWARE_VMCI
|
|
tristate "VMware VMCI Driver"
|
|
depends on (X86 || ARM64) && !CPU_BIG_ENDIAN && PCI
|
|
help
|
|
This is VMware's Virtual Machine Communication Interface. It enables
|
|
high-speed communication between host and guest in a virtual
|
|
environment via the VMCI virtual device.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called vmw_vmci.
|