Message ID | f6161319e205bf6aff30ad4d46c93e66e60bb7ed.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 45AACC00A89 for <linux-arm-kernel@archiver.kernel.org>; Thu, 5 Nov 2020 05:19:47 +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 98BE52087D for <linux-arm-kernel@archiver.kernel.org>; Thu, 5 Nov 2020 05:19:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eN6UcBBd"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="iPpPVNEV"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="bHVBEntx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 98BE52087D 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=LWiy7CDwKXhakYTUghwEsS0E2h8OqVeOg6hHcxe5qWQ=; b=eN6UcBBdVWC2UchwwM6oRwXqq bsryuAXxrajGKCJEY42k2dyVuPl6GLgkaDMo5siFF8esNqSBRyNA7nk388qa6py5of+bJAGGlb6yp 2rNatA4f5s7KpB3IImb+xK5Uv1iETw+vAUyk5KhXP25DB0G8qkR8CYkFgzRlCSxC7UKUGaHYMh1oC Dz7zveFKZUxh54loT9TS1A4S277Y3RHnUsccMwejK2btWtPeLcePHTNuAz4vT64sBVaL3F5EYBgJc X87zdL/dv3cpJQVe25Vo8jdz2Z4hF4x6mbnWYcYUa+wU8+3yuwpYUaTpf1o+qhL+uskB6EJz/ZV9t dhzn8XLTQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaXfn-0002On-9h; Thu, 05 Nov 2020 05:18:59 +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 1kaW5O-00016k-DQ for linux-arm-kernel@merlin.infradead.org; Thu, 05 Nov 2020 03:37:18 +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=LIY2nrONxUEpI3abKUGgXLbsvOzrU8dATPLwmTEHaeU=; b=iPpPVNEVnYSTzPFEhSdVPOrA1E pvPQlUXI0QtyUxBI1ZftUI4Lnw4aHg2TYfyXlmRvV4GGFQ4BY1VuHq6kGl5uue/EUQ2amR3LvqGzT MuGSQreDbmznlZ3+8wWUAWe6GXreDPon4iJRWu+AkX/4+rWYJoejE147ls9oKygPgsCel/+M70Dui ktzG5KkRnINJphb3tgv8wc++6hnNHmpMIJKChwcXcS+NeIseE3/bu54BWEoei7g+58HozyOZ2RuBm TCX/Sb64GYvo8DtPQcIBd6tJVp68DwhqXIdjWOmTpVEckpjVjyK0zfcn66hhSi1PG1sHbYWAIlKK+ TKBbWw5w==; Received: from mail-wm1-x34a.google.com ([2a00:1450:4864:20::34a]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaS4c-0003sY-TN for linux-arm-kernel@lists.infradead.org; Wed, 04 Nov 2020 23:20:17 +0000 Received: by mail-wm1-x34a.google.com with SMTP id l16so10922wmh.1 for <linux-arm-kernel@lists.infradead.org>; Wed, 04 Nov 2020 15:20:13 -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=LIY2nrONxUEpI3abKUGgXLbsvOzrU8dATPLwmTEHaeU=; b=bHVBEntxz8CISEU0UMN8g7zfiBYpgf9c3dPv6MGEzxLVFboSh9vX2gqioqWBXXsrKP N/z4fsTpVdinl1om2cC5j2OqJwtVuA1IwvmbAWZCF+nzFoZSZziKk4GDpcISqdFenC7m rpxqL8/6eID74piQHXlL2mI7svrDnPRnGWjaJ8yLj2TYEpxrEuEDIuPk2SEYJUd5e1/E NshGMDmoGdoc0ZoCeU958YNH8F8FVgzCipVqYsjgxe4rW0byTujl4L3kkg1lzkpeTJaF o81go1Z4TGVOEkQWgauTM+6m9WM+Aeirf6pRMTzBN/bn/BAuo4GS7mJMrxJRlrWpnvif PF+w== 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=LIY2nrONxUEpI3abKUGgXLbsvOzrU8dATPLwmTEHaeU=; b=o8BMzhlFo151SwfizQRFyXcNEh8WKFPwzHqFeBT8p4nMZIOpWZsKOjajy/dqQh+Bct Ggmnp3ZfypYdocmUTjH7XMQHnfE0v1Jq3CJav1IeiO0yewZ+cgS3QcYbY9Xpl08Y3DFX 1/bxxgNTIKJuOfuNozxQUmVe/S2jDhXSz/UxGKmBcFK2Q5hffITLTwVQ4qFZtGhV6eac 2npWU78WVF1wUuTon0DFIm7wPqPSjYFUR/3rXvVWuehzeuWBl7xzm8yVoYG/179U5nZn 37o8QwnwVjASKXs7uSwrgWcy5vNHo6BZKt2rQLplgLguLmKPMkUA/1aeguZ9wt/ttIYj gm1A== X-Gm-Message-State: AOAM532c6jdJaiZCkD74tNLQIigiDIBFVqgKShOzzXoS+nD6jrM1I4vV 8Qn8KCum/C3ryzorEr9ozxv+BAL7Bg3Ht7K9 X-Google-Smtp-Source: ABdhPJz8PA1RC6TbYkCijZyVacH+F5qN5v5VA7bYMHwRsUMGn/QRHb6T2stA1tcRlIPO7sX4wK7ZATIKTk0Xn1vX X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:a1c:309:: with SMTP id 9mr83135wmd.80.1604531950904; Wed, 04 Nov 2020 15:19:10 -0800 (PST) Date: Thu, 5 Nov 2020 00:18:17 +0100 In-Reply-To: <cover.1604531793.git.andreyknvl@google.com> Message-Id: <f6161319e205bf6aff30ad4d46c93e66e60bb7ed.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 02/43] kasan: KASAN_VMALLOC depends on KASAN_GENERIC 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_232015_331780_7ED1C912 X-CRM114-Status: GOOD ( 12.11 ) 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/lib/Kconfig.kasan b/lib/Kconfig.kasan index 542a9c18398e..8f0742a0f23e 100644 --- a/lib/Kconfig.kasan +++ b/lib/Kconfig.kasan @@ -155,7 +155,7 @@ config KASAN_SW_TAGS_IDENTIFY config KASAN_VMALLOC bool "Back mappings in vmalloc space with real shadow memory" - depends on HAVE_ARCH_KASAN_VMALLOC + depends on KASAN_GENERIC && HAVE_ARCH_KASAN_VMALLOC help By default, the shadow region for vmalloc space is the read-only zero page. This means that KASAN cannot detect errors involving