On 27/06/2022 15:43, Jan Kiszka wrote:
On 27.06.22 15:28, Ralf Ramsauer wrote:
GCC may emit 4x 1 Byte reads in case of our regular mmio_read32
accessor, when used in combination with -Os. Yes, I've seen it.

Define safe handlers to overcome this issue.


The kernel does something similar, right? Worth to point that out then.

Yes, but that's not limited to RISC-V, and there's no particular comment on that issue in the commit logs in the kernel. Maybe they never experienced it, as basically all architectures build up their mmio accessors by using assembly per default.

  Ralf

--
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/23ea11fe-921c-ea60-ece7-5ca0b06f524c%40oth-regensburg.de.

Reply via email to