VMCI: Add support for ARM64
authorVishnu Dasa <vdasa@vmware.com>
Thu, 14 Apr 2022 19:33:16 +0000 (12:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Apr 2022 15:32:14 +0000 (17:32 +0200)
commit1f7142915d304804a9bd952245fce92786b1b62f
tree97d3ca569f674df3ebcc7024d6a76ec1a7a98782
parent5a0793ac66ac0e254d292f129a4d6c526f9f2aff
VMCI: Add support for ARM64

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>
drivers/misc/vmw_vmci/Kconfig
drivers/misc/vmw_vmci/vmci_guest.c
drivers/misc/vmw_vmci/vmci_queue_pair.c