Message ID | 0c493d3a065ad95b04313d00244e884a7e2498ff.1606161801.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=gjjd=E5=kvack.org=owner-linux-mm@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.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,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 A798BC63697 for <linux-mm@archiver.kernel.org>; Mon, 23 Nov 2020 20:08:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 16B0E20715 for <linux-mm@archiver.kernel.org>; Mon, 23 Nov 2020 20:08:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="tNrLX9o0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16B0E20715 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 94AC76B0072; Mon, 23 Nov 2020 15:08:26 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8AF726B0073; Mon, 23 Nov 2020 15:08:26 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 68B116B0074; Mon, 23 Nov 2020 15:08:26 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0077.hostedemail.com [216.40.44.77]) by kanga.kvack.org (Postfix) with ESMTP id 37E016B0072 for <linux-mm@kvack.org>; Mon, 23 Nov 2020 15:08:26 -0500 (EST) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id D77271EF2 for <linux-mm@kvack.org>; Mon, 23 Nov 2020 20:08:25 +0000 (UTC) X-FDA: 77516770170.08.apple15_4003eb927368 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin08.hostedemail.com (Postfix) with ESMTP id B63F11819E764 for <linux-mm@kvack.org>; Mon, 23 Nov 2020 20:08:25 +0000 (UTC) X-HE-Tag: apple15_4003eb927368 X-Filterd-Recvd-Size: 4354 Received: from mail-wr1-f74.google.com (mail-wr1-f74.google.com [209.85.221.74]) by imf20.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Mon, 23 Nov 2020 20:08:25 +0000 (UTC) Received: by mail-wr1-f74.google.com with SMTP id e18so6206147wrs.23 for <linux-mm@kvack.org>; Mon, 23 Nov 2020 12:08:25 -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=XfXa1jt+0lTuh6OgRbLfYhhuoSJQhOjqmzv/mbzZDEM=; b=tNrLX9o0lFHI6YWmxVuoOlxK7USSwhxsGK9bGXKo9Q/Ey0C48ZL6MTwIPXc2XXj9ir RaGv3fnIPrVR7PhO+cvCNTTZblxnQKFdm/+XhHV18otbUWNwrXpQbMrfnPHE5IlMj2J9 KgoGMxjlxuHbAK3QnGUxRZ8XF67Xp9YJLhIOIXcqDjkGtEKzubh80QyY6mNOMhXGWQ8x Bfl7CSzZc2gkbGlMhoikl1gcAeVTqaD91IqXctkdDssT7C6i2wfDElh/1itCFS+YdEpw UWxa8LpZeXLKLlCdwB7ydHzYuJt0VWv26483bHnMJ7c9jayQ4WSScWqVPcohcI9QoJgg krsw== 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=XfXa1jt+0lTuh6OgRbLfYhhuoSJQhOjqmzv/mbzZDEM=; b=LRLDr09/8zk+7LsKpSpcg90GrXOzUy3oYYKlySF22lCghGFaHWKGJd1Pf1aRskj+CQ 0SndmMO52/dMgvTttoVRI3IriK5yoik/OBaeVVMvjtI5eTRwsdKgwyZoHUCsCl3Wxe9X kGY00SNuRaz5ftVTRYlHy05IEp/ckZstgSBdt24mPWsjQ6NrkKWYAmnKJwYkrFHLJRFq c4iTk0E35Q/kxW6UUuPCO0elgsdoKdksad8pidnlGJCj3elJIFKaXIS8TPIxIIDdA/zF BegKTULYzlhK9i3DOs6PN5AAIaIp/VDh7iUsQaX0NxnK+fdKN0yNu0nWoAxcUdUxZD57 vm5w== X-Gm-Message-State: AOAM532bzGodhbkp0miJiXtLs2qEVpwZbB9gwOkUb/tNnvq8YIc4Bzbg zaN4iZT5zhbOWC7TzsHeXogYlsCGRK+1KCa4 X-Google-Smtp-Source: ABdhPJyipEp52As5ABW7qjej49j6iqncktvo99eer3o5hWFS2jWRYIYJpdVzUNciy1GEwE5a7M10sdyRdgGbAsHK X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:a05:6000:10cd:: with SMTP id b13mr1469712wrx.220.1606162104203; Mon, 23 Nov 2020 12:08:24 -0800 (PST) Date: Mon, 23 Nov 2020 21:07:26 +0100 In-Reply-To: <cover.1606161801.git.andreyknvl@google.com> Message-Id: <0c493d3a065ad95b04313d00244e884a7e2498ff.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 02/42] kasan: KASAN_VMALLOC depends on KASAN_GENERIC From: Andrey Konovalov <andreyknvl@google.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Vincenzo Frascino <vincenzo.frascino@arm.com>, Dmitry Vyukov <dvyukov@google.com>, Andrey Ryabinin <aryabinin@virtuozzo.com>, Alexander Potapenko <glider@google.com>, Marco Elver <elver@google.com>, Evgenii Stepanov <eugenis@google.com>, Branislav Rankov <Branislav.Rankov@arm.com>, Kevin Brodsky <kevin.brodsky@arm.com>, kasan-dev@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov <andreyknvl@google.com> Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
kasan: add hardware tag-based mode for arm64
|
expand
|
diff --git a/lib/Kconfig.kasan b/lib/Kconfig.kasan index 8fb097057fec..58dd3b86ef84 100644 --- a/lib/Kconfig.kasan +++ b/lib/Kconfig.kasan @@ -146,7 +146,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