Re: [PATCH 3/3] MIPS: KASLR: Make relocation_address can be configured

2020-11-19 Thread Jinyang He
Hi, On 11/19/2020 08:45 PM, Thomas Bogendoerfer wrote: On Thu, Nov 19, 2020 at 10:29:14AM +0800, Jinyang He wrote: When CONFIG_RANDOMIZE_BASE is not set, determine_relocation_address() always returns a constant. It is not friendly to users if the address cannot be used. Make it can be configure

Re: [PATCH 3/3] MIPS: KASLR: Make relocation_address can be configured

2020-11-19 Thread Thomas Bogendoerfer
On Thu, Nov 19, 2020 at 10:29:14AM +0800, Jinyang He wrote: > When CONFIG_RANDOMIZE_BASE is not set, determine_relocation_address() > always returns a constant. It is not friendly to users if the address > cannot be used. Make it can be configured at Kconfig. and how do I get the information which

Re: [PATCH 3/3] MIPS: KASLR: Make relocation_address can be configured

2020-11-19 Thread Jinyang He
Hi, On 11/19/2020 04:06 PM, Sergei Shtylyov wrote: Hello! On 19.11.2020 5:29, Jinyang He wrote: When CONFIG_RANDOMIZE_BASE is not set, determine_relocation_address() always returns a constant. It is not friendly to users if the address cannot be used. Make it can be configured at Kconfig.

Re: [PATCH 3/3] MIPS: KASLR: Make relocation_address can be configured

2020-11-19 Thread Sergei Shtylyov
Hello! On 19.11.2020 5:29, Jinyang He wrote: When CONFIG_RANDOMIZE_BASE is not set, determine_relocation_address() always returns a constant. It is not friendly to users if the address cannot be used. Make it can be configured at Kconfig. Make it configurable? Signed-off-by: Jinyang He

[PATCH 3/3] MIPS: KASLR: Make relocation_address can be configured

2020-11-18 Thread Jinyang He
When CONFIG_RANDOMIZE_BASE is not set, determine_relocation_address() always returns a constant. It is not friendly to users if the address cannot be used. Make it can be configured at Kconfig. Signed-off-by: Jinyang He --- arch/mips/Kconfig | 5 + arch/mips/kernel/relocate.c | 2 +