Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1417125rdb; Sat, 3 Feb 2024 05:39:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IHA8NfcUScPJeqrZIDzO04/4v0ZyoaiGuZQUTxuhZWPwyJporqU9iAJxgfQRlI9hTk8/S0g X-Received: by 2002:a05:6808:1b24:b0:3bf:b9e5:4de9 with SMTP id bx36-20020a0568081b2400b003bfb9e54de9mr7857551oib.42.1706967542145; Sat, 03 Feb 2024 05:39:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706967542; cv=pass; d=google.com; s=arc-20160816; b=MqFgeFAPksfKqsa7kho6uO+4hgcwIhYyqnO1qM3mRcymPjTdGoPh8lNgcp242tzjJV resqMm+7+jdld1Eyrvwd5ZfqLhPFivlT0qXryFDAoRUZexRlcwdpojKAcUYkHB/7gQBk 12Zp0vNAUC2wJTy36rU4XqTuWg4zUbyaA2Oz/Vo0mVGVpa+wd/po4uAnjhBVywwPSP6I 3naUx42VryetBS4ntlANAxD/nPrL9lr6s36w70hHGf8vOb6VwrG9JEVWLlSu4ElaOWGV FZjPIi1psizZjFZsTLY5aVN3JBKucNyZRSGPSRPJFibgHNx/GRFMFOygLcdscTD7/nQe ZjZg== 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=PW5C0Jh9gARnZUaZX3NEng+nFbjZBDnpzPalpRJ0yN4=; fh=78Gr+6lvZDEMuPWA0CCX6zaEuS7Zm3tJ8Yji+S/uxg8=; b=qVOT6C0tulKKWB35DDqrYYCjChW/QZRAZJMOSBb83g1He15CiLEepUSP2kl42iiqGm f68D7k/R/Sl9LBuowbMkR4ck0zuqczgGGVIM7x4IfyzTXutSXEGgUkQdQhMewh8qQLun j9WKPhb2xrg+0FIuF3Gh8rLlyiI1qd6qoEpbXq+MhfmrHiIkKeHurQnDb+7NWcXx2lUk qAMMlClO5558GFqeTvuoCHVHrJDzQxtFsXqAunGG+J4yqQyKKQNxfOE9WyXD6Q5QDbIr 43QmylqlN1HvTotCMt8BUXXnI6kxS6doMUPqL1+WyKtCsQIhZdjt0O0KCKRaqrb8W34L PFlA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gl3tI9Q8; 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-51105-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51105-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCXi7U95w86uvLBsJQW0MGiwEjXY+LhXFdjmgKEVtnmWeQ1+iBVST4ky8GMpRu4EK1JnCxZzW7fryOSQjzW47cXJC6jwoLgP+d75WdKELw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x12-20020ae9e90c000000b00783f6fe074dsi4214714qkf.116.2024.02.03.05.39.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 05:39:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51105-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gl3tI9Q8; 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-51105-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51105-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DFB5A1C22674 for ; Sat, 3 Feb 2024 13:39:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C4FEF5D8F8; Sat, 3 Feb 2024 13:38:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gl3tI9Q8" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (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 C86355D8FB; Sat, 3 Feb 2024 13:38:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706967534; cv=none; b=ZXHvD+G9Lnczw7wHW2YfIGsBTxLUvRAnSuSzg+VcfiHjQrpsAV98SgTQGFWo32K35oeO39l/eQdTqTZhaFjkzEuKN2oBSvISRcPFYjGYSDl18wt2iszXALXNvqbnSYjGA96EBh4r7QVLPMdmS7804IRrY/xU1+ossHo1eccYg8M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706967534; c=relaxed/simple; bh=YjOtAVRDfuPH8lpCCJ1yeiZiENIgmPX6pSBD0VtNlWo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=d8IarNrjaPO+UQqTfsiSEwfLYCO9qh7rTIuEBxVUJhmB5VBx1A8xk92oZPrcsPe8hw/ugBZ+CfvYYymKlzr1WNhsy3eppJ3lyq34uOcccyUI2NDelUmVwz5YDQY+A8iVsePcd+htmzpZep+pGqadSl0lg8MQSgz+1y8kYO67ScM= 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=gl3tI9Q8; arc=none smtp.client-ip=192.198.163.11 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=1706967532; x=1738503532; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=YjOtAVRDfuPH8lpCCJ1yeiZiENIgmPX6pSBD0VtNlWo=; b=gl3tI9Q8/q6BNdD2RUrYc6W6Pdo8fAlskcLwIPUxzOwrn4N/647c0W2K R3yerKctoM5pZ6ANtJcFHvrg9dqjeSjC325CU7dB5gqIzwQWjT7n31vgg uj19tm7F1nVCHf8SqHs5Gss7EOQocoZfDPlzvb2fWACiXDL0HEHR7HUoQ kSEbjJACdQeL/BY5FWtMrA0Qv7cKjcU06Yp3X4xi3dNOKGmGY2vS9CjtU /Ye8YWvmwtOW/+9EfNk+uzlLhHqgwx0M02Fja+KNDM0DN3Wg3A3in3i+k J6Mn3cPyBRAqpPFGNClkERTSQeR+rAeFT6hC25zMCZTAZAUshadD0nDhx A==; X-IronPort-AV: E=McAfee;i="6600,9927,10971"; a="10967211" X-IronPort-AV: E=Sophos;i="6.05,240,1701158400"; d="scan'208";a="10967211" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2024 05:38:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,240,1701158400"; d="scan'208";a="645392" Received: from lkp-server02.sh.intel.com (HELO 59f4f4cd5935) ([10.239.97.151]) by orviesa008.jf.intel.com with ESMTP; 03 Feb 2024 05:38:48 -0800 Received: from kbuild by 59f4f4cd5935 with local (Exim 4.96) (envelope-from ) id 1rWGEG-00057C-2l; Sat, 03 Feb 2024 13:38:44 +0000 Date: Sat, 3 Feb 2024 21:37:48 +0800 From: kernel test robot To: Jiaxun Yang , Oleg Nesterov , Thomas Bogendoerfer , Andrew Morton , Ben Hutchings Cc: llvm@lists.linux.dev, 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: <202402032112.NBimLx5h-lkp@intel.com> References: <20240201-exception_ip-v1-3-aa26ab3ee0b5@flygoat.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: <20240201-exception_ip-v1-3-aa26ab3ee0b5@flygoat.com> 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: arm64-randconfig-001-20240203 (https://download.01.org/0day-ci/archive/20240203/202402032112.NBimLx5h-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240203/202402032112.NBimLx5h-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/202402032112.NBimLx5h-lkp@intel.com/ All errors (new ones prefixed by >>): >> mm/memory.c:5484:22: error: call to undeclared function 'exception_ip'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] unsigned long ip = exception_ip(regs); ^ mm/memory.c:5509:22: error: call to undeclared function 'exception_ip'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] unsigned long ip = exception_ip(regs); ^ 2 errors generated. 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