Message ID | 6320e83ab93e0ae574426e5ad36ee3e52dcadf35.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 7EF48C00A89 for <linux-arm-kernel@archiver.kernel.org>; Thu, 5 Nov 2020 04:32:43 +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 DC36C20729 for <linux-arm-kernel@archiver.kernel.org>; Thu, 5 Nov 2020 04:32:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XPvxpd/K"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="XoDa505D"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="VzWDrHAu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC36C20729 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=sp95Sh4d5ndaxLqxAy26eu1maVs5qF15Egz17jP5hy0=; b=XPvxpd/KT8c/3TW5jLqbQxhJ/ IOHlJn79/alVSWPC4C+XCGaQ/NH1IJxV86GCEZzbVba5N1xLHH+r1kFOGMMbvk6w3hNeKn9G3jXG1 Ju0zxgXNlRyVcmbm8TATFM6M0ubwYGvyyespFflP87HvlgH0yJCPb4xZpBtnrYZmLHPk7Z/9qDylI zsyoBa6wtK/ojJ0Ztx95YNC9nX6VGv/FXfG4dxBcfKfHFc3/+EeffOgPu7+tH6ScsFaSLT6oix8P4 8OK4koxkPObvO7kAIxokheQpyI+fmABz+5K0bgyJ7nwmZ+Chi8dh7ukQGDtUKC/7qaU+Uw2uBm0Ub j6b5i/btg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaWwO-0002EC-Pk; Thu, 05 Nov 2020 04:32:04 +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 1kaW5I-00016k-VX for linux-arm-kernel@merlin.infradead.org; Thu, 05 Nov 2020 03:37:13 +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=n8TE6VLWWv4zp+ZnErvJoE/L5oOe+Pde/aeeJYIsZf4=; b=XoDa505DHh2cPXJG7h63EC+7SW 3eOZ+qe4FRpLmeTzc9FKlRdEDjbJVCKfcf01HoOJjO2a0fqCHaJ40PS0yEU9pfcaWOhHxXRv0/Ep+ WFGdMRtKxofBPf7M1Li1G5h5d7QrtKQQREOmFMYXW8gNk+OJ0mGcFisQkv3Vy/xUyC7UhTF3qetsd +WM1bZrWSOzLqP2KTn7ghMsIUjfpiD5cmp/1Oy/Pt/COlRg94ymYJYPQITB4ZjuI7NBSpuwbBLbXR pu6fdVVKcr4r87NM8p1D00ZEZCIAYbbpMRCJrr2RmDc7Kw1v8ELd626o5yB+iLZ3KXslclMn09N5Y z7NGwsrg==; Received: from mail-qv1-xf4a.google.com ([2607:f8b0:4864:20::f4a]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaS51-0003z5-J4 for linux-arm-kernel@lists.infradead.org; Wed, 04 Nov 2020 23:20:43 +0000 Received: by mail-qv1-xf4a.google.com with SMTP id d14so4851601qvz.16 for <linux-arm-kernel@lists.infradead.org>; Wed, 04 Nov 2020 15:20:38 -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=n8TE6VLWWv4zp+ZnErvJoE/L5oOe+Pde/aeeJYIsZf4=; b=VzWDrHAu8PcZDpVqfwqHHsr0grdBxINSFib8aaW6NKowRtNq8XtPgqCJ3wZRd6Kh5o DO4OeACbYe+qGI0qx5hBcDkHyonu+e76XoqWrb8O1DUIpLvq6DzQk+9FEtE/I5w1h7n0 AsTtUAhNQphVlieXp5Wh/bJwER/NjeGHzsNslo8Mq/+ges76CcYlXreJH+5tA+6+vTx5 POSR5YoJa7lHs/OOUZJ2Zx26KoBySgb3Vlj3A4NnblyOFWWyasJY1yEyj2onrUBjXPp/ 5DpxEuXn81Le0VqDzzzVenVdsr7gBjcrSG0mV7F/85Og6C+fBSxjdR7vN1KenILx4GCQ hZBg== 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=n8TE6VLWWv4zp+ZnErvJoE/L5oOe+Pde/aeeJYIsZf4=; b=UrD2Wk/DWv2xNgBfOfGREf5gAwq8yv/tsXuq3BWZlIN3kfBM56HobS1r6zA01Condw MF0i+LrrNgz49b3z/pgDtZGRm1pdqTwqc5lVWQw9cPT0+qE28zQTa0tzxbV70mRH8fuz YIi/WnzTx1i6vf/q5DP9nNtc624UAMHPXOA43arCFFZooBHhtvUIXKp242+QeMU+0p1T DZvcrs0G50xeJNW/4hDwteMl4IdJt3601qqjLLy/vC810dmvZQmxTsSO6wpyLi3SxdJ8 I7mjTJh8ebzFXDeL8GAIA9ZH07KT78XQMAVYzSPiI0EJf9q4bXrSDnFIE9qCoZkLlNCs NieA== X-Gm-Message-State: AOAM530QxLXCObduQ9NOpKmNMQTFcEY6tD/3qSpwihXiUmzEczaBeke+ b2PaK68Xr7HA7MRC76lCgZqzmQXa5I++EAJx X-Google-Smtp-Source: ABdhPJyWE83nSB/5cwbEd4BXNUcn6UEVGVrwqQr7OlMpHVeaEJXPYKrKILj5zgwt3f29RpGPROwrke/5Ez6Y2GlM X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:a05:6214:1586:: with SMTP id m6mr249436qvw.15.1604531975177; Wed, 04 Nov 2020 15:19:35 -0800 (PST) Date: Thu, 5 Nov 2020 00:18:27 +0100 In-Reply-To: <cover.1604531793.git.andreyknvl@google.com> Message-Id: <6320e83ab93e0ae574426e5ad36ee3e52dcadf35.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 12/43] kasan: don't duplicate config dependencies 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_232039_808968_05565A82 X-CRM114-Status: GOOD ( 10.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>, 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 8f0742a0f23e..ec59a0e26d09 100644 --- a/lib/Kconfig.kasan +++ b/lib/Kconfig.kasan @@ -24,6 +24,8 @@ menuconfig KASAN (HAVE_ARCH_KASAN_SW_TAGS && CC_HAS_KASAN_SW_TAGS) depends on (SLUB && SYSFS) || (SLAB && !DEBUG_SLAB) depends on CC_HAS_WORKING_NOSANITIZE_ADDRESS + select CONSTRUCTORS + select STACKDEPOT help Enables KASAN (KernelAddressSANitizer) - runtime memory debugger, designed to find out-of-bounds accesses and use-after-free bugs. @@ -46,10 +48,7 @@ choice config KASAN_GENERIC bool "Generic mode" depends on HAVE_ARCH_KASAN && CC_HAS_KASAN_GENERIC - depends on (SLUB && SYSFS) || (SLAB && !DEBUG_SLAB) select SLUB_DEBUG if SLUB - select CONSTRUCTORS - select STACKDEPOT help Enables generic KASAN mode. @@ -70,10 +69,7 @@ config KASAN_GENERIC config KASAN_SW_TAGS bool "Software tag-based mode" depends on HAVE_ARCH_KASAN_SW_TAGS && CC_HAS_KASAN_SW_TAGS - depends on (SLUB && SYSFS) || (SLAB && !DEBUG_SLAB) select SLUB_DEBUG if SLUB - select CONSTRUCTORS - select STACKDEPOT help Enables software tag-based KASAN mode.