diff options
author | Hsin-Yi Wang <hsinyi@chromium.org> | 2019-08-27 12:33:53 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-08-27 13:27:07 +0200 |
commit | dd753d961c4844a39f947be115b3d81e10376ee5 (patch) | |
tree | 40ea14a72f4888128dd8b31133e8db566e94f2a2 /drivers/perf | |
parent | arm64: kexec_file: add rng-seed support (diff) | |
download | linux-dd753d961c4844a39f947be115b3d81e10376ee5.tar.xz linux-dd753d961c4844a39f947be115b3d81e10376ee5.zip |
fdt: Update CRC check for rng-seed
Commit 428826f5358c ("fdt: add support for rng-seed") moves of_fdt_crc32
from early_init_dt_verify() to early_init_dt_scan() since
early_init_dt_scan_chosen() may modify fdt to erase rng-seed.
However, arm and some other arch won't call early_init_dt_scan(), they
call early_init_dt_verify() then early_init_dt_scan_nodes().
Restore of_fdt_crc32 to early_init_dt_verify() then update it in
early_init_dt_scan_chosen() if fdt if updated.
Fixes: 428826f5358c ("fdt: add support for rng-seed")
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions