Message ID | 0b8cd898a49ba0c9574f822c87e351ea567a80d3.1606161801.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=45Hb=E5=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=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,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 006F6C2D0E4 for <linux-arm-kernel@archiver.kernel.org>; Mon, 23 Nov 2020 20:16:08 +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 0BFA520731 for <linux-arm-kernel@archiver.kernel.org>; Mon, 23 Nov 2020 20:16:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VrPcq86w"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="gFQRB1/Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0BFA520731 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=ndcGp8G3viHhE6DgLlPlZOsgQnURK5qu+tWv6bhc61o=; b=VrPcq86wnBOL9+tFqcIboPHIq CFaEFZoydAT0OwwBF9YmXjtPVo3kNKrtRwgW9zqawi2Q+6maxMJ8xD3LJ+j/ODT74mUO0XbruEBZo cX8EEVk/tr2cEdfuo+3LPx2DIxIMOjubtqU/lE3ZuXcltv9ZMd+lUnEclAzhj0E3x9UToS70hCegU kSrQuxpgVnRl4Ibr4+ItGr5obg1ullZ0jT+wAU/UTeI1WUf3G22dxW0J+ba8xKXmRsgRmmeA86rEc /EEHHJYAxyqILFzL+mLrb0YEnWpFTn1JItResPLlvXg5EdhGkQlz4XOqv1X35I8mOLza+mVzsa6Ox 1q4vfeg+Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1khIEV-0001yC-A7; Mon, 23 Nov 2020 20:14:43 +0000 Received: from mail-qk1-x749.google.com ([2607:f8b0:4864:20::749]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1khI9I-0008E1-Oe for linux-arm-kernel@lists.infradead.org; Mon, 23 Nov 2020 20:09:37 +0000 Received: by mail-qk1-x749.google.com with SMTP id s9so15579785qks.2 for <linux-arm-kernel@lists.infradead.org>; Mon, 23 Nov 2020 12:09:18 -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=GkFr0u14154TKCLNsFsUNWuX9c3ApyttswFdMFuJ7qM=; b=gFQRB1/Ztxk4aNYuOz98+wWRnqsWnkzavuDoYOnJukdqNKXxEmrKlFlfox9MQYjDUv iDTNcah6dQcJGyaX01kO6QQ/zy7mWD0eTwNntP4yxyjQQiq55gIcDmzz+oCCLmtFfj0d K/DI15HRxY9NaOU7ZZjnUC5dIdjE+TLJwjRJoNkkC6FkbphEai2gApd45z+mqYyGtGmt 2dkq3NASyKm6IfoN3bDSc+n47tWwJvRw3IYpqgQMLi2C49nR6D0qFvush1WELnho8eSp 3hUEG+FY+PHsnJ2AaP9/VLS9KQQlGxvkUovlHGSIjbjtg7r+EGC08jJ7VkHVOzYQ1SVg GkUg== 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=GkFr0u14154TKCLNsFsUNWuX9c3ApyttswFdMFuJ7qM=; b=rrJIZoNwQaR2PWAuUH1Cy0ptu2rWeBz0TJueNTlsWC/YfStrEH/D9rlwMeWpEV3k7U BmRfWnv1dch0NVaSLWRdSojRO8mH4irxIxkFZQEoZpWuZOEtpFQLh4O+wupxWnGrm1tQ 7AKrD7wEgY2DflTSj5C7vcwSV7lkgCUIbPNIGhJ4TfcWFgeHG+XAbNeJxPBRnvejlYE6 6D9WyO/M1kKesTBoan5ZTa/XNHZ6mcwPEQ18DTk8YKkXuc6l80fOJr/oIRMWSG9tgEyG FxzepsclKmF+UFYYaATu/ulLcRlB5dL35DmaAW+ggr2OyWFvzr0N61QlogK+fkwwXM/5 33sw== X-Gm-Message-State: AOAM531U5G4F6wL4kUF3B7i9g624Ke0pvAKdIzLRU4cPr62KtYvEIuRx FAAIbDUt+Ty5zTsvwvx0s7o+9SdfahHfw/NO X-Google-Smtp-Source: ABdhPJy+Em8K3byHGlsLgNIzvAr8pDHSt17yd+2X1s/6Oyq+9Qs/ZOC0L9tbCW7Fl74HrEKfzwW5BXUoN41l2Qv2 X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:a05:6214:9a9:: with SMTP id du9mr1076956qvb.47.1606162156981; Mon, 23 Nov 2020 12:09:16 -0800 (PST) Date: Mon, 23 Nov 2020 21:07:46 +0100 In-Reply-To: <cover.1606161801.git.andreyknvl@google.com> Message-Id: <0b8cd898a49ba0c9574f822c87e351ea567a80d3.1606161801.git.andreyknvl@google.com> Mime-Version: 1.0 References: <cover.1606161801.git.andreyknvl@google.com> X-Mailer: git-send-email 2.29.2.454.gaff20da3a2-goog Subject: [PATCH mm v11 22/42] kasan, arm64: don't allow SW_TAGS with ARM64_MTE 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-20201123_150920_947397_09CA8BD1 X-CRM114-Status: GOOD ( 13.78 ) 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 629a293cc408..026aaa64a7e0 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -135,7 +135,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_KASAN_SW_TAGS if (HAVE_ARCH_KASAN && !ARM64_MTE) select HAVE_ARCH_KFENCE select HAVE_ARCH_KGDB select HAVE_ARCH_MMAP_RND_BITS