Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp809765iof; Mon, 6 Jun 2022 12:56:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQ7ZqLYEKm7YsLj87LixfCxpFbyvnd2wlwXO9ZqTMvMylvQ41bg2FgqtoajQ4a4jiN8TsU X-Received: by 2002:aa7:854e:0:b0:51c:e1f:3da9 with SMTP id y14-20020aa7854e000000b0051c0e1f3da9mr9055894pfn.61.1654545376630; Mon, 06 Jun 2022 12:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654545376; cv=none; d=google.com; s=arc-20160816; b=sJ0pXPdh7JhIVoltg38b7sEtInvDFKpQSRh1mSUTodkk7FauYZzJ7lpDS+NRGOHFhy 1aRezUAgOcnpzBJyVpbazmPz8wvWN4MD/MEtAlh0tShk+qD71RqvU6C56I5sMcAOBrFh I329Q0WP8TpqYFjetlSlXQNqia8UJgqiAAtHF4fAXg6ppaBZxlKsmj9W37DUBGg0k4Vu ocNoF697IPQr4tPt4l3cMkp2EMeoilN5TykyADEZskqe8EMi3mW1mdz7BoMwBN8Hz0cR fxITs3ts8x/7uyIavJOBSLUmwn1N70oSpidgx51DJ5u4ObLYdwzL4MRNY/xnnRGZQYhP G9oQ== 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=qKXANqUUTO+nwlHQFUpj8Kbcmc0SnF9ixGbyXs09mGQ=; b=tU76xQQQtF5sbxY6qKnezBbYfDsx/KXHn1DAQ23UqzCTlmMXw06mkwrOs250fi0Tr8 stZz3WpVm1uP7oFlx+qvgavTlvv3ZXa4E0Q73HVO4EaG/e3VVtMeRHK2GKqFCxFM7q6B rz16Rjj+hQDrTkgc8uktJQLa9XYheHa/TIpB2EX88SJMl3xvAIORpqY73LaoX65SsuEX RGL2/9KnDnFcRFPO9F7CGDfRgkyrWoGH6jFG+yM4AoW8OgJIeNPRrezOt7Uj2MuLLFfU AiSH3cZmBAYp0DzpNiJFOdg3GvjZQeCzuRfK3rXE2RT8UkM8RPpXBKHc6unQH19JcNHW WcWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=J3Y09+dh; 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 ls7-20020a17090b350700b001e692fe84besi19037307pjb.141.2022.06.06.12.56.04; Mon, 06 Jun 2022 12:56:16 -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=J3Y09+dh; 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 S232197AbiFFT0a (ORCPT + 99 others); Mon, 6 Jun 2022 15:26:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232291AbiFFT03 (ORCPT ); Mon, 6 Jun 2022 15:26:29 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D2872F02C for ; Mon, 6 Jun 2022 12:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654543588; x=1686079588; h=date:from:to:cc:subject:message-id:mime-version; bh=I59ZioF6ftkeKF9BWFVRlPxcwwrWxaAGZj/i74sOpGo=; b=J3Y09+dhdm6r+4XkMuNJRQJSqz9G/HUUZRnAqUsTbWSUklwfddg97ea/ 0b02bdKhe91ZAfdm9zWdaHOeOtPVbn2EO0LgDEa8w4K6toFyHGr8bnfMi LOiEgEhBINaTZU9YRWdnv2JR/IcHGXw3pXXaoVowMLv0pDG/7/ps+mxyP ZdXHfPby4nhwfOZ029JqH87dWebRJr5BH6OAcclLaaaK8Yq9zhcLZTOuX 9PgCiRQRrlxTn4xS4YCy+DDV5tkcg2lVgUTFYSVrV9XPe0Bj7KTl8/+9l 6K+nz1Iu5Wa9/Hjhonfa8lEh0ne691yRsXm1gf8XjKHcT3TfhzEjVp1ne A==; X-IronPort-AV: E=McAfee;i="6400,9594,10370"; a="276725950" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="276725950" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 12:26:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="647704472" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 06 Jun 2022 12:26:27 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nyIMs-000Czt-Iq; Mon, 06 Jun 2022 19:26:26 +0000 Date: Tue, 7 Jun 2022 03:25:25 +0800 From: kernel test robot To: Mark Rutland Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [mark:arm64/ftrace/per-callsite-ops 2/4] arch/riscv/kernel/setup.c:318:1: warning: 'text_section' attribute directive ignored Message-ID: <202206070358.Tnsgqt6p-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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/mark/linux.git arm64/ftrace/per-callsite-ops head: 7f0d1ffaab77795e4ca97db4a901cc347c850ff7 commit: efc001292934b744fa4c8147668fa4bd0ee909bf [2/4] WIP: incomplete alignment hacks config: riscv-allnoconfig (https://download.01.org/0day-ci/archive/20220607/202206070358.Tnsgqt6p-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 11.3.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://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=efc001292934b744fa4c8147668fa4bd0ee909bf git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git git fetch --no-tags mark arm64/ftrace/per-callsite-ops git checkout efc001292934b744fa4c8147668fa4bd0ee909bf # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 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 All warnings (new ones prefixed by >>): >> arch/riscv/kernel/setup.c:318:1: warning: 'text_section' attribute directive ignored [-Wattributes] 318 | subsys_initcall(topology_init); | ^~~~~~~~~~~~~~~ vim +/text_section +318 arch/riscv/kernel/setup.c f1e58583b9c7ce Atish Patra 2020-03-17 301 f1e58583b9c7ce Atish Patra 2020-03-17 302 static int __init topology_init(void) f1e58583b9c7ce Atish Patra 2020-03-17 303 { 4f0e8eef772ee4 Atish Patra 2020-11-18 304 int i, ret; 4f0e8eef772ee4 Atish Patra 2020-11-18 305 f1e58583b9c7ce Atish Patra 2020-03-17 306 for_each_possible_cpu(i) { f1e58583b9c7ce Atish Patra 2020-03-17 307 struct cpu *cpu = &per_cpu(cpu_devices, i); f1e58583b9c7ce Atish Patra 2020-03-17 308 f1e58583b9c7ce Atish Patra 2020-03-17 309 cpu->hotpluggable = cpu_has_hotplug(i); 4f0e8eef772ee4 Atish Patra 2020-11-18 310 ret = register_cpu(cpu, i); 4f0e8eef772ee4 Atish Patra 2020-11-18 311 if (unlikely(ret)) 4f0e8eef772ee4 Atish Patra 2020-11-18 312 pr_warn("Warning: %s: register_cpu %d failed (%d)\n", 4f0e8eef772ee4 Atish Patra 2020-11-18 313 __func__, i, ret); f1e58583b9c7ce Atish Patra 2020-03-17 314 } f1e58583b9c7ce Atish Patra 2020-03-17 315 f1e58583b9c7ce Atish Patra 2020-03-17 316 return 0; f1e58583b9c7ce Atish Patra 2020-03-17 317 } f1e58583b9c7ce Atish Patra 2020-03-17 @318 subsys_initcall(topology_init); 19a00869028f4a Atish Patra 2020-11-04 319 :::::: The code at line 318 was first introduced by commit :::::: f1e58583b9c7ceae7f11646e9edf2561d67f29c9 RISC-V: Support cpu hotplug :::::: TO: Atish Patra :::::: CC: Palmer Dabbelt -- 0-DAY CI Kernel Test Service https://01.org/lkp