All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] io_uring: Enable io_uring ioengine on aarch64 arch
@ 2019-12-25  8:45 yezhenyu (A)
  2019-12-25 15:04 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: yezhenyu (A) @ 2019-12-25  8:45 UTC (permalink / raw)
  To: axboe; +Cc: fio

This patch enabled io_uring ioengine on aarch64 arch.


Signed-off-by: Zhenyu Ye <yezhenyu2@huawei.com>
---
 arch/arch-aarch64.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arch-aarch64.h b/arch/arch-aarch64.h
index 2a86cc5a..de9b349b 100644
--- a/arch/arch-aarch64.h
+++ b/arch/arch-aarch64.h
@@ -8,6 +8,18 @@

 #define FIO_ARCH       (arch_aarch64)

+#define ARCH_HAVE_IOURING
+
+#ifndef __NR_sys_io_uring_setup
+#define __NR_sys_io_uring_setup                425
+#endif
+#ifndef __NR_sys_io_uring_enter
+#define __NR_sys_io_uring_enter                426
+#endif
+#ifndef __NR_sys_io_uring_register
+#define __NR_sys_io_uring_register     427
+#endif
+
 #define nop            do { __asm__ __volatile__ ("yield"); } while (0)
 #define read_barrier() do { __sync_synchronize(); } while (0)
 #define write_barrier()        do { __sync_synchronize(); } while (0)
-- 
2.19.1




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

* Re: [PATCH] io_uring: Enable io_uring ioengine on aarch64 arch
  2019-12-25  8:45 [PATCH] io_uring: Enable io_uring ioengine on aarch64 arch yezhenyu (A)
@ 2019-12-25 15:04 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2019-12-25 15:04 UTC (permalink / raw)
  To: yezhenyu (A); +Cc: fio

On 12/25/19 1:45 AM, yezhenyu (A) wrote:
> This patch enabled io_uring ioengine on aarch64 arch.

Thanks, applied.

Your patch was whitespace damaged fwiw, I hand applied it. But
something to keep an eye out if you send patches in general.

-- 
Jens Axboe



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

end of thread, other threads:[~2019-12-25 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-25  8:45 [PATCH] io_uring: Enable io_uring ioengine on aarch64 arch yezhenyu (A)
2019-12-25 15:04 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.