On 8/9/19 2:53 AM, Peter Maydell wrote: > Hi -- it's just been pointed out to me that if our 'max' CPU > supports v8.5-CondM then we ought to be setting the HWCAP2_FLAGM2 > bit in the hwcaps for linux-user mode. (Maybe we implemented this > before the kernel defined the hwcap bit?)
Yep. We added CondM in March and this hwcap bit was added in June. I keep thinking that they'll stop adding hwcap bits that can now just as easily be "read" (trap and emulated) from id registers. They've filled up HWCAP, and only have 23 left in HWCAP2. > I guess we should also cross check whether there are any other > recently introduced hwcap bits we now should be setting. I'll have a look. r~
