Message ID | 4a674ac7863ff39ca91847b10e51209771f99416.1589178399.git.zong.li@sifive.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=pOir=6Z=kvack.org=owner-linux-mm@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A241D912 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 11 May 2020 06:28:34 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6EBB2206B8 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 11 May 2020 06:28:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="A24qyFSB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6EBB2206B8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 94B218E0001; Mon, 11 May 2020 02:28:31 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 9230C900006; Mon, 11 May 2020 02:28:31 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8398C8E000E; Mon, 11 May 2020 02:28:31 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0143.hostedemail.com [216.40.44.143]) by kanga.kvack.org (Postfix) with ESMTP id 6C2608E0001 for <linux-mm@kvack.org>; Mon, 11 May 2020 02:28:31 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 204B7180AD811 for <linux-mm@kvack.org>; Mon, 11 May 2020 06:28:31 +0000 (UTC) X-FDA: 76803459222.21.coil16_4a56919ead207 X-Spam-Summary: 2,0,0,c912e0a27e00a533,d41d8cd98f00b204,zong.li@sifive.com,,RULES_HIT:41:355:379:541:800:960:973:988:989:1260:1311:1314:1345:1359:1437:1515:1534:1539:1568:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3740:3872:3876:4250:4321:5007:6261:6653:10004:11026:11473:11658:11914:12296:12297:12517:12519:12555:12895:12986:13069:13221:13229:13311:13357:13894:14181:14384:14394:14721:21080:21444:21451:21627:30054:30064,0,RBL:209.85.214.169:@sifive.com:.lbl8.mailshell.net-62.2.0.100 66.100.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:22,LUA_SUMMARY:none X-HE-Tag: coil16_4a56919ead207 X-Filterd-Recvd-Size: 3644 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by imf26.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Mon, 11 May 2020 06:28:30 +0000 (UTC) Received: by mail-pl1-f169.google.com with SMTP id k19so3508887pll.9 for <linux-mm@kvack.org>; Sun, 10 May 2020 23:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3hw7W11s3UbHTXMwi4d3Emxm52KAS85qy3o8wSco/FQ=; b=A24qyFSBnJlVW10vJD/OsHYNVsGAKGxT6IKCsDcV77ZIUGy3cUz90TaIn1VZHKmXN9 1cNA7LK7GVLu2mQRsL49Jr6QUuiZUIXMbv/3prsNPJc8kemOmuUgCeQ6MfnaO7HJ+Jo9 ckq9i7clpAaHESR+4C2QsAdO2tfolYvRwl5KoiWAZclkXTfe0UMX9JZkWEnd16WprXgD KISvrEDl5FObBxwW3M7SlTNB1B9fAk3p1FIloGl1e2ut/3B1ZesgxAWWGlFraT3PG8NX 5MD8aMCDJxK0vQdeEZjCUBnTsB0sGOFHW7PVhHwc6HyFJD5gv2Qj/F0vQKnUf/Wt8cfV IAZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3hw7W11s3UbHTXMwi4d3Emxm52KAS85qy3o8wSco/FQ=; b=okXbOSNNMYb/7byYcXQCxrhdQkeUcw010jb9ZILgr+fFLvzrdS39xVd854J08cNbJU a1fhnCwROB8hPDLe+YHymxpmjUye85Lhzgv2yrfkQf3ZnSZT0jYSqSEJcQGYKijU9ceH H/H6xQDru+gwaRf1TmJoFfmYlj1MfsKSNeR9BJ1mtIbeg78gQ0eOQm4EyGWQKI9X7Aoj lMwZfYdBZ7qx5SH9BRJF3s6vYDAILE6km5bGdhNU+7LK9ygKTJRXAU8EAPOLS6fnDikY 77i/RzrxFKtQekqtE1TnC98rr9lKPitxYriufLnmoXEA1c95Drq1OSYKIssQ0toulmvE V2gA== X-Gm-Message-State: AGi0PuZi3iNbwp2vUETl2KpEr5Q+cg/UHRrCBMXVmEUkOlm8lOZ4FXZp 9ByoVxjmxEseIIeRiMSlbWHcQBx5Vuc= X-Google-Smtp-Source: APiQypLoz0Tpjdb7pZxLrrNwuO1H2peG9xW14xrRtIbvRe+teZpWvfo7fCkB5fZoR4yart+YnD9qMg== X-Received: by 2002:a17:90b:78e:: with SMTP id l14mr20777973pjz.144.1589178510039; Sun, 10 May 2020 23:28:30 -0700 (PDT) Received: from hsinchu02.internal.sifive.com (114-34-229-221.HINET-IP.hinet.net. [114.34.229.221]) by smtp.gmail.com with ESMTPSA id j63sm5179558pge.76.2020.05.10.23.28.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 May 2020 23:28:29 -0700 (PDT) From: Zong Li <zong.li@sifive.com> To: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Zong Li <zong.li@sifive.com>, kbuild test robot <lkp@intel.com> Subject: [PATCH 2/2] mm: add MMU dependency for DEBUG_WX Date: Mon, 11 May 2020 14:28:20 +0800 Message-Id: <4a674ac7863ff39ca91847b10e51209771f99416.1589178399.git.zong.li@sifive.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <cover.1589178399.git.zong.li@sifive.com> References: <cover.1589178399.git.zong.li@sifive.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
Bugs fix up for DEBUG_WX
|
expand
|
diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug index b8cbe035247f..2409f7fc1567 100644 --- a/mm/Kconfig.debug +++ b/mm/Kconfig.debug @@ -124,6 +124,7 @@ config ARCH_HAS_DEBUG_WX config DEBUG_WX bool "Warn on W+X mappings at boot" depends on ARCH_HAS_DEBUG_WX + depends on MMU select PTDUMP_CORE help Generate a warning if any W+X mappings are found at boot.
DEBUG_WX should be enabled on MMU system. It had got build error when enabling DEBUG_WX on NOMMU. Signed-off-by: Zong Li <zong.li@sifive.com> Reported-by: kbuild test robot <lkp@intel.com> --- mm/Kconfig.debug | 1 + 1 file changed, 1 insertion(+)