Message ID | 83f76fc92ca8c7f1a037356d11b6242ae0c4beef.1604333009.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=5hGB=EI=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 51CDAC00A89 for <linux-arm-kernel@archiver.kernel.org>; Mon, 2 Nov 2020 16:08:32 +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 01AB622277 for <linux-arm-kernel@archiver.kernel.org>; Mon, 2 Nov 2020 16:08:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vnXLuteO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="HVGBfoVQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 01AB622277 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=9H8xbJQDmzG59diX4SrykW4U3ZYMPZV1d6dNterxYZ4=; b=vnXLuteO9qeEsH7Gt6g+aEtVu CmQ1aKXjjWgGs3ftv4OSkPrF/K7KAzLdue1I9pDy72x4uTnH/ky22CXiCpmsGrz5y6Xrl4vzawqIQ 2L2lKhl9QBBUBF/FjbIIU//aSxGUQau9Uyu0IIXTEar3xnn+4kTmBGHy97lJZe8IjZNlHEeo+bbkE yefB15JGL6dSD3GT6qn8k6Xz+dIKHnyINWemyxIKNUwfGpRZ+J6gIuNnRF0efNeCcnVm2PBhhVY6r Qzv7Lre3Z20Tby7wwRJhhwojY87zdfitd/VHawL2v3scQDkUqIfynyaH0zswIzkSTx82/TiFqExCG NkuHxHhgQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZcN5-00087R-53; Mon, 02 Nov 2020 16:07:51 +0000 Received: from mail-qk1-x74a.google.com ([2607:f8b0:4864:20::74a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZcKT-0006dl-GJ for linux-arm-kernel@lists.infradead.org; Mon, 02 Nov 2020 16:05:10 +0000 Received: by mail-qk1-x74a.google.com with SMTP id n23so7910414qkn.1 for <linux-arm-kernel@lists.infradead.org>; Mon, 02 Nov 2020 08:05:08 -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=Sy6BvWdNS0zjXQiflbFd/HmI5xZS6ylM1lYk0zN7bgc=; b=HVGBfoVQuqawyYPyqkKhtPLjHY70+xmE4evLY9Wev/QYsd3YskSStGJaHrpAxkxpXW TdiudYldSt8CzICgNI20YY/qKjrbAYANuNINAXllncJKS3JwBokvGa9hZeSaMtZznhry X00+ueOe5kQS5bhF+C9mcCiKs3A20KcCmTjJn7Z7fIQ4Gj1QWSNuLjVwE03OxRkVvly3 qqsUkbpqy8FLCmpiUyVLqG5iq3/13ZPgkYsGOoqNOikwl8Ot4sRvU3i2bLye2h5E1ynB tqnS63qKVsEWGOuoNvIsH8nqWTLq4BnEH7Zi/1y8ZcW2eEpetUt2IapXtllgv0MVeONn 3hWg== 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=Sy6BvWdNS0zjXQiflbFd/HmI5xZS6ylM1lYk0zN7bgc=; b=WhRkeZt5yqaI1o6k00ANcJnXsB7CddY5qAG07uSiHy2DmwrY6ne4qNwtMJv8jvu3Vd UIWsX2lyxYQqNpm+SWw3IHpKYHVLBNheJx1aiH98ufLhVciifpbWgP2OEoEf7kz9D+Dd aUsw57TrlA3cjwKXezWX0/lNu7gtgBsLFUam5su3bJ9BUifRqQiAHFvqGfjLjIdpRTGa BxRRH6WQP0Max7czyg10Ghes3FUJ2vrPsPDhKhVkt7dKu4DxZ2qdNKdgE9vtM8IE1W8C /QwC9EOKoRU+akZ7OccyfKn3F2fMveDoMqSrZ72yPzz/+MUxPiiT81jDfnHJ4vv/WsO1 Getg== X-Gm-Message-State: AOAM53152oz7DMVhvmCLkZQn+7epy/pz+4IW3m6Dk9zmS8E9q8/TJkJ1 +gk8w1d1Oin0j8X3pqnpmS8HfNe5OYgYLuD0 X-Google-Smtp-Source: ABdhPJyb67OnlC/QoQu0KF9Gdop+DlVTu6p8FT4oUvbt8p7oowAaHDwBN/mhcMngE2XNR8scYV9LA86mLJlVhjo7 X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:a0c:e585:: with SMTP id t5mr22207546qvm.6.1604333106950; Mon, 02 Nov 2020 08:05:06 -0800 (PST) Date: Mon, 2 Nov 2020 17:03:57 +0100 In-Reply-To: <cover.1604333009.git.andreyknvl@google.com> Message-Id: <83f76fc92ca8c7f1a037356d11b6242ae0c4beef.1604333009.git.andreyknvl@google.com> Mime-Version: 1.0 References: <cover.1604333009.git.andreyknvl@google.com> X-Mailer: git-send-email 2.29.1.341.ge80a0c044ae-goog Subject: [PATCH v7 17/41] kasan: only build init.c for software modes From: Andrey Konovalov <andreyknvl@google.com> To: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201102_110509_705036_FC31DEFC X-CRM114-Status: GOOD ( 14.32 ) 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>, Elena Petrova <lenaptr@google.com>, Andrey Konovalov <andreyknvl@google.com>, Kevin Brodsky <kevin.brodsky@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/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 dfddd6c39fe6..1a71eaa8c5f9 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>