From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=-19.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL 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 D37B9C432C0 for ; Mon, 2 Dec 2019 13:30:28 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7D57520833 for ; Mon, 2 Dec 2019 13:30:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="PSo1oNET" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D57520833 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 162D06B0007; Mon, 2 Dec 2019 08:30:28 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1152C6B0008; Mon, 2 Dec 2019 08:30:28 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 028E76B000A; Mon, 2 Dec 2019 08:30:27 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0233.hostedemail.com [216.40.44.233]) by kanga.kvack.org (Postfix) with ESMTP id E1BF86B0007 for ; Mon, 2 Dec 2019 08:30:27 -0500 (EST) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id 8ABF9181AEF30 for ; Mon, 2 Dec 2019 13:30:27 +0000 (UTC) X-FDA: 76220285694.24.mark16_3e170756fc73f X-HE-Tag: mark16_3e170756fc73f X-Filterd-Recvd-Size: 5967 Received: from mail-oi1-f195.google.com (mail-oi1-f195.google.com [209.85.167.195]) by imf11.hostedemail.com (Postfix) with ESMTP for ; Mon, 2 Dec 2019 13:30:26 +0000 (UTC) Received: by mail-oi1-f195.google.com with SMTP id a124so8716648oii.13 for ; Mon, 02 Dec 2019 05:30:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dqx1piudYLc9RVsNlutpN6OVY7nduXqQFGpBLcJnAz8=; b=PSo1oNETyX8eqpUx+p3eCR/daPMhIV79pqQg1H1ybxbH553ZLexfYXBnpcpaV5LBlk Gvdsozj4BhXY03YbnBEWk1oZ+Bs57AjWw/17vkPLwBm1wMEaewRbJCzpUVoYcHxxrQ43 7Cz5B/hNoEeTjfCeCARwEVeVo+V0FsoSz9jWCQ0xkYLCda0TwU14EV28kI5JPZU3Srzj nZCekpCYl8VPq9/PIy8uXTqDpsaBK5rDdkBC96F0+ohDn7GNsjKGZM7xvB/emZlKyTmD 56IZR5ZGCdBKxpknj0ciV302ZsaxN/Gk1wkE0SzVi1nTN8rYnDybjxFws64a5eZw2+QQ mJvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dqx1piudYLc9RVsNlutpN6OVY7nduXqQFGpBLcJnAz8=; b=p+0TTHxSa8ZWUormFESOjkFsQng6lXT/gL0M2XLjBxmdGSafDpzmJo3leTeTcHiR4S 2XkTe6CBjTaF9LS5f4FXbT3OF4N5/0jYRhtoR6g1TmoaW8IlQlgBa4ASls2SHygBVPjH tOvqy1Z4YKbrirGJl3yqW4Ow28I9ZmJyd1TZ4CTLwEzriCENHY7a+ujNVunSr4wh7BZh OR5VzB42zkUhUWS9f9ppe/geSwpXgUBlQcUpGn3QBNpjBDMs8dwoJfwPdvt4DtKCf+qb CC7Oj2yu7TGma/QrGeD2cGOkNzx5QeI8l++OvFr2VjGQt1TW98HWcUOhiV4S7GAlaqGj I7Gw== X-Gm-Message-State: APjAAAVrN2zl238R9huOJAPnD5Kw3yfoyLZW5KlnjmQ2Fz9uDdTPaToC X83J6QKTvHsvTEu+wmSqzv6EvJR66X2kTivl62zq8Q== X-Google-Smtp-Source: APXvYqwiZe59yk9lRcLhw0HyHaLAPGKEeqIhZQAX6vU+SwKiW5FeD2qg3P7xXmBuc3r3B3+ksIjFuc5t4RxI5uBKcYQ= X-Received: by 2002:aca:bf06:: with SMTP id p6mr21114200oif.121.1575293425419; Mon, 02 Dec 2019 05:30:25 -0800 (PST) MIME-Version: 1.0 References: <20191122112621.204798-1-glider@google.com> <20191122112621.204798-18-glider@google.com> In-Reply-To: <20191122112621.204798-18-glider@google.com> From: Marco Elver Date: Mon, 2 Dec 2019 14:30:13 +0100 Message-ID: Subject: Re: [PATCH RFC v3 17/36] kmsan: x86: disable UNWINDER_ORC under KMSAN To: Alexander Potapenko Cc: Qian Cai , Christoph Hellwig , Herbert Xu , Harry Wentland , Vegard Nossum , Dmitry Vyukov , Linux Memory Management List , Al Viro , Andreas Dilger , Andrew Morton , Andrey Konovalov , Andrey Ryabinin , Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Christoph Hellwig , "Darrick J. Wong" , "David S. Miller" , Dmitry Torokhov , Eric Biggers , Eric Dumazet , Eric Van Hensbergen , Greg Kroah-Hartman , Ilya Leoshkevich , Ingo Molnar , Jason Wang , Jens Axboe , Marek Szyprowski , Mark Rutland , "Martin K. Petersen" , Martin Schwidefsky , Matthew Wilcox , "Michael S. Tsirkin" , Michal Simek , Petr Mladek , Randy Dunlap , Robin Murphy , Sergey Senozhatsky , Steven Rostedt , Takashi Iwai , "Theodore Ts'o" , Thomas Gleixner , Vasily Gorbik , Wolfram Sang 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: Archived-At: List-Archive: List-Post: On Fri, 22 Nov 2019 at 12:27, wrote: > > KMSAN doesn't currently support UNWINDER_ORC, causing the kernel to > freeze at boot time. > See http://github.com/google/kmsan/issues/48. The Github issues doesn't mention much else -- it might be useful for future people to elaborate why it doesn't work? If it is unclear why it doesn't work, then it's fine to mention this in commit message as well I suppose. > Signed-off-by: Alexander Potapenko > Cc: Qian Cai > Cc: Christoph Hellwig > Cc: Herbert Xu > Cc: Harry Wentland > Cc: Vegard Nossum > Cc: Dmitry Vyukov > Cc: linux-mm@kvack.org > > --- > This patch is part of "kmsan: Kconfig changes to disable options > incompatible with KMSAN", which was split into smaller pieces. > > Change-Id: I9cb6ebbaeb9a38e9e1d015c68ab77d40420a7ad0 > --- > arch/x86/Kconfig.debug | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug > index bf9cd83de777..db3cd6147829 100644 > --- a/arch/x86/Kconfig.debug > +++ b/arch/x86/Kconfig.debug > @@ -292,6 +292,9 @@ choice > config UNWINDER_ORC > bool "ORC unwinder" > depends on X86_64 > + # KMSAN doesn't support UNWINDER_ORC yet, > + # see https://github.com/google/kmsan/issues/48. > + depends on !KMSAN > select STACK_VALIDATION > ---help--- > This option enables the ORC (Oops Rewind Capability) unwinder for > -- > 2.24.0.432.g9d3f5f5b63-goog >