On Fri, 23 Mar 2012 09:04:27 +0000, Peter Maydell <peter.maydell at linaro.org> wrote: > On 23 March 2012 00:38, Rusty Russell <rusty.russell at linaro.org> wrote: > > The guest should be checking this before trying to use performance monitors, > > for example. > > > > Signed-off-by: Rusty Russell <rusty.russell at linaro.org> > > Does this code get used currently? I thought we hadn't enabled > trapping for feature register reads because of that use of one > of the MMFR registers in a hot path for page allocation... True (I mis-labelled the patches, they should have been RFC, since this is tied to the host-side probing patch). So maybe not today, but we're going to end up doing this eventually. Everyone expects their virtual machines to work fine with the next model of ARM CPUs, which means we need to hide more and more host features over time. Cheers, Rusty. -- How could I marry someone with more hair than me? http://baldalex.org