Re: [PATCH 00/10] riscv: make riscv build happier

From: Palmer Dabbelt
Date: Wed May 13 2020 - 17:14:57 EST


On Sun, 10 May 2020 19:19:51 PDT (-0700), wangkefeng.wang@xxxxxxxxxx wrote:
When add RISCV arch to huawei build test, there are some build
issue, let's fix them to make riscv build happier :)

Those patches is rebased on next-20200508.

Kefeng Wang (10):
riscv: Fix unmet direct dependencies built based on SOC_VIRT
riscv: stacktrace: Fix undefined reference to `walk_stackframe'
riscv: Add pgprot_writecombine/device and PAGE_SHARED defination if
NOMMU
riscv: Fix print_vm_layout build error if NOMMU
riscv: Disable ARCH_HAS_DEBUG_WX if NOMMU
riscv: Disable ARCH_HAS_DEBUG_VIRTUAL if NOMMU
riscv: Make SYS_SUPPORTS_HUGETLBFS depends on MMU
riscv: pgtable: Fix __kernel_map_pages build error if NOMMU
timer-riscv: Fix undefined riscv_time_val
riscv: mmiowb: Fix implicit declaration of function 'smp_processor_id'

arch/riscv/Kconfig | 5 +++--
arch/riscv/Kconfig.socs | 17 +++++++++--------
arch/riscv/include/asm/mmio.h | 2 ++
arch/riscv/include/asm/mmiowb.h | 1 +
arch/riscv/include/asm/pgtable.h | 3 +++
arch/riscv/kernel/stacktrace.c | 2 +-
arch/riscv/mm/init.c | 2 +-
drivers/clocksource/timer-riscv.c | 1 +
8 files changed, 21 insertions(+), 12 deletions(-)

Unless I said otherwise in the patch reviews, these are all on fixes.

Thanks!