Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1509734ybk; Sun, 10 May 2020 19:27:33 -0700 (PDT) X-Google-Smtp-Source: APiQypIQuN+E242+lMMkRnsLUXvmV98WYrGJyE4/WZ7HBREnqw2SUkyDAid2SA+O/+a4OPCISTQh X-Received: by 2002:a05:6402:1d93:: with SMTP id dk19mr11123802edb.170.1589164053093; Sun, 10 May 2020 19:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589164053; cv=none; d=google.com; s=arc-20160816; b=rkxztrd9ur8SNTFhN8arYWJSWGZ4wv5Kpw9pDvwwfVGIxw1ghGu8cT8q3Wb4H9P+qQ J+LPcXX+wUVKqAD/0+vXN8XVKf7VuuyrcAuFjWleLNyJAaJ9+0wmDHEb3SRuLmy+1Rwh MRkXIZwWjR2ddEec+mQlQHtput8BJjI+/hFTRoeTINCruKjDgOLYtwDuTFegAdAo9juc Sq4xhdKT/TZaqBbczjGsugJalrNzQmx2VvD1wisJ6GCNutACTKgmgzB2zZ2BxiFNU0vU moOiHqzsu4GLyVYdndZy4zMfS9eFNZnMg2CWx+h1tlqe6ZORFUtHpIykEsLL0r9KuMUc QYAg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=cbHb7JcLpE/1KlOGFklGrMD0KwRkRVeK7rNkJmqTTMg=; b=PH7sKCVbsilKzZE+7BBcBljy4As6OYdbS7GeuFuNFL2B7BuyBeDSwMwt3vDrb+YGAk UxWZvkXefmb6xtyKUHxHxxnvMugBrnI1Dk311tDM6BxC8Zvu7LWm670n3Gmu4Luj6OcR pWdqM6UsjgohPBjD6rxdbznQ9yZyGtpuqikEjAIXOR20Crum6p/PhoVlgllDvrtJV60n IEsH+2SkkaEOBQ7+8rf0KRKgyDMKvLqSO3v6sO8mYY0351G6/XaWhy1WdkB8ARmewUtD /DtK2ihFm7RZL4UG1vrqtI4g5xbMGkRU2EgcYq1SX6Y7ha04ldXyzEt2JbHc3+3J3s6c 7rsA== 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 do16si6930435ejc.265.2020.05.10.19.25.16; Sun, 10 May 2020 19:27:33 -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 S1729407AbgEKCXo (ORCPT + 99 others); Sun, 10 May 2020 22:23:44 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:34712 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729102AbgEKCXl (ORCPT ); Sun, 10 May 2020 22:23:41 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 11D0244C01475D9F651A; Mon, 11 May 2020 10:17:14 +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:05 +0800 From: Kefeng Wang To: Paul Walmsley , Palmer Dabbelt , Albert Ou , , CC: Kefeng Wang Subject: [PATCH 06/10] riscv: Disable ARCH_HAS_DEBUG_VIRTUAL if NOMMU Date: Mon, 11 May 2020 10:19:57 +0800 Message-ID: <20200511022001.179767-7-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200511022001.179767-1-wangkefeng.wang@huawei.com> References: <20200511022001.179767-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII 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 DEBUG_VIRTUAL should only used when MMU enabled, add the dependence. Signed-off-by: Kefeng Wang --- arch/riscv/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 7da0a36a8df0..494e670520ae 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -53,7 +53,7 @@ config RISCV select GENERIC_ARCH_TOPOLOGY if SMP select ARCH_HAS_PTE_SPECIAL select ARCH_HAS_MMIOWB - select ARCH_HAS_DEBUG_VIRTUAL + select ARCH_HAS_DEBUG_VIRTUAL if MMU select HAVE_EBPF_JIT if MMU select EDAC_SUPPORT select ARCH_HAS_GIGANTIC_PAGE -- 2.26.2