Re: [PATCH v3 3/4] ARM: Add support for CONFIG_DEBUG_VIRTUAL

2016-12-21 Thread Laura Abbott
On 12/09/2016 03:36 PM, Florian Fainelli wrote: > x86 has an option: CONFIG_DEBUG_VIRTUAL to do additional checks on > virt_to_phys calls. The goal is to catch users who are calling > virt_to_phys on non-linear addresses immediately. This includes caller > using __virt_to_phys() on image addresses

[PATCH v3 3/4] ARM: Add support for CONFIG_DEBUG_VIRTUAL

2016-12-09 Thread Florian Fainelli
x86 has an option: CONFIG_DEBUG_VIRTUAL to do additional checks on virt_to_phys calls. The goal is to catch users who are calling virt_to_phys on non-linear addresses immediately. This includes caller using __virt_to_phys() on image addresses instead of __pa_symbol(). This is a generally useful deb