Thread (22 messages) 22 messages, 4 authors, 2023-09-27

Re: [PATCH v4 4/5] arm64: mte: add a test for MTE tags compression

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2023-07-21 11:25:12
Also in: lkml

On Thu, Jul 20, 2023 at 07:39:55PM +0200, Alexander Potapenko wrote:
Ensure that tag sequences containing alternating values are compressed
to buffers of expected size and correctly decompressed afterwards.
...
+#include <linux/bits.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/string.h>
+#include <kunit/test.h>
Keep this in a separate group outside of linux/*.
+#include <linux/types.h>
+
+#include <asm/mtecomp.h>
...
+/* Functions exported from mtecomp.c for this test. */
+void mte_tags_to_ranges(u8 *tags, u8 *out_tags, unsigned short *out_sizes,
+			size_t *out_len);
+void mte_ranges_to_tags(u8 *r_tags, unsigned short *r_sizes, size_t r_len,
+			u8 *tags);
This is interesting. Have you run `make W=1` on this code?

-- 
With Best Regards,
Andy Shevchenko



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help