https://bugs.kde.org/show_bug.cgi?id=412377

--- Comment #5 from Adam Borowski <[email protected]> ---
You've added civac which differs from cvac only by trashing the cache entry
after committing it to memory ("i" stands for "invalidate").  cvac is the
instruction I need, and I'm using it successfully.  It works on bare metal,
and, with the patch applied, also in valgrind.

The codebase I'm using this in is https://github.com/pmem/pmdk/; 

Or rather, what I really want is cvap/cvacp, but that's available only in
ARMv8.2/ARMv8.5 respectively.  While I have no access to such hardware, I just
confirmed with ARM folks that these instructions work the way I understand.

As the difference between flush targets doesn't matter for now (there's
pmemcheck which would need this information, but that's not submitted to you
yet), as long as the opcodes are accepted without a crash, that's pretty much
enough.  Unless you have persistent memory hardware, cache-vs-memory doesn't
matter much.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to