On 13 August 2016 at 12:52, Benjamin Herrenschmidt <b...@kernel.crashing.org> wrote: > This is very handy when debugging a guest, especially when it's > stuck on accessing some HW and the only way to figure out what > specific piece of HW is to translate the virtual address to > a hardware address that can then be matched with the mtree > > Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Should this wrap cpu_get_phys_page_attrs_debug() instead (and report the attributes to the user)? thanks -- PMM