Thread (23 messages) 23 messages, 4 authors, 2021-01-22

Re: [PATCH v5 4/6] arm64: mte: Enable async tag check fault

From: Vincenzo Frascino <vincenzo.frascino@arm.com>
Date: 2021-01-22 11:29:59
Also in: lkml


On 1/21/21 5:38 PM, Andrey Konovalov wrote:
quoted
+       if (unlikely(tfsr_el1 & SYS_TFSR_EL1_TF1)) {
+               /*
+                * Note: isb() is not required after this direct write
+                * because there is no indirect read subsequent to it
+                * (per ARM DDI 0487F.c table D13-1).
+                */
+               write_sysreg_s(0, SYS_TFSR_EL1);
+
+               kasan_report_async();
Do we need a static bool reported like in do_tag_recovery() here?
I would say not because async mode does not get disabled after the first fault.

-- 
Regards,
Vincenzo

_______________________________________________
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