Message ID | b154864a1b17319c865fddd01a4bca5aaa73aff5.1600204505.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=2pn3=CY=kvack.org=owner-linux-mm@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 8746A59D for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 15 Sep 2020 21:16:42 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 44A6320770 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 15 Sep 2020 21:16:42 +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="dSJTHqOZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 44A6320770 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 176F8900079; Tue, 15 Sep 2020 17:16:39 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 0D882900012; Tue, 15 Sep 2020 17:16:39 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EE31C900079; Tue, 15 Sep 2020 17:16:38 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0163.hostedemail.com [216.40.44.163]) by kanga.kvack.org (Postfix) with ESMTP id D6E08900012 for <linux-mm@kvack.org>; Tue, 15 Sep 2020 17:16:38 -0400 (EDT) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 982223630 for <linux-mm@kvack.org>; Tue, 15 Sep 2020 21:16:38 +0000 (UTC) X-FDA: 77266554876.17.thing28_281444b27114 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin17.hostedemail.com (Postfix) with ESMTP id 64EEA180D0181 for <linux-mm@kvack.org>; Tue, 15 Sep 2020 21:16:38 +0000 (UTC) X-Spam-Summary: 1,0,0,ca6cb15e91a53662,d41d8cd98f00b204,3ns9hxwokcbo0d3h4oadlb6ee6b4.2ecb8dkn-ccal02a.eh6@flex--andreyknvl.bounces.google.com,,RULES_HIT:41:152:355:379:541:800:960:973:988:989:1042:1260:1277:1313:1314:1345:1359:1431:1437:1516:1518:1535:1541:1593:1594:1711:1730:1747:1777:1792:1981:2194:2199:2393:2538:2559:2562:3138:3139:3140:3141:3142:3152:3352:3865:3866:3871:3874:4250:4321:5007:6261:6653:6742:7514:9969:10004:10400:10450:10455:11026:11232:11473:11658:11914:12043:12048:12296:12297:12438:12555:12895:13069:13161:13229:13311:13357:14096:14097:14181:14394:14659:14721:19904:19999:21080:21365:21444:21451:21627:21772:30012:30054:30067,0,RBL:209.85.219.73:@flex--andreyknvl.bounces.google.com:.lbl8.mailshell.net-66.100.201.100 62.18.0.100;04yfeh4d8r8jjdanoxcjidkbegz37opz6zh8nfn9p8uxxiszkq7hct7rae3s93n.ubq64iky13j8owkx8sme3izacg9uufbkoq9u4sut96u4fitemyqsqjhqb853gi3.r-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not b ulk,SPF: X-HE-Tag: thing28_281444b27114 X-Filterd-Recvd-Size: 5080 Received: from mail-qv1-f73.google.com (mail-qv1-f73.google.com [209.85.219.73]) by imf26.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Tue, 15 Sep 2020 21:16:37 +0000 (UTC) Received: by mail-qv1-f73.google.com with SMTP id l29so3026977qve.18 for <linux-mm@kvack.org>; Tue, 15 Sep 2020 14:16:37 -0700 (PDT) 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=rBEpAT9/SFMGCMSd5Os7EsFNXqLe39zVSJtjGGUatVU=; b=dSJTHqOZiuuDXKvtsDQ8oQ1PqjUxDy7pC2eYouUYa/AFSAuodkr6j/TZ2jO5NgNaAc g7YofzhuPIXWqXGAttfKHdujHDCWUY1lgj8UQWTG+rsmQYy0rl997KUAGV7Dsmnv1SOm rEnBBrKjBEb3+9EL1PxJaDOkTUUwqdUTCY98t15qBwyJqlTJ8qCncGTw29O5PD3gDUMY WaoaiAZLu+iktghDPpg4OCF7suInLAbvgvxlQ5D36dLCsOCKOWCa8mV8FjAOEhEObaNn IOu6FRq2u1BojQwe6vsGpGw10jJ/Diw2orJidd+Bi3EgKSzbpa7fb2iHxoKCAW35Mbvr JYpA== 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=rBEpAT9/SFMGCMSd5Os7EsFNXqLe39zVSJtjGGUatVU=; b=eNCfvAWdmU0wlaDeRBC+TtcGzT7ct5ctMUueJRsjhXkSgA3qrlPD5z5Ss5Lh70164E M/0qecOvEJBfr9qL7+tI2G19NCa7Gbi3W2bNtTfhfz6rV8xLlAVdUVIQjq6SlFhf3UrX KwhHOGTPwiivEZ81y9M/Iwxl76WCmO8sqVlKiJ+Pxy+CJtbtLzxuoM/rQNqy/Iw076BL cifrwXcxWZyzRZwpRsIlV3HaIZZ+U6mRYkEBttQtEs6tvBsbX5nQbRmwgXXp7lV4ceRA PVMaZcyGc3A5gRqxmv49vhTzJN5r1otASdnJpUwBZO1Qzo3Ljkv/zXrDBFwEEJIMPLKk cAgw== X-Gm-Message-State: AOAM533bEhA56kfx2YAPzAdjUklfUoTi2vyVq+ibCRhz8pDG0BR2yiM1 ffhu2tLegVgLE5KQFecSTBGVGL5CQyxqWC5n X-Google-Smtp-Source: ABdhPJwVtoNlwGtVWMSadXgwwXxS2o67SZR8HangbbD87rRH9KN5qPngrQJpmzAic4pHTiuGP2p7N8MS0/tYgX6p X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:ad4:58aa:: with SMTP id ea10mr3757654qvb.58.1600204597332; Tue, 15 Sep 2020 14:16:37 -0700 (PDT) Date: Tue, 15 Sep 2020 23:15:48 +0200 In-Reply-To: <cover.1600204505.git.andreyknvl@google.com> Message-Id: <b154864a1b17319c865fddd01a4bca5aaa73aff5.1600204505.git.andreyknvl@google.com> Mime-Version: 1.0 References: <cover.1600204505.git.andreyknvl@google.com> X-Mailer: git-send-email 2.28.0.618.gf4bc123cb7-goog Subject: [PATCH v2 06/37] kasan: only build init.c for software modes 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 Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>, Alexander Potapenko <glider@google.com>, Marco Elver <elver@google.com>, Evgenii Stepanov <eugenis@google.com>, Elena Petrova <lenaptr@google.com>, Branislav Rankov <Branislav.Rankov@arm.com>, Kevin Brodsky <kevin.brodsky@arm.com>, Will Deacon <will.deacon@arm.com>, Andrew Morton <akpm@linux-foundation.org>, 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-Rspamd-Queue-Id: 64EEA180D0181 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam03 X-Bogosity: Ham, tests=bogofilter, spamicity=0.007218, 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/mm/kasan/Makefile b/mm/kasan/Makefile index 370d970e5ab5..7cf685bb51bd 100644 --- a/mm/kasan/Makefile +++ b/mm/kasan/Makefile @@ -29,6 +29,6 @@ CFLAGS_report.o := $(CC_FLAGS_KASAN_RUNTIME) CFLAGS_tags.o := $(CC_FLAGS_KASAN_RUNTIME) CFLAGS_tags_report.o := $(CC_FLAGS_KASAN_RUNTIME) -obj-$(CONFIG_KASAN) := common.o init.o report.o -obj-$(CONFIG_KASAN_GENERIC) += generic.o generic_report.o quarantine.o -obj-$(CONFIG_KASAN_SW_TAGS) += tags.o tags_report.o +obj-$(CONFIG_KASAN) := common.o report.o +obj-$(CONFIG_KASAN_GENERIC) += init.o generic.o generic_report.o quarantine.o +obj-$(CONFIG_KASAN_SW_TAGS) += init.o tags.o tags_report.o diff --git a/mm/kasan/init.c b/mm/kasan/init.c index 754b641c83c7..20f5e1ab8d95 100644 --- a/mm/kasan/init.c +++ b/mm/kasan/init.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * This file contains some kasan initialization code. + * This file contains KASAN shadow initialization code. * * Copyright (c) 2015 Samsung Electronics Co., Ltd. * Author: Andrey Ryabinin <ryabinin.a.a@gmail.com>