• AKASHI Takahiro's avatar
    arm64: kexec_file: add kaslr support · 884143f6
    AKASHI Takahiro authored
    Adding "kaslr-seed" to dtb enables triggering kaslr, or kernel virtual
    address randomization, at secondary kernel boot. We always do this as
    it will have no harm on kaslr-incapable kernel.
    
    We don't have any "switch" to turn off this feature directly, but still
    can suppress it by passing "nokaslr" as a kernel boot argument.
    Signed-off-by: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Will Deacon <will.deacon@arm.com>
    [will: Use rng_is_initialized()]
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    884143f6
machine_kexec_file.c 4.99 KB