Re: [PATCH] arm64: kaslr: print PHYS_OFFSET in dump_kernel_offset()

2018-12-13 Thread Miles Chen
On Thu, 2018-12-13 at 19:15 +0100, Ard Biesheuvel wrote: > On Thu, 13 Dec 2018 at 19:12, Will Deacon wrote: > > > > [+Ard because I'll basically go with his preference on this one] > > > > On Wed, Dec 12, 2018 at 06:56:49PM +0800, Miles Chen wrote: > > > When debug with kaslr, it is sometimes nece

Re: [PATCH] arm64: kaslr: print PHYS_OFFSET in dump_kernel_offset()

2018-12-13 Thread Ard Biesheuvel
On Thu, 13 Dec 2018 at 19:12, Will Deacon wrote: > > [+Ard because I'll basically go with his preference on this one] > > On Wed, Dec 12, 2018 at 06:56:49PM +0800, Miles Chen wrote: > > When debug with kaslr, it is sometimes necessary to have PHYS_OFFSET to > > perform linear virtual address to ph

Re: [PATCH] arm64: kaslr: print PHYS_OFFSET in dump_kernel_offset()

2018-12-13 Thread Will Deacon
[+Ard because I'll basically go with his preference on this one] On Wed, Dec 12, 2018 at 06:56:49PM +0800, Miles Chen wrote: > When debug with kaslr, it is sometimes necessary to have PHYS_OFFSET to > perform linear virtual address to physical address translation. > Sometimes we're debugging with

[PATCH] arm64: kaslr: print PHYS_OFFSET in dump_kernel_offset()

2018-12-12 Thread Miles Chen
When debug with kaslr, it is sometimes necessary to have PHYS_OFFSET to perform linear virtual address to physical address translation. Sometimes we're debugging with only few information such as a kernel log and a symbol file, print PHYS_OFFSET in dump_kernel_offset() for that case. Tested by: ec