Message ID | c36842a403be0fbf3dd63b16a7cd231ebd6d4d5b.1597425745.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=uP9R=BY=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 15C92618 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 14 Aug 2020 17:27:52 +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 D901A2078D for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 14 Aug 2020 17:27:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="F2aCksxj"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="OFCQVMh5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D901A2078D 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+patchwork-linux-arm=patchwork.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=0GmMZzv9KWh6gRIyXDfOstYRKRZXAvuAtKSzRgKXufM=; b=F2aCksxj+eOE941uuu8+oek+/ RsQKLeQlFyRhNLbZGPjNnIwemlD2bWcNo1NSdZkCWVWpn42ahiE8ZhlUe1uvveh1VGkuVTGn7rXnv UI2g5Wt7vOUBLQAMSqT7XBs5y+IdKP1l+JT8YFBZSoiP4t4QwN6F1JfH3DwB690cQm3PFeCdYLxYB rJdVhGXyLRU9/ztc7+iXIOU8uS9xXg2p3zD6KNUOvikj7C5QowuHsfQpKVhQ8RMsU6TbYt0uMDhC9 h6iUlKHtG5oUZBycQkuzgT09MOGQOc8NdfbsPfOcuvXiITniI/gC+PUHRtxREPKWNj8MmmTyEZGor mRoynYmeA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k6dUP-0003ED-PK; Fri, 14 Aug 2020 17:27:37 +0000 Received: from mail-wm1-x34a.google.com ([2a00:1450:4864:20::34a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k6dUG-00037b-WD for linux-arm-kernel@lists.infradead.org; Fri, 14 Aug 2020 17:27:30 +0000 Received: by mail-wm1-x34a.google.com with SMTP id z10so3531224wmi.8 for <linux-arm-kernel@lists.infradead.org>; Fri, 14 Aug 2020 10:27:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=g4f+/WfnZkrMe/HqGvZOb2vGCvbeoVKA+YRTcEBLbjI=; b=OFCQVMh5lzbnBQRKf9DzZ6/nqGpqP5QdzE3+Go27TRAD1wu9FUmQBIqrtwtXp033kL ueoA2WLGaoGyWIQtb/uaZ1WXmF09DPSdo8U3sxzgxw2qcTqsz7jq7MG5mrYoxawUZbjF 9uodD7HWUHhEC3SjuGmyyo3Typ7gaCqV9/oPMpxYLYrSyjobie1Gray9lIlWuyRLOYG6 E24uIjoP3jNnPxN0RDvyabdUCLRZUwcW9o7YkLDNy+9+4Epf/d8gA2R2U1I0lPCdd0fS ZCXwv38NAlJrbYxWdy2lcvetzJF+9zGRhAnTYuRi0OG5ZxfPrVSHlqMaOZfnSMWuRJy6 UkBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=g4f+/WfnZkrMe/HqGvZOb2vGCvbeoVKA+YRTcEBLbjI=; b=GqtnjeiS5RXhPpA5Sv9N4FeN/qSGSv9yvrT6ast3jhVvgQjjOrpskSQM8/RuB7ErqW Ixo7ZFDB+qtUSwWVJyO4sIQb4voScHC+ziYIqqZ9XwCFsbzBepEtFMfb2NWLB/Q0iAcE lX2TGrHkSbH1pflydkXxydx1yh+VjoR+954zIvpx4z2EDquVlsDfoNbjScUAFFLSlSye 9LnFQ6UnSgntfsAOCjiBy2eiWrjEUupAwTJakApEn7PckGEATvPClHGcCsXYIiDbJJod OdLB9dcJzQbZoKt46sLXTU+GNKtnmYHSYydrMp27dhb52GrRr1K5v+Y4bdDtOCAH/PNc XM1w== X-Gm-Message-State: AOAM530h4isWo6LTkYpZhQnyQfaWqr18gXES51Kv72p7zLL7AIGIxu1V Gy46BDq+J+Hfv+NzDJg6RRYku3AW4UEcc1Gr X-Google-Smtp-Source: ABdhPJxOR7vAGPMjFiP7k8NtFovu5yIEAl2ydWx6+eJUUnvoGiIE7kwWWrEIbMIlI3WWHWNdSqg3gZl1Rx7j+UKA X-Received: by 2002:a7b:cd97:: with SMTP id y23mr3561956wmj.21.1597426046055; Fri, 14 Aug 2020 10:27:26 -0700 (PDT) Date: Fri, 14 Aug 2020 19:26:43 +0200 In-Reply-To: <cover.1597425745.git.andreyknvl@google.com> Message-Id: <c36842a403be0fbf3dd63b16a7cd231ebd6d4d5b.1597425745.git.andreyknvl@google.com> Mime-Version: 1.0 References: <cover.1597425745.git.andreyknvl@google.com> X-Mailer: git-send-email 2.28.0.220.ged08abb693-goog Subject: [PATCH 01/35] kasan: KASAN_VMALLOC depends on KASAN_GENERIC From: Andrey Konovalov <andreyknvl@google.com> To: Dmitry Vyukov <dvyukov@google.com>, Vincenzo Frascino <vincenzo.frascino@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, kasan-dev@googlegroups.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200814_132729_191745_C345AA1D X-CRM114-Status: GOOD ( 12.31 ) X-Spam-Score: -7.7 (-------) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-7.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:34a listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -7.5 USER_IN_DEF_DKIM_WL From: address is in the default DKIM white-list 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 DKIMWL_WL_MED DKIMwl.org - Medium sender 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: Marco Elver <elver@google.com>, Elena Petrova <lenaptr@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>, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Alexander Potapenko <glider@google.com>, linux-arm-kernel@lists.infradead.org, Andrey Ryabinin <aryabinin@virtuozzo.com>, Andrew Morton <akpm@linux-foundation.org>, Evgenii Stepanov <eugenis@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+patchwork-linux-arm=patchwork.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 047b53dbfd58..e1d55331b618 100644 --- a/lib/Kconfig.kasan +++ b/lib/Kconfig.kasan @@ -156,7 +156,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
Currently only generic KASAN mode supports vmalloc, reflect that in the config. Signed-off-by: Andrey Konovalov <andreyknvl@google.com> --- lib/Kconfig.kasan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)