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 CE047C282D1 for ; Sun, 9 Mar 2025 11:38:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 210B5280002; Sun, 9 Mar 2025 07:38:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1BF9B280001; Sun, 9 Mar 2025 07:38:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0890A280002; Sun, 9 Mar 2025 07:38:12 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id E2CAD280001 for ; Sun, 9 Mar 2025 07:38:11 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 785C7AC16A for ; Sun, 9 Mar 2025 11:38:12 +0000 (UTC) X-FDA: 83201814024.07.CBFF2E7 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by imf10.hostedemail.com (Postfix) with ESMTP id BECAFC0003 for ; Sun, 9 Mar 2025 11:38:09 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=APqmJIg2; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf10.hostedemail.com: domain of lkp@intel.com designates 192.198.163.16 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1741520290; a=rsa-sha256; cv=none; b=C8NgvZdcAv3fKAATGY7EIo/kDnXo0QCye/BYhyxi1/JZUgyXaDhUEFmE0eupKdx7v81p4q U+58Dc5fiDf4BEdHnSb7jVc7pdK2vFldMONqhRvaNIYgp4H0wu/zUdeviA31MSiY6/u8zc atNG7N0yyaco1RNhH6gWWI5EGp193eM= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=APqmJIg2; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf10.hostedemail.com: domain of lkp@intel.com designates 192.198.163.16 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=1741520290; 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=x8UMRyhGNMEoKvCIsao+H0VNJZWy3TvfqNiRqpBmX2M=; b=bT7wIioMMOS5T40hC4aD3B9tz1b5fHgHtXhpAvsAb2cH0SXTOW7UVcwrGsRBgyJ4SvoWwD ohPR5Skf9gLaDU+iiwq8Vb+882mMppxVgkenOwkJjBehDLObhGykO7GfLfmkjhKTUe1kqm vp+h52EH0zDCseX8bOuE5cur/ayDVSk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1741520290; x=1773056290; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4nucg4CoauwA5kAPnRFSbGlLG8bVoifutuzMWDupJwo=; b=APqmJIg2PRqOEnZ6K8Tn2TB66K5ADeUqb1k0PoZqaJ/aPH2ufrNQRNa0 9c64+pJ/PZOSCn8g3eqUwNGwKWl//L5OINVs3BNuzeDNnW8G4sJjMzCiP uxe+YwCvb7jNOrwdRa8SZl5irUdSQBD9w3wpc5iEyy1FeewYvvlKB0D3Q Zzm3KCjJRn9s4J7hxn5LHsPRUkvCDZsFrnfHEsGJveuuMnuZwlFHlOxBo m1VTLgSk8BEi+ovpEpXJ/g1zvfhr76W4T9kFaD/Bwun6FJIXTMUPbUGD9 0n2Jg+k4htyY3fA+ia0upBHFNDyR5BZPKMTPrlDcqWPbJD3P7dVWJ2/3f Q==; X-CSE-ConnectionGUID: umYKCja1QJKebV8dlYVo2A== X-CSE-MsgGUID: fY4gw5AhT/qb7IdcIGnoVA== X-IronPort-AV: E=McAfee;i="6700,10204,11367"; a="30100067" X-IronPort-AV: E=Sophos;i="6.14,234,1736841600"; d="scan'208";a="30100067" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2025 04:38:07 -0700 X-CSE-ConnectionGUID: w5jE01DjQaGnYl4VkIt9VQ== X-CSE-MsgGUID: f5fOJWxjTFWCT8UaKUILFQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.14,234,1736841600"; d="scan'208";a="119710154" Received: from lkp-server02.sh.intel.com (HELO a4747d147074) ([10.239.97.151]) by orviesa006.jf.intel.com with ESMTP; 09 Mar 2025 04:38:01 -0700 Received: from kbuild by a4747d147074 with local (Exim 4.96) (envelope-from ) id 1trEyl-00033I-1s; Sun, 09 Mar 2025 11:37:59 +0000 Date: Sun, 9 Mar 2025 19:37:54 +0800 From: kernel test robot To: Alice Ryhl , Miguel Ojeda , Matthew Wilcox , Lorenzo Stoakes , Vlastimil Babka , John Hubbard , "Liam R. Howlett" , Andrew Morton , Greg Kroah-Hartman , Arnd Bergmann , Jann Horn , Suren Baghdasaryan Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Trevor Gross , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, Alice Ryhl Subject: Re: [PATCH v15 5/9] mm: rust: add mmput_async support Message-ID: <202503091916.QousmtcY-lkp@intel.com> References: <20250304-vma-v15-5-5c641b31980a@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250304-vma-v15-5-5c641b31980a@google.com> X-Rspamd-Queue-Id: BECAFC0003 X-Stat-Signature: 5y5x76q8bao355d7e1he7ry1ipzzd36x X-Rspamd-Server: rspam02 X-Rspam-User: X-HE-Tag: 1741520289-563299 X-HE-Meta: U2FsdGVkX18ar3QRqrDCks69RDIgbiPlUsu+r+Ap5HlFKp0XNIdfe1AnK2/t+FMr9m0VE9dNJQEeHoME/Csp4FBJyUYxx91HGgjvgUArW3ON13KhlC7qQ88tTJhQIhuRLA2MYojPvxWFqsnED4+ge1IpXeOKgJ3zkb/n2lY1QrSwjJuIQTGNmKOUKY+gFPUdltWuV5FGEZ6+KOT5Dd42MWZ8fGAWP7H3ztMhTR9tzuIt/mQaT4RqIsgkdDVkHhs3z1mJa4+zcWbBlOw78ChyUI/WNgS4VJQxpluGr8o27mHhcuPUrKJTjj6guSubX2WtCsZuULgc0W7wbEcyh46mZexqOBwRRO5OtZZ5dbD6uy/Mqt/TUcOMSV0uJRMPEbhjY8jhXH/xcTrfYc8eVR58Hc0AAULxnSr5Dv5f9o+vwhL0cEx7QHXNBtTCWOEyP1FxHMHn01fibeTKC89HVFzDauEzd10tx8rM3B3/2vE6MFj8fYFTMcp5wcvj7y1KM2q4sXElqV2Shwt+PBsC2HDJKFKqFr6vVi8v+lZB8ElYOLza7FVVVALudtvy0zC+NafreL/1Q8zjBd9IpT4+EcFVZDSrjmrlzBq1JaWy/W6R+vTR2U6k7DRPxbaht5GuvWbXPYaLscM7X+PbYoupv/fug6zoAL/NEIhwYwbIyS/K3veKFwN2YoXff3uw63dx4lSx14uEfW+CKXsCo1RYXMaYf/u1+Y6R3rK/1AJgj+RmNLu9AvgA6dZji9Re/AaJuZhfw595NCvyFiU2UPPyo2KUq2PnKAWnAc1GQYEKPesN/uWYd6oCWD10woTAcTUwVheG8KfvuVO5I815SpZlJpLLVACA3AWe2RPSduknKDkpWC3KsLEUHs1vB9JiVG1rmu437DfycYkTuyhSU5tMtL889XKheVuG6TKvuZDouArCyqPFQ7XvYsuTg+Lz5K27QneW4mZnMNvVNnFpx3tBWxk xJ4m9nCf xT5iq23Q4S93fY6f4NOleq8fc0J6njP84jSYDopUkdqonTZOUm38U0Izm2CqibqHk0tM2bg9ro07SerjDpIyJhEd6MN/VlEMHdzv8fQqfBr7lB2P7VbBgccd2CxA7ZCtCxsEnxZbQ1fhHGZyof5Q4FkZi4zbg4dU4mrOOAnxo9TPtSBGtf4Jg1p/j5iJcEHC0+vNs+MDT2Mv2Pz9XXHEhFupaYAYWrNetFtp5p29tKm2WunRpVf+2rQD9LED953p7p8SVo7xj28PxHe+1OA0gNkdu1qICW0ubqx3+4luyMNNdmOkkcDlIuh5Kv3ZRXVSpzZURUU5I9g1g76qNMga4+vjtTJGYluqNuRh8uH2q6gm0uxB/GWOo/F8VR04xSUNXT3e2FTRRqQeUSjaKA17G3lxQIBYhBhhh8J5M36ZFrDhovKJui1jBBan1mQDfB5d9utDSxSiIkwNLtCvgSV8VjSOY11R4JKIjyAVa X-Bogosity: Unsure, tests=bogofilter, spamicity=0.465002, 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 Alice, kernel test robot noticed the following build errors: [auto build test ERROR on a64dcfb451e254085a7daee5fe51bf22959d52d3] url: https://github.com/intel-lab-lkp/linux/commits/Alice-Ryhl/mm-rust-add-abstraction-for-struct-mm_struct/20250304-195314 base: a64dcfb451e254085a7daee5fe51bf22959d52d3 patch link: https://lore.kernel.org/r/20250304-vma-v15-5-5c641b31980a%40google.com patch subject: [PATCH v15 5/9] mm: rust: add mmput_async support config: riscv-randconfig-r113-20250309 (https://download.01.org/0day-ci/archive/20250309/202503091916.QousmtcY-lkp@intel.com/config) compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project e15545cad8297ec7555f26e5ae74a9f0511203e7) reproduce: (https://download.01.org/0day-ci/archive/20250309/202503091916.QousmtcY-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/202503091916.QousmtcY-lkp@intel.com/ All errors (new ones prefixed by >>): 820 | insl(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:106:53: note: expanded from macro 'insl' 106 | #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from rust/helpers/helpers.c:10: In file included from rust/helpers/blk.c:3: In file included from include/linux/blk-mq.h:5: In file included from include/linux/blkdev.h:9: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/riscv/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:829:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 829 | outsb(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:118:55: note: expanded from macro 'outsb' 118 | #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from rust/helpers/helpers.c:10: In file included from rust/helpers/blk.c:3: In file included from include/linux/blk-mq.h:5: In file included from include/linux/blkdev.h:9: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/riscv/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:838:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 838 | outsw(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:119:55: note: expanded from macro 'outsw' 119 | #define outsw(addr, buffer, count) __outsw(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from rust/helpers/helpers.c:10: In file included from rust/helpers/blk.c:3: In file included from include/linux/blk-mq.h:5: In file included from include/linux/blkdev.h:9: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/riscv/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:847:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 847 | outsl(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:120:55: note: expanded from macro 'outsl' 120 | #define outsl(addr, buffer, count) __outsl(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from rust/helpers/helpers.c:10: In file included from rust/helpers/blk.c:3: In file included from include/linux/blk-mq.h:5: In file included from include/linux/blkdev.h:9: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/riscv/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:1175:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 1175 | return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port; | ~~~~~~~~~~ ^ clang diag: arch/riscv/include/asm/io.h:104:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:105:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:106:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:118:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:119:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:120:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: include/asm-generic/io.h:1175:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 7 warnings generated. clang diag: arch/riscv/include/asm/io.h:104:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:105:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:106:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:118:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:119:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:120:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: include/asm-generic/io.h:1175:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:104:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:105:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:106:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:118:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:119:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:120:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: include/asm-generic/io.h:1175:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] >> error[E0425]: cannot find function `mmput_async` in crate `bindings` --> rust/kernel/mm.rs:143:28 | 143 | unsafe { bindings::mmput_async(obj.cast().as_ptr()) }; | ^^^^^^^^^^^ not found in `bindings` -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki