Message ID | c7401464c398ae353f996e2e7af5892578cfc932.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 97CB5C00A89 for <linux-arm-kernel@archiver.kernel.org>; Thu, 5 Nov 2020 03:58:45 +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 0962520786 for <linux-arm-kernel@archiver.kernel.org>; Thu, 5 Nov 2020 03:58:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XSrhwgnO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="lhhcxjUx"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="C+OLyB6S" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0962520786 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=6AMgKU9ekKnwgGwMnklMMC0FJ7tsl7YsTt5rRabnqTA=; b=XSrhwgnOKuOVw18AabkvkJqZw MCW9D+KMSo0GiuNGRVcrrnvcGH67zbNTS0MLuuVlJd00ThFNdpQQ8zdhakINsXUqLyAZa+Hyq89wH kd/nV66EOwDE/CkpWDfxte1QDPGxMcpl35J6rlfGq1xlun2s0Hfada5gYTcVPfAJnwMB4WimC8igt d6yz9752si8F6FmKX+XdnV7zHdF4mLSPE/Pdt+j9sNo6phDk3ZkJWs2uAoPeiBRmuqC+U8CalH0QM uzx37MFPm5Alql2HQYd/iDUFTMEyu7ZpX1b7K9ief/8cQ4eXhtxnnl+8jmcaTiw1Ur1+NOJ+0jcBf Ku1IyvIsg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaWPe-0000xf-R0; Thu, 05 Nov 2020 03:58:14 +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 1kaW5C-000145-IW for linux-arm-kernel@merlin.infradead.org; Thu, 05 Nov 2020 03:37:06 +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=ePhrCN9LvFC2NG8TKNxFN+Gj7X1gzwcPp9/mgeUcqHQ=; b=lhhcxjUxdX/2R/HcCNiBLMf/cB D0VSL5Kx77r1sypoELUfhgie/uJjiNxMxSjfaPL1FzOBFJ0YtYfuhZrrZvpeb2UxjL2ZAQWqC3T0D qo0JUzPsfi0B2zcgjXEPhmcsSeqFI3Fc3aW9Ha1s+ve5CcvJMaJ3TpMSd6939LNMpCZW7qglrRrYD Ic4cZUpwk2s3IPsPAyfGV1gHJkSOD8sCu9ADltmfnoRw3Aht1BerJb1pRJbyPg9hC7FGHzXN5wyZy OG050LLzidPsgIzkgvGyMCKEZk9ZelmtNxFs6juwH0Ls78mh0LBhSmYMcE0D+ZDeLuktvwAi8k62g EAeyziWA==; Received: from mail-wm1-x349.google.com ([2a00:1450:4864:20::349]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaS5T-000455-EI for linux-arm-kernel@lists.infradead.org; Wed, 04 Nov 2020 23:21:10 +0000 Received: by mail-wm1-x349.google.com with SMTP id u207so24330wmu.4 for <linux-arm-kernel@lists.infradead.org>; Wed, 04 Nov 2020 15:21:06 -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=ePhrCN9LvFC2NG8TKNxFN+Gj7X1gzwcPp9/mgeUcqHQ=; b=C+OLyB6Sff9JLLtKbp0uDfc/GKA28DIw6lwW0MLPBglUk4VKzX0PB63iCo0IiN2hmg Mj6O+jer6KakCOqcH4wXBtYO4pzh0TtpF/fJCUzQ+fkDX0DOGsMFTcUhH5WxF8QWgOXj O8dOWG9gSyD0OSZ+jV/oRcGiDs+CLC//f+/v+wBA/hhgb5hrR5J3DpYBpqVcu8GBmKoq lsiMxJfHcMagNgkCypOcmEaDQUCN+NphYLTOeFQjCnEJYK/kcahrCm9/6nYgj++T8xL2 Ci2c3EY0IAEjFDMWhZEd7NkatmoEbTjirFKTYtRZa7adSi3wz6ZVctDX99kVZFTABUQK ONeA== 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=ePhrCN9LvFC2NG8TKNxFN+Gj7X1gzwcPp9/mgeUcqHQ=; b=ZlP3+wlG2RN2h8WpThUwzm5OWJkf6z3a1GiIm7IS3B52YrFNaMICTNytUu0LISfG9I 7rxjUFE6OaxcVdwynPBVO0fV4Q3Kk6fED7lKOo3QeZ0Sx2EztJ5cmKOOn91sgr6hmQSM H0Zf6BeP8MePJ3vFdrZagIqvNMvzhyPT39S+bnBIm78b8F79gOQHAbqR6fg5O/ksLyPf mbCuLrlN+vW1KfT8PtqJhGzBMuoLh9g7eheZODygW+Hq7cBhxgMkgJ0iZF8Nrctb6Rci Nieo2B9nVesXfwMFuTLPKgPv2ti+u2UE/vaA4uZ67toibdvCaWfhE6RfTYttRIhQjpn9 ixbg== X-Gm-Message-State: AOAM532XUvlvfOXfxtEZeee76zgrEIDBPrEJhN9a6IQuv4pTX5bI+QZv s+jByJ/9z7XW+gmLZ9Y6VTxeUHjSUixnO0Yv X-Google-Smtp-Source: ABdhPJwu6we4Z5OBZuGmSUCzF9eUS+7TnL8YtWz4qN7FahMt/MMmSKJRmtsqvh+Dt+lv/3AlAqthZAPUUb6e/BYZ X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:a05:600c:216:: with SMTP id 22mr50135wmi.149.1604532004186; Wed, 04 Nov 2020 15:20:04 -0800 (PST) Date: Thu, 5 Nov 2020 00:18:39 +0100 In-Reply-To: <cover.1604531793.git.andreyknvl@google.com> Message-Id: <c7401464c398ae353f996e2e7af5892578cfc932.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 24/43] kasan, arm64: don't allow SW_TAGS with ARM64_MTE 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_232107_627927_5EFEC27E X-CRM114-Status: GOOD ( 11.24 ) 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 1d466addb078..d58b4dcc6d44 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -134,7 +134,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_KGDB select HAVE_ARCH_MMAP_RND_BITS select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT