Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1507097ybk; Sun, 10 May 2020 19:21:45 -0700 (PDT) X-Google-Smtp-Source: APiQypKp0TILrG5TUrF43Um/6r8bo0rNdhZe+qmynL0aFgC9y7+DQJCa4EaMSNMBChJlF7gREBOa X-Received: by 2002:a17:906:cd0d:: with SMTP id oz13mr11629415ejb.82.1589163705438; Sun, 10 May 2020 19:21:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589163705; cv=none; d=google.com; s=arc-20160816; b=T1ZkEOChTzd+KP/qWzLyZMhT0++ulsm8/VE55NN7/K4OHuOzj+ZvykkhmjTW+7x8fb AE6Fn3R6HSJhqOlUoRCmbukx8u2F9zJvTIGYhuqk4Zq+EvWnVcvx/1ZqqVgqQH3vMzMe dH5dBAJJJWVF/BB7dRNRI5NoVf+mBnedBVgr/VkFWiXQXto5XqMw/iAljhPkDHbz7gjJ iDtQ4ZDMtLSWqH8dWdMv7O36RdlEYj8vY1bckrwngDfDu09OO62s7D+Ep1HPCsaTv7vr yRuRWs3LmU0eakQ1dlbTaHd6q834wPxh3xjHMIsa2tVaM+r/Si4UV/bJTrFzWnR/ENpb YRwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=+h7eG4Lmw/Y3z3rvuGZZ8qXmcLKSqPRE2q/SY5FP534=; b=qlp+K/4Fx5m3wlxnu6p84KXEQ0tjd46z9hN2QsQoTm0js0BPUkota9DXaVOi2javDa /sIJRCb8bbiki5EXNGD82tGofoQsw+6RsLCQKOTxSuCFPS70rN3yIThx9tguteW+hOYo kHwHnsBVBBYTEmamrhFcVJP1ZPC3k8qCbPj2/4Qwk+WXLFlfk14FviJWh/AM/Zjl/c/X 63CFZqeh2vG33GDVv1lJ/Omo385X2vJJMZvd07GQewulCRODaRMTsiWmJfvDORn/APcK OsAgBUyK07H2oBZZM4fYMQJC2DmSfhyXHOUHtWoxa4fn9/n/R8/tWHde1oGDrbU4gm6h dc+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c2si3261871edv.547.2020.05.10.19.21.14; Sun, 10 May 2020 19:21:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729478AbgEKCRP (ORCPT + 99 others); Sun, 10 May 2020 22:17:15 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:49748 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729102AbgEKCRO (ORCPT ); Sun, 10 May 2020 22:17:14 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id E8809825BBDEEAECEA50; Mon, 11 May 2020 10:17:08 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Mon, 11 May 2020 10:17:01 +0800 From: Kefeng Wang To: Paul Walmsley , Palmer Dabbelt , Albert Ou , , CC: Kefeng Wang Subject: [PATCH 00/10] riscv: make riscv build happier Date: Mon, 11 May 2020 10:19:51 +0800 Message-ID: <20200511022001.179767-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.26.2