• A
    arm64: kexec_file: add kaslr support · 884143f6
    AKASHI Takahiro 提交于
    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: NAKASHI 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: NWill Deacon <will.deacon@arm.com>
    884143f6
machine_kexec_file.c 5.0 KB