Message ID | 20210206083552.24394-4-lecopzer.chen@mediatek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=U1Mr=HI=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MIME_BASE64_TEXT,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0F2AC433DB for <linux-mm@archiver.kernel.org>; Sat, 6 Feb 2021 08:46:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 32ECC64F06 for <linux-mm@archiver.kernel.org>; Sat, 6 Feb 2021 08:46:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 32ECC64F06 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 540CB6B0005; Sat, 6 Feb 2021 03:46:26 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4F1396B006C; Sat, 6 Feb 2021 03:46:26 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4079A6B006E; Sat, 6 Feb 2021 03:46:26 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 2CD616B0005 for <linux-mm@kvack.org>; Sat, 6 Feb 2021 03:46:26 -0500 (EST) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id DA9A01F0A for <linux-mm@kvack.org>; Sat, 6 Feb 2021 08:46:25 +0000 (UTC) X-FDA: 77787211530.19.fifth49_4f09cd3275ec Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin19.hostedemail.com (Postfix) with ESMTP id B76EB1AD1BA for <linux-mm@kvack.org>; Sat, 6 Feb 2021 08:46:25 +0000 (UTC) X-HE-Tag: fifth49_4f09cd3275ec X-Filterd-Recvd-Size: 3767 Received: from mailgw01.mediatek.com (mailgw01.mediatek.com [216.200.240.184]) by imf37.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Sat, 6 Feb 2021 08:46:24 +0000 (UTC) X-UUID: a66758f1e6dc4b9cb8d8c3be4f5b97c1-20210206 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=RJsdBav28u+xEHqL8wgRxv+tvf9NJqx84WQg+n9KsZA=; b=hUrYpLDLVZlUrlQmL5FYS/0V6WcTCiB2NZJORdC3eJjzC03vdCCx7faet5D4p9aWnLesMwHpTYOxu6vWC7Vx8Lu7iWzDllOQuh0NExEuv9q2asA5d9dMWaocx+zHCsTzG/y77/PK+t6BuKMznE01vWv40s2rURk7yaKT3oWbpVI=; X-UUID: a66758f1e6dc4b9cb8d8c3be4f5b97c1-20210206 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from <lecopzer.chen@mediatek.com>) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1409640097; Sat, 06 Feb 2021 00:46:21 -0800 Received: from mtkmbs08n1.mediatek.inc (172.21.101.55) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 6 Feb 2021 00:36:19 -0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 6 Feb 2021 16:36:06 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 6 Feb 2021 16:36:07 +0800 From: Lecopzer Chen <lecopzer.chen@mediatek.com> To: <linux-kernel@vger.kernel.org>, <linux-mm@kvack.org>, <kasan-dev@googlegroups.com>, <linux-arm-kernel@lists.infradead.org>, <will@kernel.org> CC: <dan.j.williams@intel.com>, <aryabinin@virtuozzo.com>, <glider@google.com>, <dvyukov@google.com>, <akpm@linux-foundation.org>, <linux-mediatek@lists.infradead.org>, <yj.chiang@mediatek.com>, <catalin.marinas@arm.com>, <ardb@kernel.org>, <andreyknvl@google.com>, <broonie@kernel.org>, <linux@roeck-us.net>, <rppt@kernel.org>, <tyhicks@linux.microsoft.com>, <robin.murphy@arm.com>, <vincenzo.frascino@arm.com>, <gustavoars@kernel.org>, <lecopzer@gmail.com>, Lecopzer Chen <lecopzer.chen@mediatek.com> Subject: [PATCH v3 3/5] arm64: Kconfig: support CONFIG_KASAN_VMALLOC Date: Sat, 6 Feb 2021 16:35:50 +0800 Message-ID: <20210206083552.24394-4-lecopzer.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210206083552.24394-1-lecopzer.chen@mediatek.com> References: <20210206083552.24394-1-lecopzer.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 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 |
arm64: kasan: support CONFIG_KASAN_VMALLOC
|
expand
|
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index f39568b28ec1..a8f5a9171a85 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -136,6 +136,7 @@ config ARM64 select HAVE_ARCH_JUMP_LABEL select HAVE_ARCH_JUMP_LABEL_RELATIVE select HAVE_ARCH_KASAN if !(ARM64_16K_PAGES && ARM64_VA_BITS_48) + select HAVE_ARCH_KASAN_VMALLOC if HAVE_ARCH_KASAN select HAVE_ARCH_KASAN_SW_TAGS if HAVE_ARCH_KASAN select HAVE_ARCH_KASAN_HW_TAGS if (HAVE_ARCH_KASAN && ARM64_MTE) select HAVE_ARCH_KGDB
Now we can backed shadow memory in vmalloc area, thus make KASAN_VMALLOC selectable. Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com> --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+)