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 DD3EFD21272 for ; Thu, 17 Oct 2024 11:07:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0637D6B007B; Thu, 17 Oct 2024 07:07:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 013156B0082; Thu, 17 Oct 2024 07:07:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E1D896B0083; Thu, 17 Oct 2024 07:07:25 -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 BDB2E6B007B for ; Thu, 17 Oct 2024 07:07:25 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 338C3A11D4 for ; Thu, 17 Oct 2024 11:07:05 +0000 (UTC) X-FDA: 82682817924.14.460F345 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by imf23.hostedemail.com (Postfix) with ESMTP id 292F314000A for ; Thu, 17 Oct 2024 11:07:15 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=M0wQw5bB; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf23.hostedemail.com: domain of lkp@intel.com designates 192.198.163.13 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1729163209; a=rsa-sha256; cv=none; b=FHlFF4aNFA9dDmTs5naDisV2NsgidySRjJX+WiptGE5BHkqOAvl/MJ5HCAzvY80yaN4wZI zm9apUfiVPY6tb0mu14pIWZ1TlR3x0RtxEw8lSSvW/35bxkDG/Ce3XWVuO4m19rgfpcXQu 57Otw/MiS9lSOk6w+AedPlKU6k9Tb4Y= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=M0wQw5bB; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf23.hostedemail.com: domain of lkp@intel.com designates 192.198.163.13 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=1729163209; 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=15Rr4acVQssutnB2a2qorwuketm1XFtyUmxEYpgaN9M=; b=Gh1UoOIGniQTpgdZs4TB3hEtEbiGcE5mCXD+fbPyCcwXIb5ZlzPFri444nQD9jwvsNa00U yLQadrgf2KDrPaKuH6Sd6txKtbfKLMG0vK7mA4/e8zGF3JfQ4rgmIs20ZLhKMUytZsKovB rt4Lnn5NokJOAFdPefLydxlvuuXI57c= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729163243; x=1760699243; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=FC0Lxn6ChxB9i3JUJTg/0kuxPgCMromX4ji/2uy2t5A=; b=M0wQw5bBG+TUQhFhqU+vUcyqAik5+eFwhaZ6MQT20A80m3mX7Q5uhn0O EWgNddQk/5yiV/llFgK/rIrFBFoGbC+XITOxQSnkRfAdvRQDXzFviSuVD ewnLJRxfZlJG2BaQe+0TYCApFyOUsFd4lXnkmk4Hl/Iqc6oyTnAbQCax0 XMUWaQXACa6BLTIjB9/EvATJCbnV48VDmKhdHDnIi816Tz8phQk/k5TdK VKNys4jEznEdc1O4SCbshWwwUpnoKWSsmef8rMI8ujNndDBgiTJZaPNVJ rrrG23IZZReUTRa0df6CLzx1emNPBxaabZHJglBSzXHaZJjqCrp3xEdxP g==; X-CSE-ConnectionGUID: sCiZEKgES46BPHInzBln9g== X-CSE-MsgGUID: gp14mGxCQ6uELkQVSZ2eAQ== X-IronPort-AV: E=McAfee;i="6700,10204,11227"; a="31511696" X-IronPort-AV: E=Sophos;i="6.11,210,1725346800"; d="scan'208";a="31511696" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2024 04:07:21 -0700 X-CSE-ConnectionGUID: lnCM6PewTuiAapcXonE70g== X-CSE-MsgGUID: 9BgmUhdnQ0aqJ9sGXdEq3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,210,1725346800"; d="scan'208";a="109328173" Received: from lkp-server01.sh.intel.com (HELO a48cf1aa22e8) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 17 Oct 2024 04:07:17 -0700 Received: from kbuild by a48cf1aa22e8 with local (Exim 4.96) (envelope-from ) id 1t1OLa-000MDz-0o; Thu, 17 Oct 2024 11:07:14 +0000 Date: Thu, 17 Oct 2024 19:07:05 +0800 From: kernel test robot To: Andrii Nakryiko , bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, martin.lau@kernel.org Cc: llvm@lists.linux.dev, 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: <202410171803.RRmMX9xL-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-Rspam-User: X-Stat-Sign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YbBG lDxxMEwj Ur3vHMSIx5a/aaZmaPpqXS5vURXPRAiNc6KrowsBKHXKYUIvPGc6J3WVel2/YP1KT3OZvHr055FSXmNb03eNmTy3Mgpcf3nF2Ekv/Mjl9kZEpvvW8wz0sfefpLFfiToIAkfl7Gs4sioK/wQLLungAbFvYhn02Pv3xClucYlNWglhlVlgY5atqW5rja5WPiD9Ml9ovb1bMFqDIcAQ6gz+SjBI20W2H7jBS9ZrPHwtoI/Ww4+3hOhXswXvXiStw6Lzm8sCcSSvhptkKtv7x/NsY+NfdBcq1FZUTWXt6/9b/mvqPgacBaWu3DtIo5ShhAANinJDb08VIGl4+phQKxftzO9azynK6oiQlfKCKBNRfN0UZ63jAEXa6C6xk9rJpy4Y5hI/8 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-allnoconfig (https://download.01.org/0day-ci/archive/20241017/202410171803.RRmMX9xL-lkp@intel.com/config) compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project bfe84f7085d82d06d61c632a7bad1e692fd159e4) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241017/202410171803.RRmMX9xL-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/202410171803.RRmMX9xL-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from lib/buildid.c:5: In file included from include/linux/elf.h:6: In file included from arch/s390/include/asm/elf.h:181: In file included from arch/s390/include/asm/mmu_context.h:11: In file included from arch/s390/include/asm/pgalloc.h:18: In file included from include/linux/mm.h:2213: include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ >> lib/buildid.c:79:7: error: call to undeclared function 'kernel_page_present'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | !kernel_page_present(&r->folio->page) || | ^ 1 warning and 1 error generated. 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