Message ID | 04d60f57ea65706bf38450d29a64e34a69df2123.1600987622.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=vOKg=DB=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 2B2CF17EC for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 24 Sep 2020 22:52:30 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DCDEA23600 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 24 Sep 2020 22:52:29 +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="JIbAlw2W" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DCDEA23600 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 9F22C90000E; Thu, 24 Sep 2020 18:52:25 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 950728E0001; Thu, 24 Sep 2020 18:52:25 -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 81D2490000E; Thu, 24 Sep 2020 18:52:25 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0182.hostedemail.com [216.40.44.182]) by kanga.kvack.org (Postfix) with ESMTP id 65C9C8E0001 for <linux-mm@kvack.org>; Thu, 24 Sep 2020 18:52:25 -0400 (EDT) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 33AA1181AE864 for <linux-mm@kvack.org>; Thu, 24 Sep 2020 22:52:25 +0000 (UTC) X-FDA: 77299455450.29.maid64_361567727162 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin29.hostedemail.com (Postfix) with ESMTP id 0E02318086583 for <linux-mm@kvack.org>; Thu, 24 Sep 2020 22:52:25 +0000 (UTC) X-Spam-Summary: 1,0,0,27db297f01622e48,d41d8cd98f00b204,3jyntxwokccqandreyknvlgoogle.comlinux-mmkvack.org@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.222.201:@flex--andreyknvl.bounces.google.com:.lbl8.mailshell.net-66.100.201.100 62.18.0.100;04y8zgq8xgwe8o4wd4yjfp4pidobpoptb8u7dybo4t1mj7wjhxejhqb4qbw6cz3.z3dw5efdo687wpc1tj6f498ihux3yyhe86mozcotrrhcjdpeqxiaoxekyksr3ws.g-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:23,LUA_SUMMARY:none X-HE-Tag: maid64_361567727162 X-Filterd-Recvd-Size: 4318 Received: from mail-qk1-f201.google.com (mail-qk1-f201.google.com [209.85.222.201]) by imf46.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Thu, 24 Sep 2020 22:52:24 +0000 (UTC) Received: by mail-qk1-f201.google.com with SMTP id 125so703586qkh.4 for <linux-mm@kvack.org>; Thu, 24 Sep 2020 15:52:24 -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=gEuj2b9WdC9oBanHgBD8GdnBbbRvvuF2rkOpQJigrMM=; b=JIbAlw2WviAZ3NcpcEWMBxrRnN/ODOpCEnkFSV/tpeIF3G28JZrmI5tqLOAvPnSFfK dbZl21niTZ+VjAFzkEgQiu9PJSCY/brdhcVz/c4jHMYy+vlwO2r2454npuRCehH4O8a5 bT7nLd/MsiaWkNv4VyC7KGxqDoBapmdH9NDHsd3nyxNcazyx+F1Jrslc2YpFML94wbJp lA+sWhzbQdIfShhGi7ypkFNUzYRfSkP2pmpwLqbJ9HoCc5n++Rwc+PdunApYdZb1vmRF AyDh/7o4WztLPfJMW0OV0+aVFZqdnJKmtTiOB7X3EQBkoAiGIYi/nwSlt7mDJpqtMf0g 4O0g== 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=gEuj2b9WdC9oBanHgBD8GdnBbbRvvuF2rkOpQJigrMM=; b=bkuG4W1KDpEaBS8ujx9CcraZjK53SgNOsI+Pe0MnkWLBbLLHXStFT4OOgvDddAG7cv k/MoHLotLj1iVFavDswzP9vrlz5wjDD0dU31vnmN40lbhfslQ4d+8PnALc/p0zp+OJiK wdfk98n3P52BKwv/nJoJrwluvVM2fHXCkVToPcJqzUTOBb8JKQNcDh2uUNuLSVnN5x/0 /dEeWAAT5hdNPMI9UAjdQn68CQKkeqn3aLGBOR9mfTYwTFDQfbGyaQa8H4c5HBt4KN0i jyA96o28NulLeZoixWFgqcUMYZkYD/Gv3x9QAFFaSjSKsI3qOhxpL69sTdwoxW0pgbmy FXyQ== X-Gm-Message-State: AOAM531bo07QxSCEAzmbrkbCu+DFgiqPaIaf/6MIgyymEiZ89WWeyv5Z NhMeacmmkx1K8t4aeEDmRkOaQo0cqc36fVGQ X-Google-Smtp-Source: ABdhPJzhSo9kHU85hHjvut8uMbw9MAeIY2MG58bH3ahvzG9KwlNiUATEsTYQSYjo5klsOOjalTUpEJyWtYTKvhCw X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:ad4:5387:: with SMTP id i7mr1572849qvv.43.1600987943938; Thu, 24 Sep 2020 15:52:23 -0700 (PDT) Date: Fri, 25 Sep 2020 00:50:45 +0200 In-Reply-To: <cover.1600987622.git.andreyknvl@google.com> Message-Id: <04d60f57ea65706bf38450d29a64e34a69df2123.1600987622.git.andreyknvl@google.com> Mime-Version: 1.0 References: <cover.1600987622.git.andreyknvl@google.com> X-Mailer: git-send-email 2.28.0.681.g6f77f65b4e-goog Subject: [PATCH v3 38/39] 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-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
|
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index e28d49cc1400..8d139c68343e 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