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 AFA5AD2A53A for ; Thu, 17 Oct 2024 12:00:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4531E6B007B; Thu, 17 Oct 2024 08:00:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 403296B0082; Thu, 17 Oct 2024 08:00:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2CA666B0083; Thu, 17 Oct 2024 08:00:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 0528C6B007B for ; Thu, 17 Oct 2024 08:00:28 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 101B5AB3B7 for ; Thu, 17 Oct 2024 12:00:07 +0000 (UTC) X-FDA: 82682951358.19.D8960ED Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by imf03.hostedemail.com (Postfix) with ESMTP id EC9B72002B for ; Thu, 17 Oct 2024 12:00:20 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="k/ljtW62"; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 192.198.163.14 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1729166280; 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=hOObRkGDlCd5eSsW66inCyWH+vUI8PBWHRUU+dotImw=; b=InsPWXXn+TEey9lQokLUUeDKqdCrCV2pW6BL2jb1Z7iCQ31Qd7F5H+gxrGqop2g5w4VOE0 MTd4g68c9d5cRs+5pGfjNc3qEPYyBAmEcsuX/2CNs6PJTqYvzz6SSdTiQi/qpO4mhk+Uvm W6iejx8daIxL3XgAGJJytX7i6c+1y3k= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1729166280; a=rsa-sha256; cv=none; b=6lnKkyELmntUcK/gpDhs150Maykel3OwQ6NP3CCZGcgRdmkRSQ/Wy675MzlHfOohQUrE4h js3o31IaRwDc8xZ2TYsOJ7sLAbZdBAFR5hOPJJbCeNn7nAWtPSdPMVO0q1h1DFo5Dlvwe2 GI1bJAM72e5jghBDsMTCVO3Gfd/jIRg= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="k/ljtW62"; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 192.198.163.14 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729166426; x=1760702426; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Byl5BuzrsLEDMbFApadNHqtbjze3qn3c4G+v9EMZddk=; b=k/ljtW62jqUzk0OZvIz5jAR98NgWb5VmNseOTbVQ+Gcpuw/eJ7JMhLO+ eMfkWM2nl3MHkWePjap1eh0Hcw9BBxolFAHVbP3C789fmPZ4AapWBQ+dt FoExE9qmaZNtmLiAPUMlNZsbIR6NIU0OFu7BViEX9r+2mzM//y0Z8iZd/ dfV1DOeNkYaAr4sM70T67BZA4HZqvIsFBasthnRtoQNRLH0a+vO54BvXX ORatoanCnaWbAXD0O/Zb18JRxQqFafd1t9+WKaEqcpbe/RtZ1Z95OaDxy LI27TTBuQloHza9y0JTy6ouC6RgqEGPUAR38w7nRcg4xkhiqKTjejL9Tq A==; X-CSE-ConnectionGUID: 54yyGlNWSwm6s2elWh+aog== X-CSE-MsgGUID: EbLC1iP2QtmKOBVyFSj+dg== X-IronPort-AV: E=McAfee;i="6700,10204,11227"; a="28853875" X-IronPort-AV: E=Sophos;i="6.11,210,1725346800"; d="scan'208";a="28853875" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2024 05:00:24 -0700 X-CSE-ConnectionGUID: OV+igYayRjasrtRoX/cySQ== X-CSE-MsgGUID: +qOg4easS32xwZ0iwjns4Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,210,1725346800"; d="scan'208";a="79354503" Received: from lkp-server01.sh.intel.com (HELO a48cf1aa22e8) ([10.239.97.150]) by orviesa008.jf.intel.com with ESMTP; 17 Oct 2024 05:00:21 -0700 Received: from kbuild by a48cf1aa22e8 with local (Exim 4.96) (envelope-from ) id 1t1PAw-000MH1-1R; Thu, 17 Oct 2024 12:00:18 +0000 Date: Thu, 17 Oct 2024 19:59:31 +0800 From: kernel test robot To: Andrii Nakryiko , bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, martin.lau@kernel.org Cc: oe-kbuild-all@lists.linux.dev, linux-mm@kvack.org, linux-perf-users@vger.kernel.org, linux-fsdevel@vger.kernel.org, rppt@kernel.org, david@redhat.com, yosryahmed@google.com, shakeel.butt@linux.dev, Andrii Nakryiko , Yi Lai Subject: Re: [PATCH v2 bpf] lib/buildid: handle memfd_secret() files in build_id_parse() Message-ID: <202410171938.aMzLRpxM-lkp@intel.com> References: <20241016221629.1043883-1-andrii@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241016221629.1043883-1-andrii@kernel.org> X-Stat-Signature: a83u9wurgqeg4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c08TLouYdSm1HLZxZC5G8Lsorfm3KKf+buVtWzYyrY6yquQ8V8azNuVG2RInfRHvIHtF2DadtHBBwCA7PvWsXFx6XSNUJh8gBVLeKAoSLbsCwsCacx1oZLm9rKOB5Vm2IIM5Jm7qmObsCuLHvF7+ndMeMslW9v9tTWSAdLEWAoVBtGWZFAxLxjZnRcHh/VEF0jYScSQZJITJF5hwMheVSmAF7wOVrLpOvCE/sfcg9qattDszFfl+Dem0w83PgsWCBdLBkX7z50OFQEn2KWCSyItBCyM0s7T1oTn+yZc+dBEPSkbubAfI2q/+/2g1Mc4cCMN2Set6oWl7TfxUZHNF0ei6hyT8aO7no5LrPPWFocqn5NjG6+uQeJrCSK3rdQ30l 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 Andrii, kernel test robot noticed the following build errors: [auto build test ERROR on bpf/master] url: https://github.com/intel-lab-lkp/linux/commits/Andrii-Nakryiko/lib-buildid-handle-memfd_secret-files-in-build_id_parse/20241017-061747 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git master patch link: https://lore.kernel.org/r/20241016221629.1043883-1-andrii%40kernel.org patch subject: [PATCH v2 bpf] lib/buildid: handle memfd_secret() files in build_id_parse() config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20241017/202410171938.aMzLRpxM-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241017/202410171938.aMzLRpxM-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/202410171938.aMzLRpxM-lkp@intel.com/ All errors (new ones prefixed by >>): lib/buildid.c: In function 'freader_get_folio': >> lib/buildid.c:79:14: error: implicit declaration of function 'kernel_page_present' [-Wimplicit-function-declaration] 79 | !kernel_page_present(&r->folio->page) || | ^~~~~~~~~~~~~~~~~~~ vim +/kernel_page_present +79 lib/buildid.c 58 59 static int freader_get_folio(struct freader *r, loff_t file_off) 60 { 61 /* check if we can just reuse current folio */ 62 if (r->folio && file_off >= r->folio_off && 63 file_off < r->folio_off + folio_size(r->folio)) 64 return 0; 65 66 freader_put_folio(r); 67 68 r->folio = filemap_get_folio(r->file->f_mapping, file_off >> PAGE_SHIFT); 69 70 /* if sleeping is allowed, wait for the page, if necessary */ 71 if (r->may_fault && (IS_ERR(r->folio) || !folio_test_uptodate(r->folio))) { 72 filemap_invalidate_lock_shared(r->file->f_mapping); 73 r->folio = read_cache_folio(r->file->f_mapping, file_off >> PAGE_SHIFT, 74 NULL, r->file); 75 filemap_invalidate_unlock_shared(r->file->f_mapping); 76 } 77 78 if (IS_ERR(r->folio) || > 79 !kernel_page_present(&r->folio->page) || 80 !folio_test_uptodate(r->folio)) { 81 if (!IS_ERR(r->folio)) 82 folio_put(r->folio); 83 r->folio = NULL; 84 return -EFAULT; 85 } 86 87 r->folio_off = folio_pos(r->folio); 88 r->addr = kmap_local_folio(r->folio, 0); 89 90 return 0; 91 } 92 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki