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=-13.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 75A53C5DF60 for ; Thu, 7 Nov 2019 18:44:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3A91021D6C for ; Thu, 7 Nov 2019 18:44:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="X+s4tLRe" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727237AbfKGSn7 (ORCPT ); Thu, 7 Nov 2019 13:43:59 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:39072 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726656AbfKGSn6 (ORCPT ); Thu, 7 Nov 2019 13:43:58 -0500 Received: by mail-ot1-f68.google.com with SMTP id e17so2918458otk.6 for ; Thu, 07 Nov 2019 10:43:57 -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=Np0FlikDqTmwL51OIp1+s+VGLrj6Eo2iSbS+rqBgcFU=; b=X+s4tLRet1xj+dqvHmXEfS/YHLe9+sdvUDznD6OlUWI1efIcn7AG/F2h+d/MAYLkzE RZAo2vYVy43hDiFbRXlMXoJJpsQgmQQStj+TuVAMQsuH8uyG1troWMTHxgRUkoaA2D0M lX78jV+zpKCFZNmj7pCPrLLYtNjxrJOdz0gg63KPn5E1sBi6CN2r3YbiZ/l0EebGtLvZ NtNYsP79rjcjCNmbUCeWEhAOfhSnRP/IZaWkcKtAJd6EriACLLGruAoJfWiVaoiu5qlN 6h+gGPib2+VjxvGXiD9ykfXsmY75IIvFAAhMpUzqeAR1f4jvFwGMm/A3rlvbZJ9CCx90 h7sg== 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=Np0FlikDqTmwL51OIp1+s+VGLrj6Eo2iSbS+rqBgcFU=; b=i+Yx0lhsshRH4p8dKjaVnqa6cxHjfP6JzghfAvIn3OL2cVB6aFNhmqDTPJwGGOZXUn JZrurr39J04Wx3xvXnS3IJfzBJpIhV6iwmrSbmhhwSee0h0lE/Ft5QD5ZlkVBroKbQEA 1jnDPCM9nZ6y+5z7kp2T+uO/OD8Qdf4A7J93C2pEQphLFfL8Gi+F0RHYW+uEP4S8kZxa hiGLXczv+suoFjvneQscbC3NJ2OSDLHcqHAZdmPfuXEwcXyE/8x9+KOM57QCB6icW7HO yYGylflVGEYuew0BlYWVICgj6gN6oB/u/J7LJ84Hyna3t6jy5wGNb0rcdl61NtNbKOBm 0jBQ== X-Gm-Message-State: APjAAAUpTTS6Z/GK0wIr8juY+7oB+U4MioR/9aEBfjJR6DcDqfd/er11 QIChXVRaSptdEdzWVoEcxmyL3aQfVVn0t5v+15wj3Q== X-Google-Smtp-Source: APXvYqwO3UnGuF7d4Y2gfzVJSb7LPWecfAiiK/QIM9BoHDNRh9E7Srx5p/4cCr/YwL4Jvfd1ibRj9LkTbNN2VnuQejM= X-Received: by 2002:a05:6830:1e84:: with SMTP id n4mr4371298otr.233.1573152236918; Thu, 07 Nov 2019 10:43:56 -0800 (PST) MIME-Version: 1.0 References: <20191104142745.14722-2-elver@google.com> <201911070445.vRUSVUAX%lkp@intel.com> In-Reply-To: <201911070445.vRUSVUAX%lkp@intel.com> From: Marco Elver Date: Thu, 7 Nov 2019 19:43:45 +0100 Message-ID: Subject: Re: [PATCH v3 1/9] kcsan: Add Kernel Concurrency Sanitizer infrastructure To: kbuild test robot Cc: kbuild-all@lists.01.org, LKMM Maintainers -- Akira Yokosawa , Alan Stern , Alexander Potapenko , Andrea Parri , Andrey Konovalov , Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Boqun Feng , Borislav Petkov , Daniel Axtens , Daniel Lustig , Dave Hansen , David Howells , Dmitry Vyukov , "H. Peter Anvin" , Ingo Molnar , Jade Alglave , Joel Fernandes , Jonathan Corbet , Josh Poimboeuf , Luc Maranget , Mark Rutland , Nicholas Piggin , "Paul E. McKenney" , Peter Zijlstra , Thomas Gleixner , Will Deacon , kasan-dev , linux-arch , "open list:DOCUMENTATION" , linux-efi@vger.kernel.org, Linux Kbuild mailing list , LKML , Linux Memory Management List , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 6 Nov 2019 at 21:35, kbuild test robot wrote: > > Hi Marco, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v5.4-rc6] > [cannot apply to next-20191106] > [if your patch is applied to the wrong git tree, please drop us a note to help > improve the system. BTW, we also suggest to use '--base' option to specify the > base tree in git format-patch, please see https://stackoverflow.com/a/37406982] > > url: https://github.com/0day-ci/linux/commits/Marco-Elver/Add-Kernel-Concurrency-Sanitizer-KCSAN/20191105-002542 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a99d8080aaf358d5d23581244e5da23b35e340b9 > config: x86_64-randconfig-a004-201944 (attached as .config) > compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2 > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot Thanks! Will send v4 with a fix. > All warnings (new ones prefixed by >>): > > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > fs/afs/dynroot.c: In function 'afs_dynroot_lookup': > fs/afs/dynroot.c:117:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] > ret = lookup_one_len(name, dentry->d_parent, len); > ^ > fs/afs/dynroot.c:91:6: note: 'len' was declared here > int len; > ^ > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > 7 real 2 user 5 sys 107.26% cpu make modules_prepare > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > 8 real 24 user 10 sys 405.87% cpu make prepare > > vim +/__has_attribute +148 include/linux/compiler-gcc.h > > 147 > > 148 #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > 149 #define __no_sanitize_thread \ > 150 __attribute__((__noinline__)) __attribute__((no_sanitize_thread)) > 151 #else > 152 #define __no_sanitize_thread > 153 #endif > 154 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation > > -- > You received this message because you are subscribed to the Google Groups "kasan-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/201911070445.vRUSVUAX%25lkp%40intel.com. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Elver Subject: Re: [PATCH v3 1/9] kcsan: Add Kernel Concurrency Sanitizer infrastructure Date: Thu, 7 Nov 2019 19:43:45 +0100 Message-ID: References: <20191104142745.14722-2-elver@google.com> <201911070445.vRUSVUAX%lkp@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <201911070445.vRUSVUAX%lkp@intel.com> Sender: linux-kernel-owner@vger.kernel.org To: kbuild test robot Cc: kbuild-all@lists.01.org, LKMM Maintainers -- Akira Yokosawa , Alan Stern , Alexander Potapenko , Andrea Parri , Andrey Konovalov , Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Boqun Feng , Borislav Petkov , Daniel Axtens , Daniel Lustig , Dave Hansen , David Howells , Dmitry Vyukov , "H. Peter Anvin" , Ingo Molnar , Jade Alglave , Joel Fernandes , Jonath List-Id: linux-arch.vger.kernel.org On Wed, 6 Nov 2019 at 21:35, kbuild test robot wrote: > > Hi Marco, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v5.4-rc6] > [cannot apply to next-20191106] > [if your patch is applied to the wrong git tree, please drop us a note to help > improve the system. BTW, we also suggest to use '--base' option to specify the > base tree in git format-patch, please see https://stackoverflow.com/a/37406982] > > url: https://github.com/0day-ci/linux/commits/Marco-Elver/Add-Kernel-Concurrency-Sanitizer-KCSAN/20191105-002542 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a99d8080aaf358d5d23581244e5da23b35e340b9 > config: x86_64-randconfig-a004-201944 (attached as .config) > compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2 > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot Thanks! Will send v4 with a fix. > All warnings (new ones prefixed by >>): > > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > fs/afs/dynroot.c: In function 'afs_dynroot_lookup': > fs/afs/dynroot.c:117:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] > ret = lookup_one_len(name, dentry->d_parent, len); > ^ > fs/afs/dynroot.c:91:6: note: 'len' was declared here > int len; > ^ > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > 7 real 2 user 5 sys 107.26% cpu make modules_prepare > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > 8 real 24 user 10 sys 405.87% cpu make prepare > > vim +/__has_attribute +148 include/linux/compiler-gcc.h > > 147 > > 148 #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > 149 #define __no_sanitize_thread \ > 150 __attribute__((__noinline__)) __attribute__((no_sanitize_thread)) > 151 #else > 152 #define __no_sanitize_thread > 153 #endif > 154 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation > > -- > You received this message because you are subscribed to the Google Groups "kasan-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/201911070445.vRUSVUAX%25lkp%40intel.com. 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=-13.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 0C6CEC43331 for ; Thu, 7 Nov 2019 18:44:00 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AC719222C2 for ; Thu, 7 Nov 2019 18:43:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="X+s4tLRe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AC719222C2 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 404C56B0003; Thu, 7 Nov 2019 13:43:59 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 38CDC6B0005; Thu, 7 Nov 2019 13:43:59 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 254736B0007; Thu, 7 Nov 2019 13:43:59 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0098.hostedemail.com [216.40.44.98]) by kanga.kvack.org (Postfix) with ESMTP id 092C76B0003 for ; Thu, 7 Nov 2019 13:43:59 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id 97F1C45CD for ; Thu, 7 Nov 2019 18:43:58 +0000 (UTC) X-FDA: 76130355756.23.cub86_22a59ed393b3c X-HE-Tag: cub86_22a59ed393b3c X-Filterd-Recvd-Size: 10775 Received: from mail-ot1-f66.google.com (mail-ot1-f66.google.com [209.85.210.66]) by imf06.hostedemail.com (Postfix) with ESMTP for ; Thu, 7 Nov 2019 18:43:57 +0000 (UTC) Received: by mail-ot1-f66.google.com with SMTP id z6so2935405otb.2 for ; Thu, 07 Nov 2019 10:43:58 -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=Np0FlikDqTmwL51OIp1+s+VGLrj6Eo2iSbS+rqBgcFU=; b=X+s4tLRet1xj+dqvHmXEfS/YHLe9+sdvUDznD6OlUWI1efIcn7AG/F2h+d/MAYLkzE RZAo2vYVy43hDiFbRXlMXoJJpsQgmQQStj+TuVAMQsuH8uyG1troWMTHxgRUkoaA2D0M lX78jV+zpKCFZNmj7pCPrLLYtNjxrJOdz0gg63KPn5E1sBi6CN2r3YbiZ/l0EebGtLvZ NtNYsP79rjcjCNmbUCeWEhAOfhSnRP/IZaWkcKtAJd6EriACLLGruAoJfWiVaoiu5qlN 6h+gGPib2+VjxvGXiD9ykfXsmY75IIvFAAhMpUzqeAR1f4jvFwGMm/A3rlvbZJ9CCx90 h7sg== 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=Np0FlikDqTmwL51OIp1+s+VGLrj6Eo2iSbS+rqBgcFU=; b=bQcTUE3OCmxvqw6Rb/3bZRoz6XPtpY+vWV3kVnEbcdjzFzSQUJPD6UZmJqyHHeMfu3 F+y+aMHPQO6KPlNnaYlPJDD/hiU4Q2FEUayFTDQWQBDdwnS2c+mVIKowEK7KzSoAQLT/ hEssNTHAH5Wy8nc7c+tiDypQWIZiTGohT228t8PFZ3f+JLQ95+HAk+Qxfp5HA7SRHBAU e4VRshS249p88D4vvK/ELcmDvjFpLr1xMmU0tgOSebD85hcOR60GBW3S5/DK+Ej0Ax29 FPK60akUn3vTDEsohK4rVHmnwD2xZClTwiSReTHmBjhYJoK5WkHI8zNfxd5Wn89OuzY6 JImg== X-Gm-Message-State: APjAAAUksEP5h7XVAA8aTUucYvYtWsJAUf/iJZz/iQyuVQ176X8c5OYL YQwcrfICGDqG9QZ2IIYkffyejoIczVsmzvOIHx9g6Q== X-Google-Smtp-Source: APXvYqwO3UnGuF7d4Y2gfzVJSb7LPWecfAiiK/QIM9BoHDNRh9E7Srx5p/4cCr/YwL4Jvfd1ibRj9LkTbNN2VnuQejM= X-Received: by 2002:a05:6830:1e84:: with SMTP id n4mr4371298otr.233.1573152236918; Thu, 07 Nov 2019 10:43:56 -0800 (PST) MIME-Version: 1.0 References: <20191104142745.14722-2-elver@google.com> <201911070445.vRUSVUAX%lkp@intel.com> In-Reply-To: <201911070445.vRUSVUAX%lkp@intel.com> From: Marco Elver Date: Thu, 7 Nov 2019 19:43:45 +0100 Message-ID: Subject: Re: [PATCH v3 1/9] kcsan: Add Kernel Concurrency Sanitizer infrastructure To: kbuild test robot Cc: kbuild-all@lists.01.org, LKMM Maintainers -- Akira Yokosawa , Alan Stern , Alexander Potapenko , Andrea Parri , Andrey Konovalov , Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Boqun Feng , Borislav Petkov , Daniel Axtens , Daniel Lustig , Dave Hansen , David Howells , Dmitry Vyukov , "H. Peter Anvin" , Ingo Molnar , Jade Alglave , Joel Fernandes , Jonathan Corbet , Josh Poimboeuf , Luc Maranget , Mark Rutland , Nicholas Piggin , "Paul E. McKenney" , Peter Zijlstra , Thomas Gleixner , Will Deacon , kasan-dev , linux-arch , "open list:DOCUMENTATION" , linux-efi@vger.kernel.org, Linux Kbuild mailing list , LKML , Linux Memory Management List , "the arch/x86 maintainers" 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: On Wed, 6 Nov 2019 at 21:35, kbuild test robot wrote: > > Hi Marco, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v5.4-rc6] > [cannot apply to next-20191106] > [if your patch is applied to the wrong git tree, please drop us a note to help > improve the system. BTW, we also suggest to use '--base' option to specify the > base tree in git format-patch, please see https://stackoverflow.com/a/37406982] > > url: https://github.com/0day-ci/linux/commits/Marco-Elver/Add-Kernel-Concurrency-Sanitizer-KCSAN/20191105-002542 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a99d8080aaf358d5d23581244e5da23b35e340b9 > config: x86_64-randconfig-a004-201944 (attached as .config) > compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2 > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot Thanks! Will send v4 with a fix. > All warnings (new ones prefixed by >>): > > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > fs/afs/dynroot.c: In function 'afs_dynroot_lookup': > fs/afs/dynroot.c:117:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] > ret = lookup_one_len(name, dentry->d_parent, len); > ^ > fs/afs/dynroot.c:91:6: note: 'len' was declared here > int len; > ^ > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > 7 real 2 user 5 sys 107.26% cpu make modules_prepare > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > ^ > 8 real 24 user 10 sys 405.87% cpu make prepare > > vim +/__has_attribute +148 include/linux/compiler-gcc.h > > 147 > > 148 #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__) > 149 #define __no_sanitize_thread \ > 150 __attribute__((__noinline__)) __attribute__((no_sanitize_thread)) > 151 #else > 152 #define __no_sanitize_thread > 153 #endif > 154 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation > > -- > You received this message because you are subscribed to the Google Groups "kasan-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/201911070445.vRUSVUAX%25lkp%40intel.com. From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6510336245818629213==" MIME-Version: 1.0 From: Marco Elver To: kbuild-all@lists.01.org Subject: Re: [PATCH v3 1/9] kcsan: Add Kernel Concurrency Sanitizer infrastructure Date: Thu, 07 Nov 2019 19:43:45 +0100 Message-ID: In-Reply-To: <201911070445.vRUSVUAX%lkp@intel.com> List-Id: --===============6510336245818629213== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Wed, 6 Nov 2019 at 21:35, kbuild test robot wrote: > > Hi Marco, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v5.4-rc6] > [cannot apply to next-20191106] > [if your patch is applied to the wrong git tree, please drop us a note to= help > improve the system. BTW, we also suggest to use '--base' option to specif= y the > base tree in git format-patch, please see https://stackoverflow.com/a/374= 06982] > > url: https://github.com/0day-ci/linux/commits/Marco-Elver/Add-Kernel-C= oncurrency-Sanitizer-KCSAN/20191105-002542 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t a99d8080aaf358d5d23581244e5da23b35e340b9 > config: x86_64-randconfig-a004-201944 (attached as .config) > compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2 > reproduce: > # save the attached .config to linux build tree > make ARCH=3Dx86_64 > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot Thanks! Will send v4 with a fix. > All warnings (new ones prefixed by >>): > > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attrib= ute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has= _attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THR= EAD__) > ^ > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attrib= ute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has= _attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THR= EAD__) > ^ > fs/afs/dynroot.c: In function 'afs_dynroot_lookup': > fs/afs/dynroot.c:117:6: warning: 'len' may be used uninitialized in th= is function [-Wmaybe-uninitialized] > ret =3D lookup_one_len(name, dentry->d_parent, len); > ^ > fs/afs/dynroot.c:91:6: note: 'len' was declared here > int len; > ^ > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attrib= ute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has= _attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THR= EAD__) > ^ > 7 real 2 user 5 sys 107.26% cpu make modules_prepare > -- > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attrib= ute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has= _attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THR= EAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attrib= ute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has= _attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THR= EAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attrib= ute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has= _attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THR= EAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attrib= ute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has= _attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THR= EAD__) > ^ > In file included from include/linux/compiler_types.h:59:0, > from :0: > >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attrib= ute___no_sanitize_thread__" is not defined [-Wundef] > # define __has_attribute(x) __GCC4_has_attribute_##x > ^ > >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has= _attribute' > #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THR= EAD__) > ^ > 8 real 24 user 10 sys 405.87% cpu make prepare > > vim +/__has_attribute +148 include/linux/compiler-gcc.h > > 147 > > 148 #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE= _THREAD__) > 149 #define __no_sanitize_thread = \ > 150 __attribute__((__noinline__)) __attribute__((no_sanitize_= thread)) > 151 #else > 152 #define __no_sanitize_thread > 153 #endif > 154 > > --- > 0-DAY kernel test infrastructure Open Source Technology C= enter > https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corp= oration > > -- > You received this message because you are subscribed to the Google Groups= "kasan-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to kasan-dev+unsubscribe(a)googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgi= d/kasan-dev/201911070445.vRUSVUAX%25lkp%40intel.com. --===============6510336245818629213==--