[Bug target/77571] __clear_cache is broken on arm64 for big.little where the cache line sizes are different between cores

rearnsha at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 19 14:45:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77571

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
This is something the kernel has to address.  If the system has processors with
differently sized cache line lengths, then the OS needs to virtualize the
relevant system registers to report an appropriate (safe) line length.  Any
other approach will likely have race conditions.


More information about the Gcc-bugs mailing list