On 10/15/2013 08:52 AM, Eric Blake wrote: > On 10/15/2013 08:42 AM, Peter Maydell wrote: >> The documentation of how overlapping memory regions behave and how >> the priority system works was rather brief, and confusion about >> priorities seems to be quite common for developers trying to understand >> how the memory region system works, so expand and clarify it. >> This includes a worked example with overlaps, documentation of the >> behaviour when an overlapped container has "holes", and mention >> that it's valid for a region to have both MMIO callbacks and >> subregions (and how this interacts with priorities when it does). >> >> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> >> --- >> Changes v1->v2: various minor improvements as per review comments >> from MST and subsequent discussion. >> > >> >> +It is valid to add subregions to a region which is not a pure container >> +(that is, to an MMIO, RAM or ROM region). This means that the region >> +will act like a container, except that any addresses within the container's >> +region which are not claimed by any subregion are handled by the >> +container itself (ie by its MMIO callbacks or RAM backing). However > > s/ie/ie./ > >> +it is generally possible to achieve the same effect with a pure container > > s/container/container,/
Oh, I forgot to add: I just reviewed for grammar and spelling; I can't state whether the contents are technically sound, hence I didn't feel comfortable adding a reviewed-by. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature