git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/cnxk: add lmtline initialization
[dpdk.git]
/
drivers
/
common
/
cnxk
/
roc_io.h
diff --git
a/drivers/common/cnxk/roc_io.h
b/drivers/common/cnxk/roc_io.h
index
fb3d9c5
..
aee8c7f
100644
(file)
--- a/
drivers/common/cnxk/roc_io.h
+++ b/
drivers/common/cnxk/roc_io.h
@@
-184,4
+184,13
@@
roc_lmt_mov_seg_nv(void *out, const void *in, const uint16_t segdw)
dst128[i] = src128[i];
}
+static __plt_always_inline void
+roc_atf_ret(void)
+{
+ /* This will allow wfi in EL0 to cause async exception to EL3
+ * which will optionally perform necessary actions.
+ */
+ __asm("wfi");
+}
+
#endif /* _ROC_IO_H_ */