We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am receiving an Unsupported Exclusive or Atomic access exception when dereferencing a capability. The ESR value is: 96000035. The same code works fine on bare metal, but under a hypervisor (bhyve) it fails with this exception.
My question is: what does this exception actually mean?
It sounds like your code is performing an atomic memory operation on device memory? Perhaps by running without firmware on top of bhyve you're missing initialisation of MAIR_EL1 (resets to UNKNOWN, which bhyve implements as 0)?
Ah that was indeed the problem!