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 E312DC6FA82 for ; Sat, 10 Sep 2022 09:31:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 83C0E6B0071; Sat, 10 Sep 2022 05:31:16 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7EB8D8D0002; Sat, 10 Sep 2022 05:31:16 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6B3258D0001; Sat, 10 Sep 2022 05:31:16 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 5A3E56B0071 for ; Sat, 10 Sep 2022 05:31:16 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 2B62A1C5B5E for ; Sat, 10 Sep 2022 09:31:16 +0000 (UTC) X-FDA: 79895657352.23.0172AFB Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf22.hostedemail.com (Postfix) with ESMTP id 83A29C00A9 for ; Sat, 10 Sep 2022 09:31:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662802275; x=1694338275; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=PWMtW9whyQiC9L4kRXLcK09Da1WhHfP0G6nIMJhoCWE=; b=lJ4IRadB7Wu4BaiDcoMR5PUjKK1YxOwmzDZ/mF8JVc9UkDGFGSqF58MF hIMreEUaw/5CaT4NKmdHNziI5ytJbv87nEXv6i57i2DASnnmjhhmw4Kky saQZbks3a/x+BC4asSjG+NXT+OEvH9ceDZJduB06nhbNeiQPiQKvPkNPk TQPhBtUdzlx5jJhiR7rt+XW1i+jihWT9BgSBKCY6CgSV2AT86Pf28Suq2 foQzIrseCs5pvwrYTNupYGWIU27Yrp0dqCF3zNqxrH7SwzdI9JRcVFcAF V025O3QyXRlTnRQnvSj7Z6fkEhpJE1yJQzduaHzeqbD/m9gxkFekSP+He A==; X-IronPort-AV: E=McAfee;i="6500,9779,10465"; a="298964832" X-IronPort-AV: E=Sophos;i="5.93,305,1654585200"; d="scan'208";a="298964832" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2022 02:29:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,305,1654585200"; d="scan'208";a="615531143" Received: from lkp-server02.sh.intel.com (HELO b2938d2e5c5a) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 10 Sep 2022 02:29:51 -0700 Received: from kbuild by b2938d2e5c5a with local (Exim 4.96) (envelope-from ) id 1oWwoA-0002MM-14; Sat, 10 Sep 2022 09:29:50 +0000 Date: Sat, 10 Sep 2022 17:29:25 +0800 From: kernel test robot To: Peter Collingbourne , Catalin Marinas , Vincenzo Frascino , Andrew Morton , Andrey Konovalov Cc: kbuild-all@lists.01.org, Linux Memory Management List , Peter Collingbourne , linux-arm-kernel@lists.infradead.org, kasan-dev@googlegroups.com Subject: Re: [PATCH] kasan: also display registers for reports from HW exceptions Message-ID: <202209101733.SvgcwWsA-lkp@intel.com> References: <20220910052426.943376-1-pcc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220910052426.943376-1-pcc@google.com> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662802275; 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=aQJENNlfrEdW6z95epbfP88E3ZEs/RhjlipOARQJ+ew=; b=Awi3SgxAR2hS3n7+SHU7qGr/yvXzv0ZbF7B/u0ur0QXMlEOIrQ3pReJBSnc4ZoX4bhwGpV XkM0Novi8Q2oD/C4etHJnGr+OKTiQtnmFnN0fd2/6oZbgphghe00YABoO04hWcCBOqoIHB Q4C7LJWwitriFCoZADZkltt2JBPN5gA= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=lJ4IRadB; spf=pass (imf22.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662802275; a=rsa-sha256; cv=none; b=k4cTvCOFSZUaHJ8qFE7zxoQfHGz+5GnvGtSrV9UIS3+fstgeae2/PlWdKrVmpv5MERY2No owuO/Oe6WGdkjoyNpnLFsT59SkhQQMZ5Pfuq+IeyPv8K5SlK1ib9fVsY57tl/CGnwBiKOF alrJsKQKyahxtlOCMs9U/e35Z+BjGTM= X-Rspam-User: Authentication-Results: imf22.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=lJ4IRadB; spf=pass (imf22.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam06 X-Stat-Signature: k3gkoo3cjnq7nojh4komhjhnxtqs3u13 X-Rspamd-Queue-Id: 83A29C00A9 X-HE-Tag: 1662802275-222241 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: Hi Peter, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on next-20220909] [cannot apply to arm64/for-next/core linus/master v6.0-rc4 v6.0-rc3 v6.0-rc2 v6.0-rc4] [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/Peter-Collingbourne/kasan-also-display-registers-for-reports-from-HW-exceptions/20220910-132721 base: 9a82ccda91ed2b40619cb3c10d446ae1f97bab6e config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20220910/202209101733.SvgcwWsA-lkp@intel.com/config) compiler: powerpc-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/2140392d32582f62b922eaf4d1824e5a7838b420 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Peter-Collingbourne/kasan-also-display-registers-for-reports-from-HW-exceptions/20220910-132721 git checkout 2140392d32582f62b922eaf4d1824e5a7838b420 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/kasan/report.c:506:6: warning: no previous prototype for 'kasan_report_regs' [-Wmissing-prototypes] 506 | bool kasan_report_regs(unsigned long addr, size_t size, bool is_write, | ^~~~~~~~~~~~~~~~~ vim +/kasan_report_regs +506 mm/kasan/report.c 505 > 506 bool kasan_report_regs(unsigned long addr, size_t size, bool is_write, 507 struct pt_regs *regs) 508 { 509 return __kasan_report(addr, size, is_write, instruction_pointer(regs), 510 regs); 511 } 512 -- 0-DAY CI Kernel Test Service https://01.org/lkp