riscv: Add machine name to kernel boot log and stack dump output
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 25 Nov 2020 11:44:15 +0000 (19:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Oct 2022 08:41:18 +0000 (09:41 +0100)
commit0e4c06ae7c546764eb4769ede647ef71a2fd363d
tree7ccb88a688522fd206a0281dc9ab0bab2fe32b9c
parent7fba4a389d070daf17e18c657c8e31f03cc2486b
riscv: Add machine name to kernel boot log and stack dump output

[ Upstream commit 46ad48e8a28da7cc37a16c7e7fc632ecf906e4bf ]

Add the machine name to kernel boot-up log, and install
the machine name to stack dump for DT boot mode.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Stable-dep-of: 10f6913c548b ("riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/riscv/kernel/setup.c