Message ID | d5705790ba42513fdc302f679bf420cf86fbadb6.1600204505.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=2pn3=CY=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 353E659D for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 15 Sep 2020 21:17:55 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E5B4E20770 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 15 Sep 2020 21:17:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="vpddWMvo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E5B4E20770 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 2341E900097; Tue, 15 Sep 2020 17:17:53 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 20FC4900070; Tue, 15 Sep 2020 17:17:53 -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 E231A900097; Tue, 15 Sep 2020 17:17:52 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0254.hostedemail.com [216.40.44.254]) by kanga.kvack.org (Postfix) with ESMTP id B0F4C900070 for <linux-mm@kvack.org>; Tue, 15 Sep 2020 17:17:52 -0400 (EDT) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 7BD118249980 for <linux-mm@kvack.org>; Tue, 15 Sep 2020 21:17:52 +0000 (UTC) X-FDA: 77266557984.26.coil06_4f08e3827114 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin26.hostedemail.com (Postfix) with ESMTP id 4F0741804B656 for <linux-mm@kvack.org>; Tue, 15 Sep 2020 21:17:52 +0000 (UTC) X-Spam-Summary: 1,0,0,d3cc692757a205af,d41d8cd98f00b204,3fi9hxwokcgmboesfzlowmhpphmf.dpnmjovy-nnlwbdl.psh@flex--andreyknvl.bounces.google.com,,RULES_HIT:41:152:355:379:541:800:960:973:988:989:1260:1277:1313:1314:1345:1359:1431:1516:1518:1534:1540:1568:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3152:3865:3871:4250:5007:6261:6653:6742:9969:10004:10400:11026:11232:11473:11658:11914:12043:12048:12114:12297:12438:12555:12895:13069:13311:13357:14096:14097:14181:14394:14659:14721:21080:21365:21444:21451:21627:30054,0,RBL:209.85.218.74:@flex--andreyknvl.bounces.google.com:.lbl8.mailshell.net-66.100.201.100 62.18.0.100;04yrqzr63mk3fx3q7x8cgbc3wmyzpoptjx8zbdwxuc8r8a6je3nir9y5whhqjyg.zg3b3wbznxz9xew7e1c4p96f5dx3yyhe86mh6oryw6wspdpeqxiaox8ubhihwep.o-lbl8.mailshell.net-223.238.255.100,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:24,LUA_SUMMARY:none X-HE-Tag: coil06_4f08e3827114 X-Filterd-Recvd-Size: 4268 Received: from mail-ej1-f74.google.com (mail-ej1-f74.google.com [209.85.218.74]) by imf19.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Tue, 15 Sep 2020 21:17:51 +0000 (UTC) Received: by mail-ej1-f74.google.com with SMTP id r14so1848412ejb.3 for <linux-mm@kvack.org>; Tue, 15 Sep 2020 14:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=t8rdfVrdLyxTAYdMt/4LR6Ye4IfbP7qoWzC6FDGTZkw=; b=vpddWMvoyUB7iZMxqEeVRHqhIXDBQTU4Z6/ORGC/5trX/+UsDGo+9vpvpHW+Js/9m2 CR1wMVEWu/JeDwzOLYfrKBKObhRCu0BplW0f+6Rt5HsHIpeMC+iNwPL6Rx2whOtgTcHP OSp6chdIi2Ys4lJn8rkKzxv/5NeJF3ZwPECH4lmK6VPyN82su3s1u/4bx2Q9c0AiWt7d wSoTpJhrzNg5FZaYQWIa6/6ghxmqgrvoqtKxR0FwFjsrYmEGNSdRQj0femL5Mv17DK9O X5QTS3CEm+DYpCJmf5nCf9NjsdTf1HSrtvIekVR9X/i4ct13defwoCxykK9g43C+/LBj EZ4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=t8rdfVrdLyxTAYdMt/4LR6Ye4IfbP7qoWzC6FDGTZkw=; b=gGLAD/DYZjWJgffZ2FxpjLkc8LHJQfYowuOU5F72OP13XssPjticWzEMRyXFkJMlRB vW2SGyB//Jmv/PLW8Gj8HDhwjRi7ommbtrW70A0IphXStQZ8n7rlwjQQGD11KJbHGaPD 1Y6pJwkM+WVEMOWIaeAgUqLkkw4FRkwddljrxKVfL531/Lp+466uJ+932W6Nq/mcf+eV CI3yuyD+n3v2oBeqO6QgoTFY0J0amqhswjdejUImj20EqvyOKxaEQjXieTH7S+0AHnk1 t8K2ZtzxjnjxT32DkRJWu7T1e758u9BaTucTVSAXfe15dyWiJJY95kSskLtaepEKEPSf dEmg== X-Gm-Message-State: AOAM530/mdPPBz/Q1MLUa+iPDRlNDeVrdKImgi+y9KiXX4057L+HIgze PFP8lU8yiLJXz4C4FNZV0uApIBpxa3XPfSTv X-Google-Smtp-Source: ABdhPJxZO/za0DL/aaj/l3gIS/p97WdkPtBAB72fw5melIRWH5aX1Fyw0VwE4wOIs6/dgKwajS0HAVcZKzJ52Im5 X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:a17:906:60d5:: with SMTP id f21mr21975308ejk.94.1600204670609; Tue, 15 Sep 2020 14:17:50 -0700 (PDT) Date: Tue, 15 Sep 2020 23:16:18 +0200 In-Reply-To: <cover.1600204505.git.andreyknvl@google.com> Message-Id: <d5705790ba42513fdc302f679bf420cf86fbadb6.1600204505.git.andreyknvl@google.com> Mime-Version: 1.0 References: <cover.1600204505.git.andreyknvl@google.com> X-Mailer: git-send-email 2.28.0.618.gf4bc123cb7-goog Subject: [PATCH v2 36/37] kasan, arm64: enable CONFIG_KASAN_HW_TAGS From: Andrey Konovalov <andreyknvl@google.com> To: Dmitry Vyukov <dvyukov@google.com>, Vincenzo Frascino <vincenzo.frascino@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, kasan-dev@googlegroups.com Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>, Alexander Potapenko <glider@google.com>, Marco Elver <elver@google.com>, Evgenii Stepanov <eugenis@google.com>, Elena Petrova <lenaptr@google.com>, Branislav Rankov <Branislav.Rankov@arm.com>, Kevin Brodsky <kevin.brodsky@arm.com>, Will Deacon <will.deacon@arm.com>, Andrew Morton <akpm@linux-foundation.org>, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov <andreyknvl@google.com> Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4F0741804B656 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 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 |
kasan: add hardware tag-based mode for arm64
|
expand
|
On Tue, Sep 15, 2020 at 11:16:18PM +0200, Andrey Konovalov wrote: > Hardware tag-based KASAN is now ready, enable the configuration option. > > Signed-off-by: Andrey Konovalov <andreyknvl@google.com> > Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index c8e45870e993..afeb5dde437d 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -132,6 +132,7 @@ config ARM64 select HAVE_ARCH_JUMP_LABEL_RELATIVE select HAVE_ARCH_KASAN if !(ARM64_16K_PAGES && ARM64_VA_BITS_48) select HAVE_ARCH_KASAN_SW_TAGS if (HAVE_ARCH_KASAN && !ARM64_MTE) + select HAVE_ARCH_KASAN_HW_TAGS if (HAVE_ARCH_KASAN && ARM64_MTE) select HAVE_ARCH_KGDB select HAVE_ARCH_MMAP_RND_BITS select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT