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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D2580C433EF for ; Tue, 15 Mar 2022 13:28:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ktJIfKj+gSQV3vTLQvqV5XK0Ckx820GX/pxjJamNuUk=; b=sbS4ueLZP0DQWF wpHzgVsYy8WUM2Q7ZHm7bh4sCh3EhHHWcgkqStbLcHH2e44EMFXU7NcPB6sAVNPP6/aDR7yCjvXzx OjzdcMGRDmDrpwCQTSgU4/dmNyYqyVeNig/QbD0AGGRPVPb2Qm/hyxWETzt6aCm9nyAIBLqU8366J cQQP3s+8xWbJGdgJg592gG5VWc9yIk1+8hhCYWNvSXikbF1TXuJ0WPjPSWrQTgYo8RmupjeOBX817 gAtwW3xRULy2QRbpX+slCCXeB9hRp2wXU5yxsIjRzVx+tsCExEBfXczP6j34jffS+qP4wQqmDuKQI Xq0bz/7W2VofuL1GJuIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nU7Cl-009Bmy-4Q; Tue, 15 Mar 2022 13:27:15 +0000 Received: from mga12.intel.com ([192.55.52.136]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nU7BZ-009BHh-GF; Tue, 15 Mar 2022 13:26:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647350761; x=1678886761; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=DUJkbhEMYFfC7vCg5ediYDdzNR4Ys1q6v/5bpfUlhlo=; b=ldyBJymT44HD7cLPTGQ9hqxOHQiMRGL8YbRGSM86J6PvxiSyG3YRp1OS PqkFgqFWrTjoFmCIthoDg7hMMzf3nOxNVPWc0cTeamf5YZyo3tz4ATKdc oEd81U4hLPZqBkCD7w1vE93Gmj52kavcY6HFppQH1lf4cMCGWWwOdWF4+ JtR4xe/T5PY7lBxDU01i8DLphp01Gq7IIDuP3H2td2mAnkjmOOEoWi8rB 0ZK8w/Bv85FRww3+EsqgYbqCtxXZv5ZBU969iQQO3EP+47kCdZQEiBT+3 VFw3GcZlyJ8GmDBKzcCvAE1ddz0CI9+K/zc34uug+mLGe+fFic+0BX4IZ A==; X-IronPort-AV: E=McAfee;i="6200,9189,10286"; a="236243914" X-IronPort-AV: E=Sophos;i="5.90,183,1643702400"; d="scan'208";a="236243914" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2022 06:26:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,183,1643702400"; d="scan'208";a="515864016" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 15 Mar 2022 06:25:54 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nU7BS-000B1u-5i; Tue, 15 Mar 2022 13:25:54 +0000 Date: Tue, 15 Mar 2022 21:24:52 +0800 From: kernel test robot To: Qing Wang , Russell King , Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , Sudeep Holla , Greg Kroah-Hartman , "Rafael J. Wysocki" , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Wang Qing Subject: Re: [PATCH] sched: dynamic config sd_flags if described in DT Message-ID: <202203152145.vPr4Qv42-lkp@intel.com> References: <1647331137-69890-1-git-send-email-wangqing@vivo.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1647331137-69890-1-git-send-email-wangqing@vivo.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220315_062601_621710_495A9C67 X-CRM114-Status: GOOD ( 15.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Qing, Thank you for the patch! Yet something to improve: [auto build test ERROR on arm64/for-next/core] [also build test ERROR on driver-core/driver-core-testing tip/sched/core linus/master v5.17-rc8 next-20220310] [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/0day-ci/linux/commits/Qing-Wang/sched-dynamic-config-sd_flags-if-described-in-DT/20220315-160039 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core config: riscv-randconfig-r025-20220314 (https://download.01.org/0day-ci/archive/20220315/202203152145.vPr4Qv42-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6b2f50fb47da3baeee10b1906da6e30ac5d26ec) 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 # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/0day-ci/linux/commit/3322560249c42b0a3e719b19842a3ace7d5ffb6a git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Qing-Wang/sched-dynamic-config-sd_flags-if-described-in-DT/20220315-160039 git checkout 3322560249c42b0a3e719b19842a3ace7d5ffb6a # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/base/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/base/arch_topology.c:648:23: error: use of undeclared identifier 'cpu' if (!cache_topology[cpu][cache_level]) ^ drivers/base/arch_topology.c:654:23: error: use of undeclared identifier 'cpu' if (cache_topology[cpu][cache_level] == cache_topology[cpu_id][cache_level]) { ^ 2 errors generated. vim +/cpu +648 drivers/base/arch_topology.c 639 640 int cpus_share_self_cache(const struct cpumask *cpu_map) 641 { 642 int cache_level, cpu_id; 643 int first, last; 644 int id = cpumask_first(cpu_map); 645 int size = cpumask_weight(cpu_map); 646 647 for (cache_level = 0; cache_level < MAX_CACHE_LEVEL; cache_level++) { > 648 if (!cache_topology[cpu][cache_level]) 649 return -1; 650 651 first = -1; 652 last = id; 653 for (cpu_id = 0; cpu_id < NR_CPUS; cpu_id++) { 654 if (cache_topology[cpu][cache_level] == cache_topology[cpu_id][cache_level]) { 655 if (cpu_id < id || cpu_id >= id + size) 656 return 0; 657 658 first = (first == -1)?cpu_id:first; 659 last = cpu_id; 660 } 661 } 662 663 if (first == id && last == id + size) 664 return 1; 665 } 666 667 return 0; 668 } 669 --- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel