Re: [PATCH v3 1/2] MIPS: relocatable: Provide kaslr_offset() to get the kernel offset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 05, 2021 at 06:11:21PM +0800, Jinyang He wrote:
> Provide kaslr_offset() to get the kernel offset when KASLR is enabled.
> Error may occur before update_kaslr_offset(), so put it at the end of
> the offset branch.
> 
> Fixes: a307a4ce9ecd ("MIPS: Loongson64: Add KASLR support")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Jinyang He <hejinyang@xxxxxxxxxxx>
> ---
>  arch/mips/include/asm/page.h |  6 ++++++
>  arch/mips/kernel/relocate.c  | 10 ++++++++++
>  arch/mips/kernel/setup.c     |  3 +++
>  3 files changed, 19 insertions(+)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux