Hi folks. Recently we (google) stopped being able to boot Android N on gem5
after rebasing our internal branch. I've bisected down to the offending
patch which is the one that adds PAN support to ARM.

361bc8b47260a55902764054d3ac25694ac93f8a

I can get android to boot again by either reverting this change, or
disabling the two config bits which are changed in that CL and default to
on.

Does anybody know what's going on here? Is the implementation of PAN
incorrect? Is Android doing something wrong?

One thing I noticed was that that CL stopped clearing the 22 and 23 bits of
the SPSR when taking exceptions. I sort of see why since one of those bits
is now the "pan" bit, but the other is (as far as I know) still reserved.
Should it still be cleared? I tried adding back in a bitfield for the
appropriate bit and clearing it like before, but this didn't fix booting.

Gabe
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to