Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6438187rwr; Mon, 1 May 2023 23:52:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QP7fdSzRS4sPiSlRD5y5OuQfJEDUHijd6yFDH/DoZ66fXoGVw46s4ebcsMXuZD5TZYB3n X-Received: by 2002:a05:6a00:2ea6:b0:63f:24f1:adac with SMTP id fd38-20020a056a002ea600b0063f24f1adacmr25437135pfb.25.1683010338539; Mon, 01 May 2023 23:52:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683010338; cv=none; d=google.com; s=arc-20160816; b=CW4Y1PNenwioraOU06AalDj2u1xznLm9q0FPisfShKkmJfjCl95RBFmGHkZ2EedGLJ PufwnLnSHeqh94XsQH04/qLSORbUncEITlUgMv0p53+cFLQo+7tSsFDenMbfjSEnjJna oIDKDxpUVRsQ7cLy8tyu8OuZpyHZtd4zVjGrHL6T938+iQPfkrGOhEbprLJQARufAegG /aRKk6JFf2Tq0DXyhXKpmhZa0EgN09+bkwizJEGisSNkdH0t7XqcSIshyRyVCIR/GWL1 E7ngyBnHw7mShkzPWeA6k1TpCA24NiSUtVCSrklXzAQjG9YOmjiBxcYX1NLmOoy1tE7l ppJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=3zv9WHxN8LG2dUasddl/7D2WfVWSGocPo5OXylwMBxg=; b=WzwMOQqloLu6xdbF6IYhTRciHTaGmgv+gP/VJ3U5V5grHa6LMjNzIvjaKP+cZpLrek Ed7kghvMO208V+WQrXCWL2yOZ2vr2thZvP2ZH62XYsV1O3Q6QsiNim11q586gAtai3a8 7WUecdDbdXzakgjhWSqbgBp8qTXgZ7xh6MRC73kgBmnmhLTk+NsFtmUsuTn1mUShYXbw NmlIiesKoxq8uxPyJ09tYoxuqCqkiVXmt6wNbdRyeY+G6Lh5qA8DpjqVfkUx8BZh5uCP XN1mKy6QXztPWU/3GnorOmGseqdNw+QZAHIsITGzGg3U3vE4tyD4zE01RKn7DdIsThhI 9Lcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=V7K3XL+6; 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 o67-20020a634146000000b0051f32c847a7si28618277pga.449.2023.05.01.23.52.04; Mon, 01 May 2023 23:52:18 -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=V7K3XL+6; 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 S233629AbjEBGud (ORCPT + 99 others); Tue, 2 May 2023 02:50:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233648AbjEBGuY (ORCPT ); Tue, 2 May 2023 02:50:24 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBD0E1FDE for ; Mon, 1 May 2023 23:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683010217; x=1714546217; h=date:from:to:cc:subject:message-id:mime-version; bh=ztAK8ZWHCZIgy7zFVBRCxIKxEVTa7UuYRJ6a2knQErg=; b=V7K3XL+6/ml5yUIXYeW+1W9sX6SAU2BPjmgav1xlbLoKlLmfApu1B84Y iV5Atxs/U8pc5BFc6mWeWNVPtLT2VGQLeY4NPs51YOGnK/xsxv+qqqgJc lICzRf2XIB1/C41dVJaNL4WO8bVFRhtA1eRHKb54O5nTsZJfwBwxsaq4i tf4uMJVoZuWLaDO7CmYoh9LQFWDHVO8jrD1Cvx4KodQS7wWmiUb59VxXI fwWCWqclbNHj8JO9aZh3OzX6F6ESwgysGJmsTCQLxA90i/0d4w+2+4m+L FtoSg0FhW0vhM63efNiltOkzZHSrUgz0iycd601AndfSe56Z4vnVqYHKH g==; X-IronPort-AV: E=McAfee;i="6600,9927,10697"; a="411456298" X-IronPort-AV: E=Sophos;i="5.99,243,1677571200"; d="scan'208";a="411456298" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2023 23:50:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10697"; a="765647735" X-IronPort-AV: E=Sophos;i="5.99,243,1677571200"; d="scan'208";a="765647735" Received: from lkp-server01.sh.intel.com (HELO e3434d64424d) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 01 May 2023 23:50:15 -0700 Received: from kbuild by e3434d64424d with local (Exim 4.96) (envelope-from ) id 1ptjq2-0000tU-11; Tue, 02 May 2023 06:50:14 +0000 Date: Tue, 2 May 2023 14:49:14 +0800 From: kernel test robot To: Evan Green Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Palmer Dabbelt , Heiko Stuebner , Conor Dooley , Paul Walmsley Subject: arch/riscv/kernel/cpufeature.c:34:1: sparse: sparse: symbol '__pcpu_scope_misaligned_access_speed' was not declared. Should it be static? Message-ID: <202305021414.EuPdM9kv-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 865fdb08197e657c59e74a35fa32362b12397f58 commit: 62a31d6e38bd0faef7c956b358d651f7bdc4ae0c RISC-V: hwprobe: Support probing of misaligned access performance date: 13 days ago config: riscv-randconfig-s052-20230430 (https://download.01.org/0day-ci/archive/20230502/202305021414.EuPdM9kv-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=62a31d6e38bd0faef7c956b358d651f7bdc4ae0c git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 62a31d6e38bd0faef7c956b358d651f7bdc4ae0c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305021414.EuPdM9kv-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) WARNING: invalid argument to '-march': '_zihintpause' >> arch/riscv/kernel/cpufeature.c:34:1: sparse: sparse: symbol '__pcpu_scope_misaligned_access_speed' was not declared. Should it be static? vim +/__pcpu_scope_misaligned_access_speed +34 arch/riscv/kernel/cpufeature.c 30 31 /** 32 * riscv_isa_extension_base() - Get base extension word 33 * > 34 * @isa_bitmap: ISA bitmap to use 35 * Return: base extension word as unsigned long value 36 * 37 * NOTE: If isa_bitmap is NULL then Host ISA bitmap will be used. 38 */ 39 unsigned long riscv_isa_extension_base(const unsigned long *isa_bitmap) 40 { 41 if (!isa_bitmap) 42 return riscv_isa[0]; 43 return isa_bitmap[0]; 44 } 45 EXPORT_SYMBOL_GPL(riscv_isa_extension_base); 46 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests