Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp777495pxb; Thu, 31 Mar 2022 17:51:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzS7UrEFD4FUi6RIx5h2cYxvCoal/6wW0N7l5k3/sIq+L0mrIdf2tazGy5Hq6X9c0oCPIFr X-Received: by 2002:a17:907:6092:b0:6db:ab31:96a2 with SMTP id ht18-20020a170907609200b006dbab3196a2mr6931716ejc.361.1648774282648; Thu, 31 Mar 2022 17:51:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648774282; cv=none; d=google.com; s=arc-20160816; b=hlVf70v6kQMA8CwpKsyu1LZAAFxZ1pfpdkpzCYTHOF2t+hLeXt3hLgB0xIKmlWPbYg /75eciyiBrAsZ37wXVZJfhtyIzHGSj4778CCTLdMI6VxplJTtNWSX9AKqB8nrVBpR5U8 OrA/k4dZ/8j3dp0mzaIi+LMRLFmiBxFRsHFNxwCYAceOYCuwolrv7+PW06u3da6OHh6q eNzAw12djr/NwHjU96sPPfs2oP6zAKcoK9Y29vsIYtO3lOzPYkkvQG6EDXfN6mMpSSFl sG5cIdesSXQzK86e31pYkiwDT9fo36FIO+AY9fj4qZ0nGz9NvM41SrYVLuTjIrE8zkMY F7uw== 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=l31Hxrz+GefO5ZCXa+HXlJdscJnzoOLJlS+tHstUTCs=; b=t8YYg6FEuh8ohxc1F/acxlCzVfvZiRrL5L6rEO0Ejqv7vwQ3I+BUgcMLuvjG/f5G5I c7YgSs0UBwkqEVAo9HpxHEbwL/aBQVwrplERZwdldYZ/VHuxJLKtOQt5KoImm89smb52 zU6B4vqicgiFOzBeArUK46SYz8r6Pjk+ZC99jYh6OrKMbqDUMTSdw9VagDCay4SW8vTI dHq7+uFkovcftgdB4EkvHsVcwhaoq5C3DC2+moA9RkW4EQWQ0Wc/Wslo89yTmivQ9BrY eJVZvwb3JlbK7b521zfyy9IG7xrZBHsvKgXI6OnGEa6HYV3s+2vDPwRmrt3jMUfohwb5 Xm1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=e8RKvLae; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k9-20020a17090666c900b006df87d6083asi642756ejp.376.2022.03.31.17.50.57; Thu, 31 Mar 2022 17:51:22 -0700 (PDT) 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=@intel.com header.s=Intel header.b=e8RKvLae; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234269AbiCaJrt (ORCPT + 99 others); Thu, 31 Mar 2022 05:47:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234270AbiCaJrr (ORCPT ); Thu, 31 Mar 2022 05:47:47 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 264843E5F2 for ; Thu, 31 Mar 2022 02:45:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648719960; x=1680255960; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=nzqSovEaB1+9yVRKn8HXLbqr/ZdlhWVFtpWNH7LPBF4=; b=e8RKvLaeQO7/VmpTDNyUZxB64Z6kYda4hqogxKSAysAjI/bIxMTtvYAW orZnefymLeeuCxS09cFehpsVNQGXlYxxYRnI8o3bZEmLPJsOtHWOB4vB2 yatvaPtIVL20i+Dtktzg9YVtKmVM9881QK7DLxIG83lglGI3g5vKOneLI daS1TSNKD5GtZw/4al+HmCiCBqNoL7DBWoufPcaEc3m2SBzxAnSCRIBJ6 PNQRgJBmJAaGisfSdl8EiHvPOEU+GfZi5QSqhCgwRFXQpfB2kCREl07JN Hyhp5Ht06xOCE24ZszTg3Q6el5s/riKlUaEnByf3UMBRYRRwutJBX0Svi g==; X-IronPort-AV: E=McAfee;i="6200,9189,10302"; a="259760270" X-IronPort-AV: E=Sophos;i="5.90,224,1643702400"; d="scan'208";a="259760270" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2022 02:45:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,225,1643702400"; d="scan'208";a="503675581" Received: from lkp-server02.sh.intel.com (HELO 3231c491b0e2) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 31 Mar 2022 02:45:56 -0700 Received: from kbuild by 3231c491b0e2 with local (Exim 4.95) (envelope-from ) id 1nZrNL-00008e-He; Thu, 31 Mar 2022 09:45:55 +0000 Date: Thu, 31 Mar 2022 17:45:05 +0800 From: kernel test robot To: Alistair Francis , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com Cc: kbuild-all@lists.01.org, atishp@rivosinc.com, anup@brainfault.org, guoren@kernel.org, alistair23@gmail.com, linux-kernel@vger.kernel.org, Alistair Francis Subject: Re: [PATCH v3] riscv: Ensure only ASIDLEN is used for sfence.vma Message-ID: <202203311731.xi8xw0gy-lkp@intel.com> References: <20220331055906.3552337-1-alistair.francis@opensource.wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220331055906.3552337-1-alistair.francis@opensource.wdc.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Hi Alistair, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.17 next-20220331] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Alistair-Francis/riscv-Ensure-only-ASIDLEN-is-used-for-sfence-vma/20220331-140116 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 787af64d05cd528aac9ad16752d11bb1c6061bb9 config: riscv-nommu_k210_defconfig (https://download.01.org/0day-ci/archive/20220331/202203311731.xi8xw0gy-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 11.2.0 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://github.com/intel-lab-lkp/linux/commit/162147030f410152d028af446a7383e3c9410f55 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Alistair-Francis/riscv-Ensure-only-ASIDLEN-is-used-for-sfence-vma/20220331-140116 git checkout 162147030f410152d028af446a7383e3c9410f55 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/mm/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/riscv/mm/context.c: In function 'get_mm_asid': >> arch/riscv/mm/context.c:307:45: error: 'mm_context_t' has no member named 'id' 307 | return atomic_long_read(&mm->context.id) & asid_mask; | ^ >> arch/riscv/mm/context.c:307:52: error: 'asid_mask' undeclared (first use in this function); did you mean 'pid_task'? 307 | return atomic_long_read(&mm->context.id) & asid_mask; | ^~~~~~~~~ | pid_task arch/riscv/mm/context.c:307:52: note: each undeclared identifier is reported only once for each function it appears in arch/riscv/mm/context.c:308:1: error: control reaches end of non-void function [-Werror=return-type] 308 | } | ^ cc1: some warnings being treated as errors vim +307 arch/riscv/mm/context.c 304 305 unsigned long get_mm_asid(struct mm_struct *mm) 306 { > 307 return atomic_long_read(&mm->context.id) & asid_mask; 308 } 309 -- 0-DAY CI Kernel Test Service https://01.org/lkp