Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1325240lqj; Mon, 3 Jun 2024 19:04:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2mIHNvU1p/4Axi2YE1KW2ZJ2PFSKx6zzllsPTgqiVdLxhZmhy9MMceyZq04dbDdxAND5QMRAx0FbqEdQr5n6eKqKN4hCow0RLRXysBA== X-Google-Smtp-Source: AGHT+IGpgFPMesXleS4EhOGu5zu2whGGGXyjFyv6CxlV/CundUWtOZECmEPd0oiAK5ru0zwkTiSM X-Received: by 2002:a50:d70d:0:b0:57a:192e:a9f4 with SMTP id 4fb4d7f45d1cf-57a363eb105mr8066663a12.5.1717466663663; Mon, 03 Jun 2024 19:04:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717466663; cv=pass; d=google.com; s=arc-20160816; b=ScIE9Qd2ki4leVQH71QGpUtK0a0iRIK3lNEWIEAyqpdo4Ikq0xRBjl3N4Itl1sve4X gBPJ03frfhMKhYMzBxCwiKiQQ/FPZmRe7jYVThaDeXKf5fYHtWCwQpO3V5yQuQusg2QH uHc3aXZ9l8FWAv5GW2CMxnUENg4D5iXIz52etd28C2oZ04lEbykMThUnxsObeYR99fxl o05JOwqL+lC8rlxXbDBeASHMdMlEGkLXpQJGs3dmnwXtWO1UuDLEf8Bwuotim09KZF+b rtTXV/B0vTHt31cTzP2C0IdREAEp4VytuK94npr3Ioo0aVxK43eubrls/6o7cpCbo6Dj v8HA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TnKWCXY63ZSkMLYR1j5t3VDW8lpvaMhuVpErt7eGGlo=; fh=mdqzpBur4S7nga+SkL4KoCgjw50RPxIwmZPyttckohg=; b=EfGlUqvXXUyt/CulKhJYOQk26DgaZT2tb0+BbKyjN3kYfVTtVEzSxtm4R5MUrOmFk5 YDVa25nO5k9mPQ4J0glgSkvrLw1d3SG8IUjBjHRL308IkbmV/Ak1IlLANle3SiGdKKFe IIKeEuL5kHgCamGw1xzp/Fv+XZPYbWJSG6orbviFWsDxAAqH9FBlQgZwc77fEjBRjC2L Wn3BSyNQGlWYV06mZc6L85YkxB/vYP49QqFp3CmR3h7wGr4/QvUKZ9M/VjkXxwv30+np kX5PJLRADZNZEQIum+pOCUeZMw05u/LnK2odpJCU90IaRJonj9hldcuyzJkq4eBTpnDT 12oQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Yf9mXlIE; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-199946-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199946-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a7a144eb0si483830a12.217.2024.06.03.19.04.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 19:04:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199946-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Yf9mXlIE; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-199946-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199946-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AB4011F260FD for ; Tue, 4 Jun 2024 02:03:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC34713D601; Tue, 4 Jun 2024 02:03:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Yf9mXlIE" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB487339BC; Tue, 4 Jun 2024 02:03:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717466602; cv=none; b=Zby2ADGDrVEHEDCVF7ft9IysK/rAQ/rQqB3jUpRe4gQ883n8bHSOQgGklvKxSVnjoWqUW6LNYE5aOvRXhyL5lkNXIuUA9sXXJ/XSn3/yCTzyMq8EO1XseGAzOnXXmjWei6fG8wvyCZL8z0Qcv1+TQ6eGtcC6AT7sM84NauMNvJk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717466602; c=relaxed/simple; bh=A1VJ7Kg+25xUFxA9IX1CWPDqIcCTtBx8/S3fEPVKlPw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CUvMOhLFRBph71WMuL9SliRTPPCg/zHrV21Ju7Mz+lWY4GOwsyGm47ofN560PqknbYPHrsAfEeLOzgex+0ZaVbOw3u4ftrVVWKDfqecB8Y8KFedmuY6jQSh1V57vDUk5TQFvpuB9/oXP8N/NLBCfSY9osqFVkqd9FCNtpr6paDE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Yf9mXlIE; arc=none smtp.client-ip=192.198.163.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717466601; x=1749002601; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=A1VJ7Kg+25xUFxA9IX1CWPDqIcCTtBx8/S3fEPVKlPw=; b=Yf9mXlIEgXIaDX29J6FBhALTA5snYQl+H1ZXIwcPD2sif5eE6ez9SDQL t9GKPW2Yz3yfgXASYvYxhkUukV9ZwuO2pgNixwyvu08EdTePzo8dpz6+3 z4Njr78dZGx25oJRh27b9YQRVpEREdbZPeWbdBWXUsJ66KokcXTI5DAnv sPbSKcfGYuhmek4tf6ivSh7v/6R9xbKlOrlhkgm+TmOfyPNspZcOVHg8l G/RsMAC7H/lo4uZilHl2nH3xSwrAQVn2gcHzGkccgCGX1LOlWK6AWUi+W S4p2WFZl3WfQQN5wUmxEN02v3XlpxWEcosI811eweCTDUhzCtUHYvnFAw g==; X-CSE-ConnectionGUID: RuBTzHsCR7CmKqc3eti0fA== X-CSE-MsgGUID: ja2j2rTDR/yOffNMIE5rIw== X-IronPort-AV: E=McAfee;i="6600,9927,11092"; a="11884917" X-IronPort-AV: E=Sophos;i="6.08,213,1712646000"; d="scan'208";a="11884917" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2024 19:03:16 -0700 X-CSE-ConnectionGUID: /RXsYtFYTHSOGyfKAl8y0A== X-CSE-MsgGUID: 5yEXjRrIQJSy0rqrvoI25A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,212,1712646000"; d="scan'208";a="74557148" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by orviesa001.jf.intel.com with ESMTP; 03 Jun 2024 19:03:12 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sEJVz-000MQw-2v; Tue, 04 Jun 2024 02:03:09 +0000 Date: Tue, 4 Jun 2024 10:02:30 +0800 From: kernel test robot To: Mao Jinlong , Suzuki K Poulose , Mike Leach , James Clark , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexander Shishkin Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Tingwei Zhang , Yuanfang Zhang , Tao Zhang , songchai Subject: Re: [PATCH v2 2/3] coresight: Add support to get preferred id for system trace sources Message-ID: <202406040902.AybuHOVD-lkp@intel.com> References: <20240603094354.2348-3-quic_jinlmao@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240603094354.2348-3-quic_jinlmao@quicinc.com> Hi Mao, kernel test robot noticed the following build errors: [auto build test ERROR on robh/for-next] [also build test ERROR on atorgue-stm32/stm32-next linus/master v6.10-rc2 next-20240603] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Mao-Jinlong/dt-bindings-arm-Add-trace-id-for-coresight-dummy-source/20240603-175023 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20240603094354.2348-3-quic_jinlmao%40quicinc.com patch subject: [PATCH v2 2/3] coresight: Add support to get preferred id for system trace sources config: arm64-randconfig-001-20240604 (https://download.01.org/0day-ci/archive/20240604/202406040902.AybuHOVD-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240604/202406040902.AybuHOVD-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202406040902.AybuHOVD-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/hwtracing/coresight/coresight-tpda.c:6: In file included from include/linux/amba/bus.h:19: In file included from include/linux/regulator/consumer.h:35: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:21: In file included from include/linux/mm.h:2253: include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 501 | item]; | ~~~~ include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 508 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 520 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:528:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 528 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 529 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ >> drivers/hwtracing/coresight/coresight-tpda.c:254:42: error: too few arguments to function call, single argument 'id' was not specified 254 | atid = coresight_trace_id_get_system_id(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ drivers/hwtracing/coresight/coresight-trace-id.h:126:5: note: 'coresight_trace_id_get_system_id' declared here 126 | int coresight_trace_id_get_system_id(int id); | ^ ~~~~~~ 5 warnings and 1 error generated. vim +/id +254 drivers/hwtracing/coresight/coresight-tpda.c 5b7916625c017e Mao Jinlong 2023-01-17 243 5b7916625c017e Mao Jinlong 2023-01-17 244 static int tpda_init_default_data(struct tpda_drvdata *drvdata) 5b7916625c017e Mao Jinlong 2023-01-17 245 { 5b7916625c017e Mao Jinlong 2023-01-17 246 int atid; 5b7916625c017e Mao Jinlong 2023-01-17 247 /* 5b7916625c017e Mao Jinlong 2023-01-17 248 * TPDA must has a unique atid. This atid can uniquely 5b7916625c017e Mao Jinlong 2023-01-17 249 * identify the TPDM trace source connected to the TPDA. 5b7916625c017e Mao Jinlong 2023-01-17 250 * The TPDMs which are connected to same TPDA share the 5b7916625c017e Mao Jinlong 2023-01-17 251 * same trace-id. When TPDA does packetization, different 5b7916625c017e Mao Jinlong 2023-01-17 252 * port will have unique channel number for decoding. 5b7916625c017e Mao Jinlong 2023-01-17 253 */ 5b7916625c017e Mao Jinlong 2023-01-17 @254 atid = coresight_trace_id_get_system_id(); 5b7916625c017e Mao Jinlong 2023-01-17 255 if (atid < 0) 5b7916625c017e Mao Jinlong 2023-01-17 256 return atid; 5b7916625c017e Mao Jinlong 2023-01-17 257 5b7916625c017e Mao Jinlong 2023-01-17 258 drvdata->atid = atid; 5b7916625c017e Mao Jinlong 2023-01-17 259 return 0; 5b7916625c017e Mao Jinlong 2023-01-17 260 } 5b7916625c017e Mao Jinlong 2023-01-17 261 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki