* [PATCH rdma-core] util: Fix mmio_flush_writes for SPARC and S390x
@ 2017-06-07 12:58 Nicolas Morey-Chaisemartin
[not found] ` <88cef736-88c3-08d9-4042-fd73b2d4cb97-l3A5Bk7waGM@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Morey-Chaisemartin @ 2017-06-07 12:58 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Due to a missing #else, udma_barrier.h failed on sparc and s390x
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin-IBi9RG/b67k@public.gmane.org>
---
util/udma_barrier.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/udma_barrier.h b/util/udma_barrier.h
index 9932a687..23acf233 100644
--- a/util/udma_barrier.h
+++ b/util/udma_barrier.h
@@ -192,6 +192,7 @@
#define mmio_flush_writes() asm volatile("dsb st" ::: "memory");
#elif defined(__sparc__) || defined(__s390x__)
#define mmio_flush_writes() asm volatile("" ::: "memory")
+#else
#error No architecture specific memory barrier defines found!
#endif
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <88cef736-88c3-08d9-4042-fd73b2d4cb97-l3A5Bk7waGM@public.gmane.org>]
* Re: [PATCH rdma-core] util: Fix mmio_flush_writes for SPARC and S390x [not found] ` <88cef736-88c3-08d9-4042-fd73b2d4cb97-l3A5Bk7waGM@public.gmane.org> @ 2017-06-07 16:04 ` Jason Gunthorpe 2017-06-07 16:31 ` Leon Romanovsky 1 sibling, 0 replies; 3+ messages in thread From: Jason Gunthorpe @ 2017-06-07 16:04 UTC (permalink / raw) To: Nicolas Morey-Chaisemartin; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA On Wed, Jun 07, 2017 at 02:58:39PM +0200, Nicolas Morey-Chaisemartin wrote: > Due to a missing #else, udma_barrier.h failed on sparc and s390x Oops, yes, thank you Reviewed-by: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH rdma-core] util: Fix mmio_flush_writes for SPARC and S390x [not found] ` <88cef736-88c3-08d9-4042-fd73b2d4cb97-l3A5Bk7waGM@public.gmane.org> 2017-06-07 16:04 ` Jason Gunthorpe @ 2017-06-07 16:31 ` Leon Romanovsky 1 sibling, 0 replies; 3+ messages in thread From: Leon Romanovsky @ 2017-06-07 16:31 UTC (permalink / raw) To: Nicolas Morey-Chaisemartin; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 328 bytes --] On Wed, Jun 07, 2017 at 02:58:39PM +0200, Nicolas Morey-Chaisemartin wrote: > Due to a missing #else, udma_barrier.h failed on sparc and s390x > > Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin-IBi9RG/b67k@public.gmane.org> > --- > util/udma_barrier.h | 1 + > 1 file changed, 1 insertion(+) > Thanks, applied. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-07 16:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-07 12:58 [PATCH rdma-core] util: Fix mmio_flush_writes for SPARC and S390x Nicolas Morey-Chaisemartin
[not found] ` <88cef736-88c3-08d9-4042-fd73b2d4cb97-l3A5Bk7waGM@public.gmane.org>
2017-06-07 16:04 ` Jason Gunthorpe
2017-06-07 16:31 ` Leon Romanovsky
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox