Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-14 Thread Florian Fainelli
On 11/14/2016 10:45 AM, Laura Abbott wrote: > On 11/11/2016 04:44 PM, Florian Fainelli wrote: >> When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to >> debug_virt_to_phys() which helps catch vmalloc space addresses being >> passed. This is helpful in debugging bogus drivers that just assume

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-14 Thread Florian Fainelli
On 11/14/2016 10:45 AM, Laura Abbott wrote: > On 11/11/2016 04:44 PM, Florian Fainelli wrote: >> When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to >> debug_virt_to_phys() which helps catch vmalloc space addresses being >> passed. This is helpful in debugging bogus drivers that just assume

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-14 Thread Laura Abbott
On 11/11/2016 04:44 PM, Florian Fainelli wrote: > When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to > debug_virt_to_phys() which helps catch vmalloc space addresses being > passed. This is helpful in debugging bogus drivers that just assume > linear mappings all over the place. > > For

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-14 Thread Laura Abbott
On 11/11/2016 04:44 PM, Florian Fainelli wrote: > When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to > debug_virt_to_phys() which helps catch vmalloc space addresses being > passed. This is helpful in debugging bogus drivers that just assume > linear mappings all over the place. > > For

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-12 Thread Florian Fainelli
Le 11/11/2016 à 21:43, Will Deacon a écrit : > On Fri, Nov 11, 2016 at 04:44:43PM -0800, Florian Fainelli wrote: >> When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to >> debug_virt_to_phys() which helps catch vmalloc space addresses being >> passed. This is helpful in debugging bogus

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-12 Thread Florian Fainelli
Le 11/11/2016 à 21:43, Will Deacon a écrit : > On Fri, Nov 11, 2016 at 04:44:43PM -0800, Florian Fainelli wrote: >> When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to >> debug_virt_to_phys() which helps catch vmalloc space addresses being >> passed. This is helpful in debugging bogus

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-12 Thread Nicolas Pitre
On Fri, 11 Nov 2016, Florian Fainelli wrote: > Le 11/11/2016 à 17:49, Nicolas Pitre a écrit : > > On Fri, 11 Nov 2016, Florian Fainelli wrote: > > > >> When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to > >> debug_virt_to_phys() which helps catch vmalloc space addresses being > >> passed.

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-12 Thread Nicolas Pitre
On Fri, 11 Nov 2016, Florian Fainelli wrote: > Le 11/11/2016 à 17:49, Nicolas Pitre a écrit : > > On Fri, 11 Nov 2016, Florian Fainelli wrote: > > > >> When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to > >> debug_virt_to_phys() which helps catch vmalloc space addresses being > >> passed.

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-11 Thread Will Deacon
On Fri, Nov 11, 2016 at 04:44:43PM -0800, Florian Fainelli wrote: > When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to > debug_virt_to_phys() which helps catch vmalloc space addresses being > passed. This is helpful in debugging bogus drivers that just assume > linear mappings all over the

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-11 Thread Will Deacon
On Fri, Nov 11, 2016 at 04:44:43PM -0800, Florian Fainelli wrote: > When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to > debug_virt_to_phys() which helps catch vmalloc space addresses being > passed. This is helpful in debugging bogus drivers that just assume > linear mappings all over the

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-11 Thread Florian Fainelli
Le 11/11/2016 à 17:49, Nicolas Pitre a écrit : > On Fri, 11 Nov 2016, Florian Fainelli wrote: > >> When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to >> debug_virt_to_phys() which helps catch vmalloc space addresses being >> passed. This is helpful in debugging bogus drivers that just

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-11 Thread Florian Fainelli
Le 11/11/2016 à 17:49, Nicolas Pitre a écrit : > On Fri, 11 Nov 2016, Florian Fainelli wrote: > >> When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to >> debug_virt_to_phys() which helps catch vmalloc space addresses being >> passed. This is helpful in debugging bogus drivers that just

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-11 Thread Nicolas Pitre
On Fri, 11 Nov 2016, Florian Fainelli wrote: > When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to > debug_virt_to_phys() which helps catch vmalloc space addresses being > passed. This is helpful in debugging bogus drivers that just assume > linear mappings all over the place. > > For ARM,

Re: [PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-11 Thread Nicolas Pitre
On Fri, 11 Nov 2016, Florian Fainelli wrote: > When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to > debug_virt_to_phys() which helps catch vmalloc space addresses being > passed. This is helpful in debugging bogus drivers that just assume > linear mappings all over the place. > > For ARM,

[PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-11 Thread Florian Fainelli
When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to debug_virt_to_phys() which helps catch vmalloc space addresses being passed. This is helpful in debugging bogus drivers that just assume linear mappings all over the place. For ARM, ARM64, Unicore32 and Microblaze, the architectures define

[PATCH RFC] mm: Add debug_virt_to_phys()

2016-11-11 Thread Florian Fainelli
When CONFIG_DEBUG_VM is turned on, virt_to_phys() maps to debug_virt_to_phys() which helps catch vmalloc space addresses being passed. This is helpful in debugging bogus drivers that just assume linear mappings all over the place. For ARM, ARM64, Unicore32 and Microblaze, the architectures define