Message ID | c21462b3ea128943b3e7af2788d562aa05a247ae.1604531793.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=3g0P=EL=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 A6C9CC00A89 for <linux-arm-kernel@archiver.kernel.org>; Thu, 5 Nov 2020 05:23:28 +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 088962083B for <linux-arm-kernel@archiver.kernel.org>; Thu, 5 Nov 2020 05:23:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BwecJ+bo"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="lHA/HNy3"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="DU5fct66" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 088962083B 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=aGCQeg2fnN9CY+g63axKmXbuVHYF8kD3JeXPeq+IYI4=; b=BwecJ+boKyCxQla0or0o5QBWE k9OnyvyXNp7U8GiGIFPgbHfBe8OEJsp1P6ZMaLbdM4MfrNcyeD5V/epsPT3JdeCUxVfTjNmwMYnrv PQcmfOYlTniqrGz+xKdxsxvjHXOl9eTr4OPBD70WLI0Cwe4m/CWn2Hg9mbT8sOnCoBPQ/GeyPeNZb +4AS80t9N275OlvEJg13F6hPxw84DQY6fqceqbrcylgIyBSs19+g0HfNO7Ae4OLzjRVdGz/VjeJnQ XzEIgG7lLYXiMLkb25njbyyTD0Sy6JOCjIFmFKiWyqtkEk40ZyNLDbOyWbNDAHJ+mXafvQIA4k9vJ X3z2UaEUw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaXjQ-0004AY-At; Thu, 05 Nov 2020 05:22:44 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaW51-000145-Js for linux-arm-kernel@merlin.infradead.org; Thu, 05 Nov 2020 03:36:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:Cc:To:From:Subject: References:Mime-Version:Message-Id:In-Reply-To:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=hKqfeGmJU17yqcBnh9EcbhWo2RSZMPrdWdsmZezW6Y0=; b=lHA/HNy32vgvRQ/FK+xH90kKRY 0lHLHpp0WD0XVfwzk2XLybqUxDkwUCck2R8f0Tnz7xfxhD83adQ8YbBtc301Y6mp9OcfRK3+ENprg FkY3DpQ6vdoaCFnZ9v4THhcED+PuTTRetCvmHBE0FvQQqt28YQFNLOYuMWCM44Ex3cuzGoGZTRB17 m4r0xLCfyIzsgjWWzt3s7PvNNVVHP5mUakh+dAn8QgWLORpXL8nKfMxaPk6RtowM/Z18zWKdr/9nz q002v660NLKj8lMPuRQSU5Zhf+uAEA74BKwwBiFjvFlYMdYlozKHAhUKeW+OykORii0wsgimr/u1D vf9jvyXA==; Received: from mail-qk1-x74a.google.com ([2607:f8b0:4864:20::74a]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaS67-0004I2-UB for linux-arm-kernel@lists.infradead.org; Wed, 04 Nov 2020 23:21:50 +0000 Received: by mail-qk1-x74a.google.com with SMTP id t70so14386435qka.11 for <linux-arm-kernel@lists.infradead.org>; Wed, 04 Nov 2020 15:21:47 -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=hKqfeGmJU17yqcBnh9EcbhWo2RSZMPrdWdsmZezW6Y0=; b=DU5fct66n5Jm+qp7Y3XPj0DiQRgJhNHW8925iNYcwLI2iSfBAGFQonQ69tRIksD3Eo 3LULKXe1R6fJ8InNE8FCkkmGBHSiiErEJ5eU06/2tlsaiJtpK9poPR2ARandVwj/EslU Bv7p0oT0D4iP9QkISKVxHlJSp64gvk4TzuZCBVepJX95QlkDdIBzYsppzFb1p6Ra3oWz ZSGWyr93ipcEgwvF/yGbnYWu658KDX30/9Y/7bmBC3VGJbnC9ZGWWZcjuf6xYnza3x1T 2Uodg8Xeb+rbiyLqUzm0Cd7JaZ+VmkynrQEOoxe0SK7Qa5grYb471sqU44GARExjXzaw dLDA== 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=hKqfeGmJU17yqcBnh9EcbhWo2RSZMPrdWdsmZezW6Y0=; b=sn6LPanaXp58OHT7pKbxrJtd9RHAGu4NNN2STnpprHEXIP7DhOX3PgYlbSuhAj63zi 2iT5snPOJHCf+OGcuvH7vl7sJZfcvlpMVSjDecph7Mlge/E9AYBXSt0MHCa/9+yayJIC G9/PeGKC7c+jI5l2d16a9BEvQgKEdBXvDYN9lUZoE9Z5ljoB/fymXOF0a1rN/9/zQZvI ekQz6xE8G2VLXO8UwhhXbKVP5qrhkXNqmdgpKcjDFv5mw+1lwpLOFAfbNv8+FRNm+i1i nlpN8lmFCjh+w7UxGzIaF73TRWM7z8GJzAdmxLBJZnBBRn7c0XjnPeEcaM9eTHD8nzZn AoTA== X-Gm-Message-State: AOAM533Nq2MDmM6hGc/dhgRo1wRLNNMoHA+wu2z4W6TDwDXJaHWGfeyN 9fNZ+5bp5v6un6gwt4MM5s9zJZLi/9IbedgM X-Google-Smtp-Source: ABdhPJx+HHvkYwIh6sJ7WWY/Byha2SM4H0CF03j5uewLvlhzz7sNx3WqiWX0omoXFdScFjo7bPiJXDAOM7s7mGPj X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:a0c:f3c2:: with SMTP id f2mr271968qvm.24.1604532045303; Wed, 04 Nov 2020 15:20:45 -0800 (PST) Date: Thu, 5 Nov 2020 00:18:56 +0100 In-Reply-To: <cover.1604531793.git.andreyknvl@google.com> Message-Id: <c21462b3ea128943b3e7af2788d562aa05a247ae.1604531793.git.andreyknvl@google.com> Mime-Version: 1.0 References: <cover.1604531793.git.andreyknvl@google.com> X-Mailer: git-send-email 2.29.1.341.ge80a0c044ae-goog Subject: [PATCH v8 41/43] kasan, arm64: enable CONFIG_KASAN_HW_TAGS From: Andrey Konovalov <andreyknvl@google.com> To: Catalin Marinas <catalin.marinas@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201104_232148_154299_3E8EF73B X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. 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>, Andrey Konovalov <andreyknvl@google.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 Ryabinin <aryabinin@virtuozzo.com>, Andrew Morton <akpm@linux-foundation.org>, 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 43702780f28c..0996b5d75046 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -135,6 +135,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