On 26 June 2013 22:57, Jean-Christophe DUBOIS <j...@tribudubois.net> wrote: > Names don't feel really useful in the second case as they are > indistinguishable. Is the consensus around "generic" names (like MMIO or > "Ctrl regs") without adding reference to the device a good one for all > platforms?
Just leave the memory region and vmstate names as they were before your patches. (Personally I think it's entirely fine to include the device name in the memory region name. These strings are for debugging, so if I print region->name in my debugger it's much more helpful if it says "imx-serial" than if it just says "regs".) -- PMM