Message ID | 20211214162050.660953-44-glider@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id CDE23C433F5 for <linux-mm@archiver.kernel.org>; Tue, 14 Dec 2021 16:46:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 967A46B00AC; Tue, 14 Dec 2021 11:24:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 916816B00AD; Tue, 14 Dec 2021 11:24:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7DF566B00AE; Tue, 14 Dec 2021 11:24:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0059.hostedemail.com [216.40.44.59]) by kanga.kvack.org (Postfix) with ESMTP id 6E3BA6B00AC for <linux-mm@kvack.org>; Tue, 14 Dec 2021 11:24:03 -0500 (EST) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 332FD18039531 for <linux-mm@kvack.org>; Tue, 14 Dec 2021 16:23:53 +0000 (UTC) X-FDA: 78916921146.10.11196AE Received: from mail-wm1-f74.google.com (mail-wm1-f74.google.com [209.85.128.74]) by imf29.hostedemail.com (Postfix) with ESMTP id 2A399120008 for <linux-mm@kvack.org>; Tue, 14 Dec 2021 16:23:50 +0000 (UTC) Received: by mail-wm1-f74.google.com with SMTP id v62-20020a1cac41000000b0033719a1a714so11490898wme.6 for <linux-mm@kvack.org>; Tue, 14 Dec 2021 08:23:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=0mmB6h+qi5LVtavm6Y/uuufvMWDJjURttWeT4uCGgOA=; b=krFHkJFRpG5f7PQyylfsyHH+X/3oZHTlM2bHag0ljtZokgaD8/YyPhz0OYtoZljF9p a/1WMF9SvMaTb9wiE7MASzLtGFT8CktrQrZ2tpyLjxKkL91geH8UeWWzwvBJv6Bc7oJU E+KEPa6RoW0rUQgwUpd0QXBPE9puM5GvMQ0xIh3Tvxtqpf8QygDfsFQSGIminBNT0eKZ oLNgqIxe1YY8jSU+kZMraZV6fkCDztyU5gCD/zBdRh535EKhlF+heSFYdyLPxt6xntXU vLWuKXkmWn8l2IGs4qKg3zgmOEkTk5yNhec57ZKsf5VC5RbbGWVj9NpQuNXed095KhdZ eyQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=0mmB6h+qi5LVtavm6Y/uuufvMWDJjURttWeT4uCGgOA=; b=4MVIqftApZlOYi5c0QRlHEQGdzr0khNaI/UJvT0yv0oRzpmWPtGBukiLpXlH3W/S93 gjtUwaCzgowIv3QQnCEvANIgObzO62ur99qhpPWLDmrpO8OjH6fJyCgAoIQQCEOPyH01 RAeknX1c6q84TUCH8RnJmMBdz3BxlE2XGLYeKLgK5zAPf/B2+/Lizwm23DksU1aVMfaB w/xN7xQSKdCyM6ygF826EN4ElrpEKNZBjgEfSooP+clsVCUcNF/v1++K1TRntPw1w+is NHwybZOThwqb/fY0UlxKR0RyODS4hyQCqCuekPKOwBHV8PevXJnwLVDuUBx4REl/BARI TmKg== X-Gm-Message-State: AOAM531Rb7+QD6L8Bc5kp9UUuSrG+w+76bKkoD0z30OW39gZEWibLRdq 6gCllau3OGWb0bst58wa4s0BFax6lQM= X-Google-Smtp-Source: ABdhPJxhhlzbQHoLVXFhNi14NhI+haOVw2i1LSirQray9nV4L8GASwwdRmkzwbZcam5m1xHcTug1lx3xxjA= X-Received: from glider.muc.corp.google.com ([2a00:79e0:15:13:357e:2b9d:5b13:a652]) (user=glider job=sendgmr) by 2002:a05:600c:1c8d:: with SMTP id k13mr2669727wms.0.1639499029840; Tue, 14 Dec 2021 08:23:49 -0800 (PST) Date: Tue, 14 Dec 2021 17:20:50 +0100 In-Reply-To: <20211214162050.660953-1-glider@google.com> Message-Id: <20211214162050.660953-44-glider@google.com> Mime-Version: 1.0 References: <20211214162050.660953-1-glider@google.com> X-Mailer: git-send-email 2.34.1.173.g76aa8bc2d0-goog Subject: [PATCH 43/43] x86: kmsan: enable KMSAN builds for x86 From: Alexander Potapenko <glider@google.com> To: glider@google.com Cc: Alexander Viro <viro@zeniv.linux.org.uk>, Andrew Morton <akpm@linux-foundation.org>, Andrey Konovalov <andreyknvl@google.com>, Andy Lutomirski <luto@kernel.org>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Arnd Bergmann <arnd@arndb.de>, Borislav Petkov <bp@alien8.de>, Christoph Hellwig <hch@lst.de>, Christoph Lameter <cl@linux.com>, David Rientjes <rientjes@google.com>, Dmitry Vyukov <dvyukov@google.com>, Eric Dumazet <edumazet@google.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Herbert Xu <herbert@gondor.apana.org.au>, Ilya Leoshkevich <iii@linux.ibm.com>, Ingo Molnar <mingo@redhat.com>, Jens Axboe <axboe@kernel.dk>, Joonsoo Kim <iamjoonsoo.kim@lge.com>, Kees Cook <keescook@chromium.org>, Marco Elver <elver@google.com>, Matthew Wilcox <willy@infradead.org>, "Michael S. Tsirkin" <mst@redhat.com>, Pekka Enberg <penberg@kernel.org>, Peter Zijlstra <peterz@infradead.org>, Petr Mladek <pmladek@suse.com>, Steven Rostedt <rostedt@goodmis.org>, Thomas Gleixner <tglx@linutronix.de>, Vasily Gorbik <gor@linux.ibm.com>, Vegard Nossum <vegard.nossum@oracle.com>, Vlastimil Babka <vbabka@suse.cz>, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 2A399120008 X-Stat-Signature: fwwn7uynq18pc3i4kkngqz539bkpdtcx Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=krFHkJFR; spf=pass (imf29.hostedemail.com: domain of 3FcW4YQYKCJY6B834H6EE6B4.2ECB8DKN-CCAL02A.EH6@flex--glider.bounces.google.com designates 209.85.128.74 as permitted sender) smtp.mailfrom=3FcW4YQYKCJY6B834H6EE6B4.2ECB8DKN-CCAL02A.EH6@flex--glider.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com X-HE-Tag: 1639499030-999868 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 |
Add KernelMemorySanitizer infrastructure
|
expand
|
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 0dc77352bc3c9..b5740d0ab0eb9 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -165,6 +165,7 @@ config X86 select HAVE_ARCH_KASAN if X86_64 select HAVE_ARCH_KASAN_VMALLOC if X86_64 select HAVE_ARCH_KFENCE + select HAVE_ARCH_KMSAN if X86_64 select HAVE_ARCH_KGDB select HAVE_ARCH_MMAP_RND_BITS if MMU select HAVE_ARCH_MMAP_RND_COMPAT_BITS if MMU && COMPAT
Make KMSAN usable by adding the necessary Kconfig bits. Signed-off-by: Alexander Potapenko <glider@google.com> --- Link: https://linux-review.googlesource.com/id/I1d295ce8159ce15faa496d20089d953a919c125e --- arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+)