Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp402979rdb; Thu, 25 Jan 2024 21:27:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9olZHzdbJB31gVi4yKS1AAZddthxpRs+3h9CSEAUedKnZt5VSrKi9axA95m3E47cyspj1 X-Received: by 2002:a05:6808:3c87:b0:3bd:7687:24c6 with SMTP id gs7-20020a0568083c8700b003bd768724c6mr1446501oib.84.1706246823121; Thu, 25 Jan 2024 21:27:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706246823; cv=pass; d=google.com; s=arc-20160816; b=A2ty5emvh9b6iUc0JFDThZkee/LpkiXykbiZxNTjdeczxCbU56DNNJyYBI7DOgMNsX 17LhKBu5FSOyObWM41iH2nG6ReXv13LewCz4yf2nmkS80xGu9xXKhsOFbsLZ18/IvEVw xQ+Wpm/VZ+7ZzdBA756s8sQGN4BWUBePHWWkhDMiAbKhqrIVKqf7wE5S4OcxZhOpzU4C 8TSg4u2uPpdsSRqol4ZXvLe4dNDzleFABBsWktK1RjkDhB+hizR5F6ZyZhhTRPLqkeJF 8X1J/elN5rUX0RuUwR1ORJUdMyOLKXW9zxQMWGSblECizQzUZ0Txp2BvxDscsE1FTuXP cyZg== 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=Uwl5UY7bhnzP7oFj2ZlH61gxGvCo67nPJ9LqNmYLUOc=; fh=jjcUAmj0rf3lpvuvEzWQupAjGmW5oXCpjwUOkrxCreU=; b=Q9/iNU07A30Rl2hohyQBImG0zBjFncqBdMlpaSq3ADFT1gUvLHUdetaYEuN8wikSNR KmOEfQprSAvDYizULqwg9HzLA0b5pQJaz1jE0A4pFtd9F+CGj0dlxHiQP2zCTTvOFZZY wWhvwKCIyzd3VFIzXmcMDoU/BRrJnZKZReNr1VC0EgPQ0JbenwCpN/APKia1w1vG/yb9 /cQU0ch36ftNEbskqpGM0qBBe5Rlfjx/U9kNfJ79f5CWke3t0YngVsbVCt3rtJMMERaP HxgGh46nMUhb78AsLGKYbvTYO/YZLzSm/cXEca8Twndz4eyDW/ZEUm5i+aPMNqg2ny4A vn8A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GHU5YN8v; 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-39637-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39637-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id w20-20020a63af14000000b005d81875c4cfsi166472pge.882.2024.01.25.21.27.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 21:27:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39637-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GHU5YN8v; 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-39637-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39637-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 22942281322 for ; Fri, 26 Jan 2024 05:26:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 38BE3C13C; Fri, 26 Jan 2024 05:26:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="GHU5YN8v" Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) (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 B031010A19 for ; Fri, 26 Jan 2024 05:26:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.55.52.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706246801; cv=none; b=muOFhMDUvREwOaOcxvBgyKPQ2t9gN3b8l4Mdt7eqSoYwrSOWz7KJCNE9nOz8Hl+LcW5emKcpS9vkHvJzuaerUkgOO08djyj1BiwU2ULIvybSr/As0ABFyn2o0fjhzPSMYVPev1VHTuU9JaCiUqSlTbe6g8ngdvrsOoit8t9NE6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706246801; c=relaxed/simple; bh=0srVlTuuRr5HXWXZIGZUv/anH3kUhIIgqfalf3rkwDE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VitMzqflmILjYJTbR0k0BTzXHpfXwq96AlNOcMuRQnU8V/4ZgPDjAML+BKvteQCpzxwtTMft1y9dx3F3sQPoTuF8laWizLCbhdZ9teAhAavFBtNmCjZGC5oe/0Lizwau4WF4ChiK5LfU+VpprnNZCeIrdBABzmvYADZ776JfOfc= 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=GHU5YN8v; arc=none smtp.client-ip=192.55.52.93 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=1706246799; x=1737782799; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0srVlTuuRr5HXWXZIGZUv/anH3kUhIIgqfalf3rkwDE=; b=GHU5YN8vazhO+6d25717gqwsSfJ2h1fJOy5ld1amfvjyiPNpNVT2OwFg C5w04xAs2TDr4s6NQB+cTEcaafLkvPKO4FDCFuh51VJe7vCXtvYY7WM4e 6MJ8OGVa40zRhVu02l1DlIkw+YANR+yBoWyoqXac30726E4YHFUYlee9X FUiC8qoeSyM2dnuigChuvXrahqL12vlR8K22irTS5QRcVZFujmCFYm1Rk gkLNTOwhNCyeSHsquBctKGCFkmkqJXJbuKJj5uDpxb6fpBuSSRSK7qXH1 mBACRY/urCHR+O7l43WrP0mTzExsKobiftV4F1AbBq+7Cij6Isc6sthCd A==; X-IronPort-AV: E=McAfee;i="6600,9927,10964"; a="399556914" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="399556914" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2024 21:26:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10964"; a="960113139" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="960113139" Received: from lkp-server01.sh.intel.com (HELO 370188f8dc87) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 25 Jan 2024 21:26:33 -0800 Received: from kbuild by 370188f8dc87 with local (Exim 4.96) (envelope-from ) id 1rTEjX-0000iq-0P; Fri, 26 Jan 2024 05:26:31 +0000 Date: Fri, 26 Jan 2024 13:25:43 +0800 From: kernel test robot To: Bitao Hu , dianders@chromium.org, akpm@linux-foundation.org, pmladek@suse.com, tglx@linutronix.de, maz@kernel.org, liusong@linux.alibaba.com Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Bitao Hu Subject: Re: [PATCH 1/3] watchdog/softlockup: low-overhead detection of interrupt storm Message-ID: <202401261310.Ixxefn7o-lkp@intel.com> References: <20240123121223.22318-2-yaoma@linux.alibaba.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: <20240123121223.22318-2-yaoma@linux.alibaba.com> Hi Bitao, kernel test robot noticed the following build errors: [auto build test ERROR on tip/irq/core] [also build test ERROR on linus/master v6.8-rc1 next-20240125] [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/Bitao-Hu/watchdog-softlockup-low-overhead-detection-of-interrupt-storm/20240123-201509 base: tip/irq/core patch link: https://lore.kernel.org/r/20240123121223.22318-2-yaoma%40linux.alibaba.com patch subject: [PATCH 1/3] watchdog/softlockup: low-overhead detection of interrupt storm config: i386-randconfig-013-20240126 (https://download.01.org/0day-ci/archive/20240126/202401261310.Ixxefn7o-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240126/202401261310.Ixxefn7o-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/202401261310.Ixxefn7o-lkp@intel.com/ All errors (new ones prefixed by >>): ld: kernel/watchdog.o: in function `print_cpustat': >> kernel/watchdog.c:453: undefined reference to `__udivdi3' >> ld: kernel/watchdog.c:457: undefined reference to `__udivdi3' vim +453 kernel/watchdog.c 446 447 static void print_cpustat(void) 448 { 449 int i, j, k; 450 u64 a[5][NR_STATS], b[5][NR_STATS]; 451 u64 (*diff)[NR_STATS] = this_cpu_ptr(cpustat_diff); 452 int tail = this_cpu_read(cpustat_tail); > 453 u32 period_us = sample_period / 1000; 454 455 for (i = 0; i < 5; i++) { 456 for (j = 0; j < NR_STATS; j++) { > 457 a[i][j] = 100 * (diff[i][j] / 1000); 458 b[i][j] = 10 * do_div(a[i][j], period_us); 459 do_div(b[i][j], period_us); 460 } 461 } 462 printk(KERN_CRIT "CPU#%d Utilization every %us during lockup:\n", 463 smp_processor_id(), period_us/1000000); 464 for (k = 0, i = tail; k < 5; k++, i = (i + 1) % 5) { 465 printk(KERN_CRIT "\t#%d: %llu.%llu%% system,\t%llu.%llu%% softirq,\t" 466 "%llu.%llu%% hardirq,\t%llu.%llu%% idle\n", k+1, 467 a[i][CPUTIME_SYSTEM], b[i][CPUTIME_SYSTEM], 468 a[i][CPUTIME_SOFTIRQ], b[i][CPUTIME_SOFTIRQ], 469 a[i][CPUTIME_IRQ], b[i][CPUTIME_IRQ], 470 a[i][CPUTIME_IDLE], b[i][CPUTIME_IDLE]); 471 } 472 } 473 #else 474 static inline void update_cpustat(void) { } 475 static inline void print_cpustat(void) { } 476 #endif 477 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki