Message ID | 25abce9a21d0c1df2d9d72488aced418c3465d7b.1544099024.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B74021731 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 6 Dec 2018 12:26:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A59042D564 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 6 Dec 2018 12:26:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 99330292C8; Thu, 6 Dec 2018 12:26:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, USER_IN_DEF_DKIM_WL autolearn=unavailable version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC8E5292C8 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 6 Dec 2018 12:26:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 28D1C6B7A1D; Thu, 6 Dec 2018 07:25:28 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 126046B7A1F; Thu, 6 Dec 2018 07:25:28 -0500 (EST) 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 E1A8B6B7A20; Thu, 6 Dec 2018 07:25:27 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by kanga.kvack.org (Postfix) with ESMTP id 8406C6B7A1D for <linux-mm@kvack.org>; Thu, 6 Dec 2018 07:25:27 -0500 (EST) Received: by mail-wr1-f70.google.com with SMTP id j10so80606wrt.11 for <linux-mm@kvack.org>; Thu, 06 Dec 2018 04:25:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=c3irOTZqglCe0+q+NuOFKdHcgcEut4vEB08n2fct2jM=; b=cwYJO3Lhuo8vVSbhw/bMuWJdK7ychCiuQOio4FRsRM29ejI21ZpaMXeg/kdYvtS4vm ug/cMK44Subv2xGHTrizyVzWEuKWeRulVqvpNGFGnSvUiarphf3H9y7cA1ab5NIMFcZv nR5UTr8b65qVYuueZRl+GE08a+O9lYfzldNf70Ojpk1tmabcN/KZZkkVyIk/bnsK8g2B A5HwuFR82vNkWOh2RiAnemcxstCdP/KKbRXYk5OWIXvargOGhFbMwiyVMi4VtK0FF8v5 ir4kW0ySjb3pwaXdlxKCVjfCCV284jo4TJfF3CqNwBCi/FuKIhMVQco26tXIiEhCsC1b zmtQ== X-Gm-Message-State: AA+aEWZ3ubMPZYq0p0rNAOnCOHiKqF/rU4z9bJKANsnL+ptsCh/OYUCo Nltp1Z3zJCmRGiAo9NZgU05BGqhCrLPVga7xY9joAaMviouPkym1H3cXA9N0ETIsmKp8VYuQqNI dTKECVClqOwzeaodPpcAd919uxd5brri/fZt0E1sk/Cjb21MXPFZWFNp8M9Y1Bn3+hyBEJFI9KB CMhC99NYS53USVmxycw/NHCMpLhLJtZAMyCKcN+D42DH8paGPugjV1l+DOxg90fmGB5WcPWvEPs S7D5o20RNhrPVw5M5KUJ0/8PZ71Bob05SDxpXYWKg4EwqFtwjWP1zQ/Tph6x6FT/6oSd5Jgb/tn CrPTUeb4lBRI6zpWNYK2F84fJFGHQOIaIxQe0il6q6Iq39wPSgsUg9VVWdgckqt1sck5w5Rsky6 x X-Received: by 2002:adf:f101:: with SMTP id r1mr25630578wro.32.1544099127130; Thu, 06 Dec 2018 04:25:27 -0800 (PST) X-Received: by 2002:adf:f101:: with SMTP id r1mr25630530wro.32.1544099126293; Thu, 06 Dec 2018 04:25:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544099126; cv=none; d=google.com; s=arc-20160816; b=JrpQ6EYQ7iyb4mhfxlWN8UtCQKQ0PGjNcSiUrOJ2eYf2F0tjZfLE4Owgbacw4WC2Xu wWTWUmvvOAs0nnAEXUp01qRxvx+Rw6a8LFZDQBB3OOPn9gNaPI8F1p4QOu+0abc0mcMJ oczX4O7hoMiUmAwiEtIF3wNU2RxDdKC6tQIdfFlI0RvuTIRGl00jPPSwrThtle+RK6kV qHmy+GnPfcw4L5HuA0zJuWjHI/uo+dAb2wtnFtwzWrx3nZYjB2CFwqvV/idQmCo9YO54 Pyi9to18pC/72GuVkC3tFqVMZeE7TdEUmg4LUubYTzf8IzZ/L3g1FvABHdonYB+GpSA1 H3Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=c3irOTZqglCe0+q+NuOFKdHcgcEut4vEB08n2fct2jM=; b=U64hdG9EZYjqGHvYs3dJahm7LcfI7TRDBxyIYJcyPB+iqQPHYEDMItNH4eTO1CS2mb k+SQYf4eDq1YjiqNUAuNYFdVoJIDOqEfJZigPdL1/0rCzfuaGBAevq+ncWSVx/K6AaI/ wCT0QVCLh2M9zhGOU/hxcOqdeTWfq2W4i2zYNvlmDK0h6UGF7e6TjaJL7gOcctpJLAu3 bhYD8RhnrqnN8DB4ldbddQv2DDySrk0hpm4d9CuaK6VQ3HqX8MIZjEMjmYaRC47+ti6P uunzwglMfEgNl2jBDBo6P/vSuX2SxXCAPjPlQmA8PJiDahjMOxSFQ6BmI1D+z5BjCFvc jRpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=neyaAKT0; spf=pass (google.com: domain of andreyknvl@google.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=andreyknvl@google.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id a1sor177350wrx.40.2018.12.06.04.25.26 for <linux-mm@kvack.org> (Google Transport Security); Thu, 06 Dec 2018 04:25:26 -0800 (PST) Received-SPF: pass (google.com: domain of andreyknvl@google.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=neyaAKT0; spf=pass (google.com: domain of andreyknvl@google.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=andreyknvl@google.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c3irOTZqglCe0+q+NuOFKdHcgcEut4vEB08n2fct2jM=; b=neyaAKT0SnRF3m9Va46jiGHE6yqDTX+/qkDaGCzTfyovNE7fgEiBpHCH6E8H6pp+Dg 0V0P6R3gZXIzt6Npzf0dbDRYL8Segztlu9nPAwlHmkpVL6i1WQnVRLnveSf0VX7FUXUK 0cTIsQkBwIH3ZkWUotsAs+TKxDFa5Y9Z2Quc3dcP2YuxWCU42kiKEIGfhwIkNFXUNKSD hCfLOG5PdM3jVSyheXBqSSO9uucECOKJeKjxpGpB7xEix22PdxX5UErNMDlIZlw4oPq9 St5iuKFy2FfMyKSj8DLg2jVhjVWKfuYjzEnkhBGUnYmnyILzY+gq98tl22Emi+J1SvnQ mfsg== X-Google-Smtp-Source: AFSGD/XkE8mejCoGUEy628et/JZL/sxDM+RBbFhKJ78kRjJ2xXA7tnfyWjFXQnlU4GWTOKOYRyZgpA== X-Received: by 2002:adf:f091:: with SMTP id n17mr9679121wro.292.1544099125848; Thu, 06 Dec 2018 04:25:25 -0800 (PST) Received: from andreyknvl0.muc.corp.google.com ([2a00:79e0:15:10:3180:41f8:3010:ff61]) by smtp.gmail.com with ESMTPSA id j8sm339988wrt.40.2018.12.06.04.25.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Dec 2018 04:25:25 -0800 (PST) From: Andrey Konovalov <andreyknvl@google.com> To: Andrey Ryabinin <aryabinin@virtuozzo.com>, Alexander Potapenko <glider@google.com>, Dmitry Vyukov <dvyukov@google.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Christoph Lameter <cl@linux.com>, Andrew Morton <akpm@linux-foundation.org>, Mark Rutland <mark.rutland@arm.com>, Nick Desaulniers <ndesaulniers@google.com>, Marc Zyngier <marc.zyngier@arm.com>, Dave Martin <dave.martin@arm.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, "Eric W . Biederman" <ebiederm@xmission.com>, Ingo Molnar <mingo@kernel.org>, Paul Lawrence <paullawrence@google.com>, Geert Uytterhoeven <geert@linux-m68k.org>, Arnd Bergmann <arnd@arndb.de>, "Kirill A . Shutemov" <kirill.shutemov@linux.intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Kate Stewart <kstewart@linuxfoundation.org>, Mike Rapoport <rppt@linux.vnet.ibm.com>, kasan-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sparse@vger.kernel.org, linux-mm@kvack.org, linux-kbuild@vger.kernel.org Cc: Kostya Serebryany <kcc@google.com>, Evgeniy Stepanov <eugenis@google.com>, Lee Smith <Lee.Smith@arm.com>, Ramana Radhakrishnan <Ramana.Radhakrishnan@arm.com>, Jacob Bramley <Jacob.Bramley@arm.com>, Ruben Ayrapetyan <Ruben.Ayrapetyan@arm.com>, Jann Horn <jannh@google.com>, Mark Brand <markbrand@google.com>, Chintan Pandya <cpandya@codeaurora.org>, Vishwath Mohan <vishwath@google.com>, Andrey Konovalov <andreyknvl@google.com> Subject: [PATCH v13 23/25] kasan, arm64: select HAVE_ARCH_KASAN_SW_TAGS Date: Thu, 6 Dec 2018 13:24:41 +0100 Message-Id: <25abce9a21d0c1df2d9d72488aced418c3465d7b.1544099024.git.andreyknvl@google.com> X-Mailer: git-send-email 2.20.0.rc1.387.gf8505762e3-goog In-Reply-To: <cover.1544099024.git.andreyknvl@google.com> References: <cover.1544099024.git.andreyknvl@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
kasan: add software tag-based mode for arm64
|
expand
|
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index ea2ab0330e3a..66f2c625fd1c 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -111,6 +111,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_SW_TAGS if HAVE_ARCH_KASAN select HAVE_ARCH_KGDB select HAVE_ARCH_MMAP_RND_BITS select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT
Now, that all the necessary infrastructure code has been introduced, select HAVE_ARCH_KASAN_SW_TAGS for arm64 to enable software tag-based KASAN mode. Signed-off-by: Andrey Konovalov <andreyknvl@google.com> --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+)