Message ID | 0355e2644c50417c41d3d2da23c95a50e122716b.1605305705.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=AU6j=ET=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@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=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, 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 5646EC4742C for <linux-arm-kernel@archiver.kernel.org>; Fri, 13 Nov 2020 22:35:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CE6DF21D7F for <linux-arm-kernel@archiver.kernel.org>; Fri, 13 Nov 2020 22:35:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="3j9VH8t0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="dThXa5Fe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE6DF21D7F Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:From:Subject:References:Mime-Version:Message-Id: In-Reply-To:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GmPAFDzWB/BBN9CIagGHgvm/EM1eLG0dhb5XoKJTEZI=; b=3j9VH8t0lbtLTAOh+yMVzQcar QYwxKji2A5I7lR0fWXpyrGaEeX0P0KbFWNkVTcSJ+HJl92A6vKboZl3dCteKTxJehnL73GFB1SPJm uBIxdK5793z+eRt+mYi6vAZXTyBSiQWtw0iFKXn2NVma4FCxxLsgUOB5xsP20hynjjhmmgCN+cDSS RDu1pIVohBky5aiyjpe4bwDszv2UEh9x40hAYHis0Q9iaw2lnpVN7S/8THql53a1nvVM5yf29ZTDY lQ1mBaoUmF6jZv81inUoHmDWHbobhNP1VEh6fRGc321PFhyFVXFkp322hpMfoL1ZRIQ82XRdygrO3 TrEVNshHA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdhdh-0007fo-L5; Fri, 13 Nov 2020 22:33:53 +0000 Received: from mail-qt1-x849.google.com ([2607:f8b0:4864:20::849]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdhOG-0000Tm-81 for linux-arm-kernel@lists.infradead.org; Fri, 13 Nov 2020 22:18:05 +0000 Received: by mail-qt1-x849.google.com with SMTP id i14so6594299qtq.18 for <linux-arm-kernel@lists.infradead.org>; Fri, 13 Nov 2020 14:17:52 -0800 (PST) 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=xwfpXyrGyTT8uiupaW5ZYtlwdHToRfd3Od6MwRYYRNc=; b=dThXa5FerngU0mzK5hnc4hNOp9d6sdMJYVGelDjfLKkFynnoFewt04JW/YFc4lokrJ OMxm+ndEbrspottOGzu7rwJ5aXvDEPwoyUvLE2IcOQhPUHej39ha+/QuoqCUd2TUV8lU 0YNLaj4dGxVAxxOFV47WwPMFiFfx1UN0JsDLeDnY5EcIV4f2sscr7d0gL17sPmfGZsxm CKQVzRCc9/11C+WXA5mEzoSXbnFq/blMywAlSyNwqFj9rY4arXxL4NaZgpT2FjNjD+I8 dni7JApOWbN6QpMV+mEhNVW0ZEkP5D47rbWMUfWG9urRXT38RSYRUSANnT1CrZbgTIPq Fbkw== 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=xwfpXyrGyTT8uiupaW5ZYtlwdHToRfd3Od6MwRYYRNc=; b=L5CLpZ5IEzvHWT9+UTQDQd3IpNf69/laaGSHQMBcyOTQijQB8mVVrXaruNal4T9rIy uYW1opsTI2J1o4Gk7CRNyDn2Pxa2DEEI0RA1W3oCCzUXkon03cdDgxA8X4oCgR330mo3 6NdVtTYEBrxqqneG7C1JflLNinBgGABEP1qO6Bl7cVoTgtyfcoRIuCbLLdwyl8La72+P +tIRN+i6r2ZQLzO9K5vkxYw3tyhhbGmq/SeTcMz60/MbVR1/ZiaoxDZo/iioLWnpu/oc pf/k3W2vlmu++D06+Fg6J+3E6S9OyebF3SWFnIr/98TyGccXR/ZODeL83o/0/7s3i268 Vynw== X-Gm-Message-State: AOAM5312FBsVyEkhIuaAirQ52pmHfH2ZGzX+4GCNyjjJhVfTjANAHSR8 4jTO8MZpSaVoKUCuOmfJ+cKQbHdBKe0jU48E X-Google-Smtp-Source: ABdhPJw9wDwWHihZsgkjKyRpsr/g0tZ4eeqFUDClLdcHjdRakV4N6V1cQajgAL9yKuWdzX7Y269stAeWB5JbxxuQ X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:ad4:4d84:: with SMTP id cv4mr4852557qvb.14.1605305871168; Fri, 13 Nov 2020 14:17:51 -0800 (PST) Date: Fri, 13 Nov 2020 23:16:08 +0100 In-Reply-To: <cover.1605305705.git.andreyknvl@google.com> Message-Id: <0355e2644c50417c41d3d2da23c95a50e122716b.1605305705.git.andreyknvl@google.com> Mime-Version: 1.0 References: <cover.1605305705.git.andreyknvl@google.com> X-Mailer: git-send-email 2.29.2.299.gdc1121823c-goog Subject: [PATCH mm v10 40/42] kasan, arm64: enable CONFIG_KASAN_HW_TAGS From: Andrey Konovalov <andreyknvl@google.com> To: Andrew Morton <akpm@linux-foundation.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201113_171756_377838_44502DA9 X-CRM114-Status: GOOD ( 12.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-arm-kernel@lists.infradead.org, Marco Elver <elver@google.com>, Catalin Marinas <catalin.marinas@arm.com>, Kevin Brodsky <kevin.brodsky@arm.com>, Will Deacon <will.deacon@arm.com>, Branislav Rankov <Branislav.Rankov@arm.com>, kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Alexander Potapenko <glider@google.com>, Evgenii Stepanov <eugenis@google.com>, Andrey Konovalov <andreyknvl@google.com>, Andrey Ryabinin <aryabinin@virtuozzo.com>, Vincenzo Frascino <vincenzo.frascino@arm.com>, Dmitry Vyukov <dvyukov@google.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
kasan: add hardware tag-based mode for arm64
|
expand
|
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index b732c8280fc1..35e7cd2d7755 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -136,6 +136,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_KFENCE select HAVE_ARCH_KGDB select HAVE_ARCH_MMAP_RND_BITS