[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190818143316.4906-4-thomas_os@shipmail.org>
Date: Sun, 18 Aug 2019 16:33:15 +0200
From: Thomas Hellström (VMware)
<thomas_os@...pmail.org>
To: linux-kernel@...r.kernel.org, pv-drivers@...are.com
Cc: Thomas Hellstrom <thellstrom@...are.com>,
Doug Covelli <dcovelli@...are.com>
Subject: [PATCH 3/4] drm/vmwgfx: Update the backdoor call with support for new instructions
From: Thomas Hellstrom <thellstrom@...are.com>
Use the definition provided by include/asm/vmware.h
Signed-off-by: Thomas Hellstrom <thellstrom@...are.com>
Reviewed-by: Doug Covelli <dcovelli@...are.com>
---
drivers/gpu/drm/vmwgfx/vmwgfx_msg.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_msg.h b/drivers/gpu/drm/vmwgfx/vmwgfx_msg.h
index 4907e50fb20a..7fc3ff63b1a8 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_msg.h
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_msg.h
@@ -32,6 +32,7 @@
#ifndef _VMWGFX_MSG_H
#define _VMWGFX_MSG_H
+#include <asm/vmware.h>
/**
* Hypervisor-specific bi-directional communication channel. Should never
@@ -57,7 +58,7 @@
port_num, magic, \
eax, ebx, ecx, edx, si, di) \
({ \
- asm volatile ("inl %%dx, %%eax;" : \
+ asm volatile (VMWARE_HYPERCALL : \
"=a"(eax), \
"=b"(ebx), \
"=c"(ecx), \
--
2.20.1
Powered by blists - more mailing lists