Re: [PATCHv3 5/6] arm64: Use __pa_symbol for kernel symbols

2016-11-23 Thread Mark Rutland
On Mon, Nov 21, 2016 at 09:40:06AM -0800, Laura Abbott wrote: > On 11/18/2016 06:35 AM, Mark Rutland wrote: > > On Thu, Nov 17, 2016 at 05:16:55PM -0800, Laura Abbott wrote: > >>/* Grab the vDSO code pages. */ > >>for (i = 0; i < vdso_pages; i++) > >> - vdso_pagelist[i + 1] = pfn_t

Re: [PATCHv3 5/6] arm64: Use __pa_symbol for kernel symbols

2016-11-21 Thread Laura Abbott
On 11/18/2016 06:35 AM, Mark Rutland wrote: > Hi Laura, > > On Thu, Nov 17, 2016 at 05:16:55PM -0800, Laura Abbott wrote: >> >> __pa_symbol is technically the marco that should be used for kernel >> symbols. Switch to this as a pre-requisite for DEBUG_VIRTUAL which >> will do bounds checking. >> >

Re: [PATCHv3 5/6] arm64: Use __pa_symbol for kernel symbols

2016-11-18 Thread Mark Rutland
On Fri, Nov 18, 2016 at 02:35:44PM +, Mark Rutland wrote: > Hi Laura, > > On Thu, Nov 17, 2016 at 05:16:55PM -0800, Laura Abbott wrote: > > > > __pa_symbol is technically the marco that should be used for kernel > > symbols. Switch to this as a pre-requisite for DEBUG_VIRTUAL which > > will d

Re: [PATCHv3 5/6] arm64: Use __pa_symbol for kernel symbols

2016-11-18 Thread Mark Rutland
Hi Laura, On Thu, Nov 17, 2016 at 05:16:55PM -0800, Laura Abbott wrote: > > __pa_symbol is technically the marco that should be used for kernel > symbols. Switch to this as a pre-requisite for DEBUG_VIRTUAL which > will do bounds checking. > > Signed-off-by: Laura Abbott > --- > v3: Conversion

[PATCHv3 5/6] arm64: Use __pa_symbol for kernel symbols

2016-11-17 Thread Laura Abbott
__pa_symbol is technically the marco that should be used for kernel symbols. Switch to this as a pre-requisite for DEBUG_VIRTUAL which will do bounds checking. Signed-off-by: Laura Abbott --- v3: Conversion of more sites besides just _end. Addition of __lm_sym_addr macro to take care of the _va(