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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC442C47077 for ; Thu, 18 Jan 2024 05:23:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DB29B6B0072; Thu, 18 Jan 2024 00:23:26 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D3BCF6B0074; Thu, 18 Jan 2024 00:23:26 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BB5656B0078; Thu, 18 Jan 2024 00:23:26 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id A4B156B0072 for ; Thu, 18 Jan 2024 00:23:26 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 6A125140655 for ; Thu, 18 Jan 2024 05:23:26 +0000 (UTC) X-FDA: 81691288812.28.1171109 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by imf30.hostedemail.com (Postfix) with ESMTP id C2A7680014 for ; Thu, 18 Jan 2024 05:23:23 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=dxwOuYG2; spf=pass (imf30.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1705555404; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=yNS0Nb4zTt4Z5sorq9Js5hkd/ZbqkzgmFYNaZL+kGqY=; b=epEoIXdzPQEFIVXA0T9OD56TOwA9bwQZcAprD9DRUl8tUL8FALABC+ugtryaVkIsoJA6Ik kSYXMwbtTWwAFUwebJi7lzoycAMR+o3Hne3MCr1sVALKOIZkjTdYxIVHlXX23pjZwQF+Md xWV0JTh4jWk+/7siQNry2WJhKKFDPu0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1705555404; a=rsa-sha256; cv=none; b=iLXm/fzJ6ICs1LkeEzcMACoH+ug3b0bSbxeYj4Oh8tBVfxTQEU19H/E+Q0nGbD46EbC9B2 Tq+zjPCUZ1QOu02ka89kzj3fyk4NzEAnA31yuIOuiQ4kqX0kxsOkrY/6tw/7HVUEohVmyt jW1io1Mp04eabF/TC8YD0Nm7p63Rs8Y= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=dxwOuYG2; spf=pass (imf30.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705555403; x=1737091403; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=x/6No842LSfCPrLeri6/s3ezEv75k2+9QtC8rEcULB8=; b=dxwOuYG2a9UH7JOVzZ8vGfbiaOuWFwyug1uQus20Q2xD4VttAwYPvjpF zNaWW4hqTkvDiXH9BAQeQ22QOEbT/qA8uAZVGpV5TuoaRPNS3wnm/aRUs nQpOPC8AF5NpPE2XQyDnhsE81Wf0Wu7HSnQmy2VQpANqUhaKt1ilsai+B xUNPKOiKgrmqK1wuJprg6p1aIyM3rmpKMQZJWkMXxrQ9AFy46qc38j1v2 nLxszkSLEJnhoBKn8LuV2JVg2WrimfYIgYvJCFo7j6nadSnzfmUsrvmPa QloolQNwDNGwjjbwvnDX4vTC4ve98AabVEdvxFJcpP5FEHK2RuTz/Kazk g==; X-IronPort-AV: E=McAfee;i="6600,9927,10956"; a="390802143" X-IronPort-AV: E=Sophos;i="6.05,201,1701158400"; d="scan'208";a="390802143" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2024 21:23:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10956"; a="1031539496" X-IronPort-AV: E=Sophos;i="6.05,201,1701158400"; d="scan'208";a="1031539496" Received: from lkp-server01.sh.intel.com (HELO 961aaaa5b03c) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 17 Jan 2024 21:23:14 -0800 Received: from kbuild by 961aaaa5b03c with local (Exim 4.96) (envelope-from ) id 1rQKrw-0002g1-2H; Thu, 18 Jan 2024 05:23:12 +0000 Date: Thu, 18 Jan 2024 13:23:03 +0800 From: kernel test robot To: Alexander Graf , linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, linux-trace-kernel@vger.kernel.org, linux-mm@kvack.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kexec@lists.infradead.org, linux-doc@vger.kernel.org, x86@kernel.org, Eric Biederman , "H . Peter Anvin" , Andy Lutomirski , Peter Zijlstra , Steven Rostedt , Andrew Morton , Mark Rutland , Tom Lendacky , Ashish Kalra , James Gowans , Stanislav Kinsburskii , arnd@arndb.de, pbonzini@redhat.com, madvenka@linux.microsoft.com, Anthony Yznaga , Usama Arif , David Woodhouse , Benjamin Herrenschmidt , Rob Herring , Krzysztof Kozlowski Subject: Re: [PATCH v3 14/17] tracing: Add kho serialization of trace events Message-ID: <202401181352.qC85XHgx-lkp@intel.com> References: <20240117144704.602-15-graf@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240117144704.602-15-graf@amazon.com> X-Rspamd-Queue-Id: C2A7680014 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: urga3tyq3axhotyicq9ieqyqn54dykjp X-HE-Tag: 1705555403-394733 X-HE-Meta: U2FsdGVkX1/H07Zmk8ndQ9W/vZryrvdu3lulDK9Wl0sWfdndCkb0FaT+hVMjGcl4y8rujqtoNAqdlF2U9KR3TW7wBnkpzC4IuMT6ncDFI09TA6PfVpOO+ZkmfMJIfwUC0Dnte36tn6D+bG8e7t6a8y6uiHENbUwVPex0CtoQxM5e2nv41PDiYN2nmkQ3ITDnPWo35oKfzmUrWyVBklrHEw6Ara+qe7+GJCu3cj8ul/m3VN5x6AOzVBSjlkMjD3eUhXcHW4+l97qJMXG5ICv+Q76/yeSi2lZgtocePe0G783SqdbZdvrqaReLFGABMtO8z6PZIp1fRTVkNzB3Qs0E6j3OSCUohx6SXEzV4gEENatD6sm1Mqr12DR+UG1meJPz5+qh/jmwBdpNdlOTSSbEUdA4OroQMSOHpLLkdYQ9iCfZCjmNiLoGrg+Uyp9UiIqJobpAdWG520bnbm7cw4NyvgdpTsnCZBfIB1wlD58sUUEbVYDkCSjJGV7mQiN4HTzg40SvTvgbIJgxG+aa+4wN5ksybnBllYShoh19C19StYyHLKcv5nex+l8qqK8UtgmjnVljsWBqXw+3WHBGWIazHZVmRG5Oru5v//basDX8dw1gcqBmtr0/vNIPnNwFxcRTXo2448BFAiFxfHWOQFaJCwhkV+nwf5ujIRrVbg953ZpZu98cNAPPnEGE29rDBeurLJmOg5mLHp6lxQV4MnL/+d7hO9zm4ixxbrsT3Eygy0GglB1mQc7LcZG2nQegMk+UOBegSqESxzvpg/bsBPGgSaQ9EJXWUAaMs5Gh/7aROHO33lq5m6oG+4cXwgb4Xu202GqOa4PsHhn3iEGMPTr5A+kCQcobYpZIeACSFCmIRZ6YVg9tsnazXkHy2Uo4foqV0uuvaWfPjCgiRPvjdHLS0WAboaiEr8zMj2lRifGJxiK7MVoyQVFLjxIXPN+Pf877F3VO/SbmekfchjjSt+m vFKUbNuU qonB9QI8LwWRjS30UpQqnwH4w2zH+T13AyIvP9MqPJLR7VOIC1yBJ0Cr8x3v1d1scUMnFWYt7EqPOh4d+H/JDAOupRMBzODk7LyA2sy7T7Gnr4fdD8dv8Yhexdi5zSBm1R4HcVbBl6rL1E081V11aT3I00RYwR7GZzoMI3Z/b4c87ahW5N2e+CD2st5rUq1wSjohgimJtGTOVzQkn0VDC0C4ghu3HFlNuidH++MM2SXQOWgs7usVsAuDmjsi/0dbXzYguI8vaky8MyMabS4iJjJhcCtiraxm/UxQ/bIxhmeb9YWQLobVyykPmCykdg/ltiLmR/u/UWLV0zxYYwTMHb/aK4WD1qVyGpF7cFxPifTAjPAo4HdNkfgXQGYg3oPVEavu3gekfyB6yJZibuoLOXLv3+ZTsuNS29W9t26UNIau80GvSarSqgVADRYsYOfiKEHXFtUsuN2pWLJu99j/fkMbNhA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Alexander, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [cannot apply to tip/x86/core arm64/for-next/core akpm-mm/mm-everything v6.7 next-20240117] [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/Alexander-Graf/mm-memblock-Add-support-for-scratch-memory/20240117-225136 base: linus/master patch link: https://lore.kernel.org/r/20240117144704.602-15-graf%40amazon.com patch subject: [PATCH v3 14/17] tracing: Add kho serialization of trace events config: i386-randconfig-141-20240118 (https://download.01.org/0day-ci/archive/20240118/202401181352.qC85XHgx-lkp@intel.com/config) compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240118/202401181352.qC85XHgx-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/202401181352.qC85XHgx-lkp@intel.com/ All warnings (new ones prefixed by >>): >> kernel/trace/trace_output.c:731:12: warning: unsequenced modification and access to 'count' [-Wunsequenced] 731 | map[count++] = (struct trace_event_map) { | ^ 732 | .crc32 = count, | ~~~~~ 1 warning generated. vim +/count +731 kernel/trace/trace_output.c 710 711 static int __maybe_unused _trace_kho_write_events(void *fdt) 712 { 713 struct trace_event_call *call; 714 int count = __TRACE_LAST_TYPE - 1; 715 struct trace_event_map *map; 716 int err = 0; 717 int i; 718 719 down_read(&trace_event_sem); 720 /* Allocate an array that we can place all maps into */ 721 list_for_each_entry(call, &ftrace_events, list) 722 count++; 723 724 map = vmalloc(count * sizeof(*map)); 725 if (!map) 726 return -ENOMEM; 727 728 /* Then fill the array with all crc32 values */ 729 count = 0; 730 for (i = 1; i < __TRACE_LAST_TYPE; i++) > 731 map[count++] = (struct trace_event_map) { 732 .crc32 = count, 733 .type = count, 734 }; 735 736 list_for_each_entry(call, &ftrace_events, list) { 737 struct trace_event *event = &call->event; 738 739 map[count++] = (struct trace_event_map) { 740 .crc32 = event2fp(event), 741 .type = event->type, 742 }; 743 } 744 up_read(&trace_event_sem); 745 746 /* And finally write it into a DT variable */ 747 err |= fdt_property(fdt, "events", map, count * sizeof(*map)); 748 749 vfree(map); 750 return err; 751 } 752 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki