On 27 September 2012 15:13, Will Deacon <will.deacon@xxxxxxx> wrote: > On Wed, Sep 26, 2012 at 02:43:14AM +0100, Christoffer Dall wrote: >> this API has been discussed to death on the KVM lists, and we can of >> course revive that if the regset makes it nicer - I'd prefer getting >> this upstream the way that it is now though, where GET_REG / SET_REG >> seems to be the way forward from a KVM perspective. > > I'm sure the API has been discussed, but I've not seen that conversation and > I'm also not aware about whether or not regsets were considered as a > possibility for this stuff. Can you point me at some documentation for regsets? It's a bit difficult to have a sensible conversation about their suitability otherwise... (The potentially tricky area to handle is the cp15 registers, where it's quite likely that new registers might be added later and so userspace has to be able to query the kernel for what is supported and possibly deal with the kernel reporting attempts to set read only bits within registers, etc. Using the same ABI for simpler cases like the GPRs and FP registers is then just a matter of being consistent in the interface we expose to userspace.) -- PMM -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html