virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] tools/virtio: add dma barrier stubs
@ 2018-07-25 13:45 Michael S. Tsirkin
  0 siblings, 0 replies; 4+ messages in thread
From: Michael S. Tsirkin @ 2018-07-25 13:45 UTC (permalink / raw)
  To: linux-kernel; +Cc: virtualization, khandual

Fixes: 55e49dc43a8 ("virtio_ring: switch to dma_XX barriers for rpmsg")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 tools/virtio/asm/barrier.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/virtio/asm/barrier.h b/tools/virtio/asm/barrier.h
index 0ac3caf90877..d0351f83aebe 100644
--- a/tools/virtio/asm/barrier.h
+++ b/tools/virtio/asm/barrier.h
@@ -13,8 +13,8 @@
 } while (0);
 /* Weak barriers should be used. If not - it's a bug */
 # define mb() abort()
-# define rmb() abort()
-# define wmb() abort()
+# define dma_rmb() abort()
+# define dma_wmb() abort()
 #else
 #error Please fill in barrier macros
 #endif
-- 
MST

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-30  7:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20180725134057.113423-1-mst@redhat.com>
2018-07-25 13:45 ` [PATCH 2/2] tools/virtio: add kmalloc_array stub Michael S. Tsirkin
2018-07-30  7:28 ` [PATCH 1/2] tools/virtio: add dma barrier stubs Jason Wang
     [not found] ` <20180725134057.113423-2-mst@redhat.com>
2018-07-30  7:28   ` [PATCH 2/2] tools/virtio: add kmalloc_array stub Jason Wang
2018-07-25 13:45 [PATCH 1/2] tools/virtio: add dma barrier stubs Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).