Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10435259rwl; Mon, 2 Jan 2023 02:33:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXsqwbdWgx5c+rVrHM/moB1QWs/sKQo8QKjXyZIcNz7LT4h6diKvxNT6enFtq7Fh3Vu+b4jE X-Received: by 2002:a62:1dc1:0:b0:582:16a6:82d1 with SMTP id d184-20020a621dc1000000b0058216a682d1mr9018861pfd.30.1672655618763; Mon, 02 Jan 2023 02:33:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672655618; cv=none; d=google.com; s=arc-20160816; b=0K2sL5X0siJKLz1R55wTUe6DlGS8Tqw0tIAmiC5+rnO/iTIfWAoZp3LBe7giQHl2bH VwV79UlLrSBo8aTk/lsB/+zDkodgQAJbkEnrWvwT/8a3V51Nyt/P3SM9x+AZg8GhWp0V jji9n6SOv52LBCLcfEDLpMuqiOE97fzmD2pEqO9ga4UF0kOKYkzeQhal1fRALtQuWJgq yx/9Gj9D1CYl4NGWkWbWyb5uiIr/7mIW38BnmYMvsnBAaR/oHG/kbV9nq4aMhaY+RjFk 2zyopMnfNlvrSX8WPIPPkOked/AKR45949vfOTckjEuzxzvVDmy/wNnuq/VQ7FLCuAM9 eZKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=8ruN1yQRxsJ2H59E/8nRfHXr5P9ik8d8Ya3T8OD5cP4=; b=AQo4mR/kwvliDPwwQMLdL4FbCPjxFHKF60i07DCats9oKzkwNlEGwTsDEKjVdlx4nP xmV+1IvA/gAU5i3f1tee5+rMCyRZCMhLUfSnhiF92OyrxyN5i2A+UJZD2D5S4vKq9t6j z7CHFMAH129Tbmta8B8TklL3aLb3C/MOmg+HhWWfjIzJRb/lBQmU/SaqkMLOulBS6G6O Y2pxFmPkTHZj4ktjaai38kUXDUG34LYHShJVFDudYVW6/JdA4HDV4BV9jg8mKEpFLu0f /lBBZUkgmHsyj1Y0+SCblCr9xt0h3fMtC9QCyot7OykUR8K7qTp6+10v39IShQO2TIn6 Z5ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=NCpqguz+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y4-20020a056a00180400b0056cb4662b9csi30512891pfa.16.2023.01.02.02.33.30; Mon, 02 Jan 2023 02:33:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=NCpqguz+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232132AbjABK2L (ORCPT + 61 others); Mon, 2 Jan 2023 05:28:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231180AbjABK2I (ORCPT ); Mon, 2 Jan 2023 05:28:08 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C579110E for ; Mon, 2 Jan 2023 02:28:06 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id k22-20020a05600c1c9600b003d1ee3a6289so20292639wms.2 for ; Mon, 02 Jan 2023 02:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=8ruN1yQRxsJ2H59E/8nRfHXr5P9ik8d8Ya3T8OD5cP4=; b=NCpqguz+0+y298G1i+bRdhu158D23TS0/cFqbuEH9uaQ0xUap1ZpBLZQ9gTqcfUNAE 6FoOcm05bcdewGnsvzm0wI856YwCuLFKF/0q6rNRH0jUUBlaRqcBVLgkc2Q5/8/SHwjj K0Ivu9ZbwVGPsZTZJsl+7ennV5+20L1y2NpbPbDwfkMJ0iIHNsKx44FPJfBGlol1ZhGc OEv0DKWdxu1TzgksH1BdqoTr0wa6VWSaSh1hfvOjM/2bukI+YKACWxuewYYS8Yo/hh2s 02KtK1YiNp5WZeWS+8rCsVN86tyXOvsxrXgDJlJ98q7nstUXJ1cfombZJuH5xIBMH7L0 IqZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8ruN1yQRxsJ2H59E/8nRfHXr5P9ik8d8Ya3T8OD5cP4=; b=djPlzY4Vb30/OP70NTGY8RGLXutwOPzB26HWKtok4WfI8Y1NXzE9NKZlZSUc3sKifO r2CfvrfJZB7RQWBY74ISaZ2e42KYKVhri0542R16zr9n0fZBtSpWgyvl0hirMaOQ+3c/ WapvFV6sBAOnzJfOZVVihtCSzxf6Od0fK47A9MK4EpTYwFT2LPXw4pIeYgJTUVM9x0wi 7t6uFGI90L7YHPYJcmwZN3sUeIaI1qa01pwLB4ycm8gb2HSpELBR6/Au4wWS3bP0pW8O k6w51veqG4pjl842X0Zh24kiWZOYo9TvCW55romKMZ8OeY0P166z+RIscf47MwQfcnLB 0VVA== X-Gm-Message-State: AFqh2kqtvPs5vscK7EeoErvvWtTLWblaOnreK2nelrQV33PLHQKJK2jf W+R84hJyXFfFYMOxn5VWvhdkow== X-Received: by 2002:a05:600c:12c6:b0:3cf:6926:2abb with SMTP id v6-20020a05600c12c600b003cf69262abbmr30868798wmd.7.1672655284796; Mon, 02 Jan 2023 02:28:04 -0800 (PST) Received: from elver.google.com ([2a00:79e0:9c:201:6950:757d:cd6e:92aa]) by smtp.gmail.com with ESMTPSA id l13-20020a05600c2ccd00b003c70191f267sm45465878wmc.39.2023.01.02.02.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jan 2023 02:28:04 -0800 (PST) Date: Mon, 2 Jan 2023 11:27:57 +0100 From: Marco Elver To: Vlastimil Babka Cc: kernel test robot , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Christoph Lameter , Alexander Potapenko , Dmitry Vyukov , kasan-dev Subject: Re: mm/kmsan/instrumentation.c:41:26: warning: no previous prototype for function '__msan_metadata_ptr_for_load_n' Message-ID: References: <202301020356.dFruA4I5-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.7 (2022-08-07) X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 02, 2023 at 11:01AM +0100, Vlastimil Babka wrote: > +CC kmsan folks. > > I think it's another side-effect where CONFIG_SLUB_TINY excludes KASAN which > in turn allows KMSAN to be enabled and uncover a pre-existing issue. > > On 1/1/23 20:10, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > head: e4cf7c25bae5c3b5089a3c23a897f450149caef2 > > commit: e240e53ae0abb0896e0f399bdfef41c69cec3123 mm, slub: add CONFIG_SLUB_TINY > > date: 5 weeks ago > > config: x86_64-randconfig-a013-20230102 > > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > > reproduce (this is a W=1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e240e53ae0abb0896e0f399bdfef41c69cec3123 > > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > git fetch --no-tags linus master > > git checkout e240e53ae0abb0896e0f399bdfef41c69cec3123 > > # save the config file > > mkdir build_dir && cp config build_dir/.config > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash mm/kmsan/ > > > > If you fix the issue, kindly add following tag where applicable > > | Reported-by: kernel test robot > > > > All warnings (new ones prefixed by >>): > > > >>> mm/kmsan/instrumentation.c:41:26: warning: no previous prototype for function '__msan_metadata_ptr_for_load_n' [-Wmissing-prototypes] > > struct shadow_origin_ptr __msan_metadata_ptr_for_load_n(void *addr, Probably needs a fix similar to: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9dd979bae4cf76558ff816abe83283308fb1ae8c