Received: by 2002:a05:6a10:8a4f:0:0:0:0 with SMTP id dn15csp2600173pxb; Mon, 31 Jan 2022 03:40:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyh0N4BcKpJhudeydI4qcrW9CxnKunEIfwGLXnC83b3/GKWazXEMTohzNh3VJhJTfzqbxRW X-Received: by 2002:a17:902:d505:: with SMTP id b5mr20312112plg.38.1643629208696; Mon, 31 Jan 2022 03:40:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643629208; cv=none; d=google.com; s=arc-20160816; b=ZItk2kkBXDNdLYx+/kwL5IS0Vx33i+PPKbpT6ns3Cf+QTe9oMmU6gzqnjSrZB6Rk5a YXxc1osa4+a9vB13nsPSlqP+bH00+ouxMADsRHbOTcp1h/zrA+A/+u64OFA2OzTrKxoq rrcoCwc+RCW6DokGhSo8VPaMoXwYYeR6XWTAYOsOaI6pXbZexh6cEDXsBDk1rapIHEXa GuT7wZsWqvJwHq+Y+Gs38/wbEpR0pUrHnXYimtOilTXm/KDlxLeJvffZ4AjRusb58QtY dZ7bVol49YbylvHuqoCJ9uTd91xKJtcXE0vhwN7E4z5EURpJ6zPCJj4Qt3lV7q/uoJTA AsIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wWWodZ3LCcRk8SAhUYjL/KloiOXiRNm5r1W9KXbNWuc=; b=nDKviwAkIcE1pizWEWsI4foMX3dZzO067+uzRw4ucnOLSoUlzb4jiE/fI9wrNnkJPI VsvVMH9LgD/Ni68cfNkD2UqRtU4sRY5QBBwx9mwUQFKthCIcchimOM52CSC9Ltn4bqNG yIGm24zSnJwuxv9YTKm85arLdKVgILnhjHp2w9PnWKxQZ1VQU/gOBtcuLQrQRWQsPczF tVfiP6KKW993JAQvP5Tr8de24KAQmDO1vAzbACq6ovZQenRBmgBHqbEFAQb+tG90C8cc MrhKiD7vpdeRh+psp/7uCLiZ+4K4i/47Hvi7PmFbiJ1Vr5AkpA36Qgg75pHKDIjzZaTV rX1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BgUK49LW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oj13si11485908pjb.39.2022.01.31.03.39.57; Mon, 31 Jan 2022 03:40:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BgUK49LW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351327AbiA1VEX (ORCPT + 99 others); Fri, 28 Jan 2022 16:04:23 -0500 Received: from mga06.intel.com ([134.134.136.31]:32648 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344412AbiA1VEG (ORCPT ); Fri, 28 Jan 2022 16:04:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643403846; x=1674939846; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=CsbBeYktg2WNwHPoxMz+XO9nL0GGkj0XgJqtxuN+gCY=; b=BgUK49LWXRrr1fxXubLJi5fcx7q2UEBtn+sIpGP1GN5QuhKJijhwpbN2 QIqEx/S9GZyJhI04xH4GHo0GIBmaurO6bntMOc4t1RL4gDFUXxAm3Z1u5 KReBzgLezcKhFy1IEexbMu/nULGx65e8VqHJD9bWnwl80JN0OPXaNTkLr jqo+opVz3gCF/2HI49Xj19/9F4XMOUB4egP5Kvhfs+QYprKOq6TY81+3w E15Rcse7yqKPF1BwRtrIqK8b/tpJa3KinYQrJzRfVta1/rS5+X3aCVRqa egYAxG1U1iIg6Jbeg4Gpoo/cvVODcmVSFle9XaIetZBTuuUkNd5tnfnE8 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10241"; a="307926879" X-IronPort-AV: E=Sophos;i="5.88,324,1635231600"; d="scan'208";a="307926879" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2022 13:04:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,324,1635231600"; d="scan'208";a="536288881" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 28 Jan 2022 13:04:02 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nDYPa-000OJs-6H; Fri, 28 Jan 2022 21:04:02 +0000 Date: Sat, 29 Jan 2022 05:03:59 +0800 From: kernel test robot To: Changbin Du , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: kbuild-all@lists.01.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Changbin Du Subject: Re: [PATCH] riscv: fix oops caused by irq on/off tracer Message-ID: <202201290448.aKF0qISQ-lkp@intel.com> References: <20220128152939.99544-1-changbin.du@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220128152939.99544-1-changbin.du@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Changbin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.17-rc1 next-20220128] [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/Changbin-Du/riscv-fix-oops-caused-by-irq-on-off-tracer/20220128-233136 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 145d9b498fc827b79c1260b4caa29a8e59d4c2b9 config: riscv-buildonly-randconfig-r003-20220127 (https://download.01.org/0day-ci/archive/20220129/202201290448.aKF0qISQ-lkp@intel.com/config) compiler: riscv32-linux-gcc (GCC) 11.2.0 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 # https://github.com/0day-ci/linux/commit/d3adbc803a5b4d49e649489eec980048266e2a72 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Changbin-Du/riscv-fix-oops-caused-by-irq-on-off-tracer/20220128-233136 git checkout d3adbc803a5b4d49e649489eec980048266e2a72 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/riscv/kernel/trace_irq.c:14:6: warning: no previous prototype for '__trace_hardirqs_on' [-Wmissing-prototypes] 14 | void __trace_hardirqs_on(void) | ^~~~~~~~~~~~~~~~~~~ >> arch/riscv/kernel/trace_irq.c:20:6: warning: no previous prototype for '__trace_hardirqs_off' [-Wmissing-prototypes] 20 | void __trace_hardirqs_off(void) | ^~~~~~~~~~~~~~~~~~~~ -- >> arch/riscv/kernel/trace_irq.c:10: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * trace_hardirqs_on/off requires at least two parent call frames. Here we add vim +/__trace_hardirqs_on +14 arch/riscv/kernel/trace_irq.c 8 9 /** > 10 * trace_hardirqs_on/off requires at least two parent call frames. Here we add 11 * one extra level so they can be safely called by low level entry code. 12 */ 13 > 14 void __trace_hardirqs_on(void) 15 { 16 trace_hardirqs_on(); 17 } 18 NOKPROBE_SYMBOL(__trace_hardirqs_on); 19 > 20 void __trace_hardirqs_off(void) --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org