summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJorgen Hansen <jhansen@vmware.com>2022-02-07 13:27:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-08 14:15:59 +0300
commit8cb520bea1470ca205980fbf030ed1f472f4af2f (patch)
treed6326bfff31950f08d12738485c5b4c8ce72b9a3 /include
parenteed2298d936087a1c85e0fa6f7170028e4f4fded (diff)
downloadlinux-8cb520bea1470ca205980fbf030ed1f472f4af2f.tar.xz
VMCI: dma dg: set OS page size
Tell the device the page size used by the OS. Reviewed-by: Vishnu Dasa <vdasa@vmware.com> Signed-off-by: Jorgen Hansen <jhansen@vmware.com> Link: https://lore.kernel.org/r/20220207102725.2742-5-jhansen@vmware.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/vmw_vmci_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/vmw_vmci_defs.h b/include/linux/vmw_vmci_defs.h
index 1ce2cffdc3ae..4167779469fd 100644
--- a/include/linux/vmw_vmci_defs.h
+++ b/include/linux/vmw_vmci_defs.h
@@ -21,6 +21,7 @@
#define VMCI_CAPS_ADDR 0x18
#define VMCI_RESULT_LOW_ADDR 0x1c
#define VMCI_RESULT_HIGH_ADDR 0x20
+#define VMCI_GUEST_PAGE_SHIFT 0x34
/* Max number of devices. */
#define VMCI_MAX_DEVICES 1