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 583DDC4828D for ; Sat, 3 Feb 2024 13:16:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B57296B0071; Sat, 3 Feb 2024 08:16:54 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B07006B0080; Sat, 3 Feb 2024 08:16:54 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9CE816B0081; Sat, 3 Feb 2024 08:16:54 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 8D9DD6B0071 for ; Sat, 3 Feb 2024 08:16:54 -0500 (EST) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id CF8A7A1E38 for ; Sat, 3 Feb 2024 13:16:53 +0000 (UTC) X-FDA: 81750542706.05.DB6C450 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by imf28.hostedemail.com (Postfix) with ESMTP id A4CE3C001C for ; Sat, 3 Feb 2024 13:16:50 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="g9D1rO/x"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 198.175.65.10 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1706966211; 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=60GtB5XlGoxefOUYJjY2yUSMIDvfr7PFi9dqQG/BRec=; b=isRnRGg9SU7rg8aqHE6Hc1ndLCMx4JMFLEmIUWs5McUaTuDiZfww3ygyaHDR6Y/gwBFGPo CDhCG6TmNU7mE/2hL3/EvWZjn6hMLtlRCdwi4hUcOnPX6mpXm6lSR3KvVcCwN0M5PHkIWK 4/C23yF+/eIYD1+p692xJSIsM00n6NY= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="g9D1rO/x"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 198.175.65.10 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1706966211; a=rsa-sha256; cv=none; b=6LjdaU5UKB1dyClDzclAyvZv/fpD0PP+RXnNR2A7wiDsb8AI72MoxfzgXGFIvqzk4FWU+O ca8XFEVoPU7UxmAHUnIThMhoJbgKPeFGf2yd1748Lu0uRPS4icAi0uJfr/De/Nu6QJQRl6 6zep85DGrJoKKOrHLKpDi1FKw1sE0Uk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706966211; x=1738502211; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4+zMKxvYaiaxOW0B3LJoq39gR4Zfnm5GTXLb8V0K1bQ=; b=g9D1rO/xS5dUssIG7E6/SnUQACvsY7zOhSOSO4R4VXeyN7qmsuQEJe6L Qrungcp8Wf7n4TB4Kp8OrRVCpiH9OQiv47dnxxU0yZtaJPfPCMBfVtr2M r3Sch70QD2uKgLSLHA+eD1FOBqSrEMAUFo9Q2TopF74tC6w4GjITyJlEI DTniGrnt7KXK8dKvJFpOEI4aiZW0cwucNSjzehTcCJRKT0/oKtPTdLk9J F7pzHhEUoWEWHvNXqy0t4fDWygrhfPsL+CywhRfn2yx+46KEyc4Xs0YH0 lM+cLz7waJafKtZhkFwD1b8dCD9A3rqKv9w1bPRH8nzh8Dcl1vw/qVkc3 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10971"; a="17728813" X-IronPort-AV: E=Sophos;i="6.05,240,1701158400"; d="scan'208";a="17728813" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2024 05:16:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,240,1701158400"; d="scan'208";a="4932024" Received: from lkp-server02.sh.intel.com (HELO 59f4f4cd5935) ([10.239.97.151]) by orviesa003.jf.intel.com with ESMTP; 03 Feb 2024 05:16:46 -0800 Received: from kbuild by 59f4f4cd5935 with local (Exim 4.96) (envelope-from ) id 1rWFsx-00055a-0l; Sat, 03 Feb 2024 13:16:43 +0000 Date: Sat, 3 Feb 2024 21:15:48 +0800 From: kernel test robot To: Jiaxun Yang , Oleg Nesterov , Thomas Bogendoerfer , Andrew Morton , Ben Hutchings Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Jiaxun Yang , Xi Ruoyao Subject: Re: [PATCH 3/3] mm/memory: Use exception ip to search exception tables Message-ID: <202402032150.DmM8VjRz-lkp@intel.com> References: <20240201-exception_ip-v1-3-aa26ab3ee0b5@flygoat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240201-exception_ip-v1-3-aa26ab3ee0b5@flygoat.com> X-Rspam-User: X-Stat-Signature: 4ub16pjkkeipfjy4693nhhmsqfwy87xs X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: A4CE3C001C X-HE-Tag: 1706966210-768667 X-HE-Meta: U2FsdGVkX1/GAXfV385E1/sUrSXevyf6pARTmATacpbzPGqe4FqgKxkaOSw+N9f6Z68G2dP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0By4rHNibH0mje4JpSZn+V3uyBT6AWN3hau0EpVvQXWtgVw11sHiMdxVZmOtEYvC+TgZYNtRCY3x6J+6uzNUszKIPNMaHOVYOQZo8JBEZ//+m9dY3wikNmHMjwKVVrubwzvbIMvW+N3IXxFH1JVbfjjXDN1SZ2THUAJhvlCXxW4ukDPafjErTM2tBurGQltAF50T0= 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 Jiaxun, kernel test robot noticed the following build errors: [auto build test ERROR on 06f658aadff0e483ee4f807b0b46c9e5cba62bfa] url: https://github.com/intel-lab-lkp/linux/commits/Jiaxun-Yang/ptrace-Introduce-exception_ip-arch-hook/20240201-234906 base: 06f658aadff0e483ee4f807b0b46c9e5cba62bfa patch link: https://lore.kernel.org/r/20240201-exception_ip-v1-3-aa26ab3ee0b5%40flygoat.com patch subject: [PATCH 3/3] mm/memory: Use exception ip to search exception tables config: i386-buildonly-randconfig-002-20240203 (https://download.01.org/0day-ci/archive/20240203/202402032150.DmM8VjRz-lkp@intel.com/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240203/202402032150.DmM8VjRz-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/202402032150.DmM8VjRz-lkp@intel.com/ All errors (new ones prefixed by >>): mm/memory.c: In function 'get_mmap_lock_carefully': >> mm/memory.c:5484:22: error: implicit declaration of function 'exception_ip' [-Werror=implicit-function-declaration] unsigned long ip = exception_ip(regs); ^~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/exception_ip +5484 mm/memory.c 5477 5478 static inline bool get_mmap_lock_carefully(struct mm_struct *mm, struct pt_regs *regs) 5479 { 5480 if (likely(mmap_read_trylock(mm))) 5481 return true; 5482 5483 if (regs && !user_mode(regs)) { > 5484 unsigned long ip = exception_ip(regs); 5485 if (!search_exception_tables(ip)) 5486 return false; 5487 } 5488 5489 return !mmap_read_lock_killable(mm); 5490 } 5491 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki