Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp472795rdh; Wed, 14 Feb 2024 02:28:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUowfSe1PLo6heroS/4PudRuFprpo1Vpfomnt+Yu0Wm8Lu3Tl5AzftUblYyv3RWer8U44cB4my6y4skESASWd3g3MK4JnW/4z27iTlMAg== X-Google-Smtp-Source: AGHT+IFuf1l9OKUA9A+6JpTEzTHHI53WEuW2ecULjQW4Azlv37f8RhyiO2K+4Xq+7i90jOIctgRc X-Received: by 2002:a05:6402:88c:b0:561:dd88:cffc with SMTP id e12-20020a056402088c00b00561dd88cffcmr1714925edy.28.1707906479788; Wed, 14 Feb 2024 02:27:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707906479; cv=pass; d=google.com; s=arc-20160816; b=kO7mjOcFe6Tk8oG2nMkKOq5h3yR4YaajxbHi+iO++R3T9jCTvJcSBlppVNtCcSYThE tz7/weg9CAzmfTIyXOqHvon5o026wyynrMuuN+ezaUO+PBz7cs7lQZEorttJhOT3Ovbr Yev6DI8B5Vac6yo3s0Vhbg8UT1AOw4E/v/4ZnLCmw+UY0xf7JOt/tjkTkKWLxsJUkqD/ 8z1UL+LethxNbbdngxzoda20KNoLyiYAsRyNFWPneZj3e4jWN4tftVmY/1tgBMqf8ND5 EcRI4WAkc0sIuzs/NQBsiHakUbtXaxhQg48Vckh6DPgx5oCTVaV20M3ZJZOwU0Kit8vi tWvA== 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=I2Zv6en2MjjmuVx53bB9Wz0x39GtWCVUnBafM1lJ5zA=; fh=RJkkIjpEF5ONfnWwOehNbnYTm4czsxedlSqA4xNPglo=; b=ldpMT4VJ9L2tQMWqPIGNRMHM1x37DA1z2S2H2l5GCrlUY4Rnxzjd+DN2PkUMlQblyH 3nW2hg/gs4JQOVNmYs+edYI8Z6T/23rjSQnl1jLlvJlA0CpGcE5ZUcv2tYN9CsgvjTwv 9vpI0pAcozqgKU6Hi+L4zLGjRFcKn20uX7wCDYM8yAXRVB3+NSFXw4jbGsEHf5awNfIR hq3DzKKJ/R8XqluM7QqLjRuSgDZDwdkzJX4KgFmPyFopVmRoSAnD6MZ+HeLO0zc4d09W PSVhWeT77ftb7mguHw7YnXPCxG3wD8YSkSpKpmGKpUiqN2lOgqkaEouAg3HYM4+kBh69 qXKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fW119Jbq; 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-65048-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65048-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCV4T4WID5qq4Vd0nquTu3KOHDwhwSoX1Dnn9LvH2/RjU/JsUzwPA4pcNVqX+D4OYTbOcc+MritRte1E+V47nvLw9wbbKxOcGp2we1zzoQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a15-20020a05640213cf00b00561f408c859si1620226edx.45.2024.02.14.02.27.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 02:27:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65048-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fW119Jbq; 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-65048-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65048-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 5FFC01F24EAE for ; Wed, 14 Feb 2024 10:27:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39A2A1758C; Wed, 14 Feb 2024 10:27:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="fW119Jbq" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (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 BCAF918027; Wed, 14 Feb 2024 10:27:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707906471; cv=none; b=eV7EqRxrLyPdhz18PLMu/wXpt3DFa41zztieLMVwvfga1IKJo+HERPCFOJBpC4cDGHbqU+2nWKhhTZqbatcuZNxOuu9mqy97xVH5EgpqMx9/myJFI0z0Qh920ovCFeWXRdK3BZT6bfmt5rHli5yQFHksjy6cfh5ASdQR4UIWGmg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707906471; c=relaxed/simple; bh=zbIWzkXTYZWpzUdpSXPx9xSy94j7EPhhAgBf8uj1gg4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Xt2+Kl2h5dcSh8MugdVIDSKu3MGqGHy9Br/uHY8mFwEWKs5+LOYp1ZMKzAIjDJ+EyVkbLTpOcaKXOtrXOBHl27HdBqCwFbUGu6Am5hydqia4BIYRIXsMUzYEUqXRhzUfDgv3U28WnVONlKct2Z/4tsFazesFhGu//DhjtYDiOfk= 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=fW119Jbq; arc=none smtp.client-ip=198.175.65.18 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=1707906470; x=1739442470; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=zbIWzkXTYZWpzUdpSXPx9xSy94j7EPhhAgBf8uj1gg4=; b=fW119JbqoFOZfmNAG9Ztjl7WbGTgIb84NYTbx94Ufpl+bV7R56PSyCQX 4/QMw083gl7zTkP3SdDXi686kq5IQlWrByxNaDFw6bL8McXxNFu8eK7/p u56YH7Db6IhxBAipW8p7ueoFC/TSFtW+BzSZzGlDKIdXepr89FiJTOfxp g7FUmUESxWZPRxCGUVdzaAvh+vpHP8Z/QH6hUnKCpghnoeRfa40w5AcUH JPurVW94n48079SGks34O16sI53ww1s6sJHG5ztsKrf4fxkIWMT6ALdUR bwTTH0BxJJC5ypYz8fWLdKmTvaoEPglA1JnuQldneaO8biim8cxsksObr A==; X-IronPort-AV: E=McAfee;i="6600,9927,10982"; a="2066827" X-IronPort-AV: E=Sophos;i="6.06,159,1705392000"; d="scan'208";a="2066827" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2024 02:27:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,159,1705392000"; d="scan'208";a="7754709" Received: from lkp-server01.sh.intel.com (HELO 01f0647817ea) ([10.239.97.150]) by fmviesa004.fm.intel.com with ESMTP; 14 Feb 2024 02:27:47 -0800 Received: from kbuild by 01f0647817ea with local (Exim 4.96) (envelope-from ) id 1raCUS-0008fy-1z; Wed, 14 Feb 2024 10:27:44 +0000 Date: Wed, 14 Feb 2024 18:26:49 +0800 From: kernel test robot To: Vincent Donnefort , rostedt@goodmis.org, mhiramat@kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, mathieu.desnoyers@efficios.com, kernel-team@android.com, Vincent Donnefort Subject: Re: [PATCH v17 2/6] ring-buffer: Introducing ring-buffer mapping functions Message-ID: <202402141856.fVl4pCHi-lkp@intel.com> References: <20240213114945.3528801-3-vdonnefort@google.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: <20240213114945.3528801-3-vdonnefort@google.com> Hi Vincent, kernel test robot noticed the following build errors: [auto build test ERROR on ca185770db914869ff9fe773bac5e0e5e4165b83] url: https://github.com/intel-lab-lkp/linux/commits/Vincent-Donnefort/ring-buffer-Zero-ring-buffer-sub-buffers/20240213-195302 base: ca185770db914869ff9fe773bac5e0e5e4165b83 patch link: https://lore.kernel.org/r/20240213114945.3528801-3-vdonnefort%40google.com patch subject: [PATCH v17 2/6] ring-buffer: Introducing ring-buffer mapping functions config: x86_64-randconfig-161-20240214 (https://download.01.org/0day-ci/archive/20240214/202402141856.fVl4pCHi-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240214/202402141856.fVl4pCHi-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/202402141856.fVl4pCHi-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/x86/include/asm/bug.h:87, from include/linux/bug.h:5, from include/linux/jump_label.h:256, from arch/x86/include/asm/string_64.h:6, from arch/x86/include/asm/string.h:5, from include/linux/string.h:61, from include/linux/bitmap.h:12, from include/linux/cpumask.h:12, from include/linux/interrupt.h:8, from include/linux/trace_recursion.h:5, from kernel/trace/ring_buffer.c:7: kernel/trace/ring_buffer.c: In function '__rb_inc_dec_mapped': >> include/linux/lockdep.h:234:52: error: invalid type argument of '->' (have 'struct mutex') 234 | #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map) | ^~ include/asm-generic/bug.h:123:25: note: in definition of macro 'WARN_ON' 123 | int __ret_warn_on = !!(condition); \ | ^~~~~~~~~ include/linux/lockdep.h:267:2: note: in expansion of macro 'lockdep_assert' 267 | lockdep_assert(lockdep_is_held(l) != LOCK_STATE_NOT_HELD) | ^~~~~~~~~~~~~~ include/linux/lockdep.h:267:17: note: in expansion of macro 'lockdep_is_held' 267 | lockdep_assert(lockdep_is_held(l) != LOCK_STATE_NOT_HELD) | ^~~~~~~~~~~~~~~ kernel/trace/ring_buffer.c:6185:2: note: in expansion of macro 'lockdep_assert_held' 6185 | lockdep_assert_held(cpu_buffer->mapping_lock); | ^~~~~~~~~~~~~~~~~~~ vim +234 include/linux/lockdep.h f607c668577481 Peter Zijlstra 2009-07-20 233 f8319483f57f1c Peter Zijlstra 2016-11-30 @234 #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map) f8319483f57f1c Peter Zijlstra 2016-11-30 235 #define lockdep_is_held_type(lock, r) lock_is_held_type(&(lock)->dep_map, (r)) f607c668577481 Peter Zijlstra 2009-07-20 236 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki