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 5EA36C433EF for ; Fri, 20 May 2022 13:39:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CB4266B0072; Fri, 20 May 2022 09:39:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C3BE96B0073; Fri, 20 May 2022 09:39:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AB5DD6B0075; Fri, 20 May 2022 09:39:54 -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 9B3A56B0072 for ; Fri, 20 May 2022 09:39:54 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay12.hostedemail.com (Postfix) with ESMTP id 61FE31217D1 for ; Fri, 20 May 2022 13:39:54 +0000 (UTC) X-FDA: 79486229508.25.6D7D045 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf10.hostedemail.com (Postfix) with ESMTP id 82BD9C00AB for ; Fri, 20 May 2022 13:39:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653053992; x=1684589992; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=tEsNkD67VlMRMMbJpoolW2AuTZVamWWhFYXi0Uoe5Js=; b=aGy5tPIFkNtD5JzqPTC8h8ztmUoM9gJpHL/0gLax/PbvbVRoLrjYaFZm M+AMMWZsDSvRvkqDDmhhOddlaenP3bFXH+8Nopuzq3vl94wUvtopwphH0 tFKctlTMInFq3TOr/FWb5+BUOhVDeDJn463+PiN2XckE4VkpVfNjvzWMd fD2O8RYWOAkd5I0s2DK96Y6qAUvdh0tzZjgHsBbHFIDYPArnoRoe3OsK6 XfyyBIPCnDj42WFjkk3LmsYoWScGfntbaatYtJaZ3bOF4nHSLKav1QKqL 29ROIKzQQD265493ZkUwZJ8xA8AoMYoFzAkymiCGCCKf4+Xza3kUJdpZT w==; X-IronPort-AV: E=McAfee;i="6400,9594,10353"; a="254666009" X-IronPort-AV: E=Sophos;i="5.91,239,1647327600"; d="scan'208";a="254666009" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2022 06:39:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,239,1647327600"; d="scan'208";a="818556999" Received: from lkp-server02.sh.intel.com (HELO 242b25809ac7) ([10.239.97.151]) by fmsmga006.fm.intel.com with ESMTP; 20 May 2022 06:39:46 -0700 Received: from kbuild by 242b25809ac7 with local (Exim 4.95) (envelope-from ) id 1ns2r3-0004k5-Eb; Fri, 20 May 2022 13:39:45 +0000 Date: Fri, 20 May 2022 21:39:32 +0800 From: kernel test robot To: zhenwei pi , akpm@linux-foundation.org, naoya.horiguchi@nec.com, mst@redhat.com, david@redhat.com Cc: kbuild-all@lists.01.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, jasowang@redhat.com, virtualization@lists.linux-foundation.org, pbonzini@redhat.com, peterx@redhat.com, qemu-devel@nongnu.org, zhenwei pi Subject: Re: [PATCH 3/3] virtio_balloon: Introduce memory recover Message-ID: <202205202151.7T3K7Szf-lkp@intel.com> References: <20220520070648.1794132-4-pizhenwei@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220520070648.1794132-4-pizhenwei@bytedance.com> X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 82BD9C00AB X-Stat-Signature: ts1xgoybtajucn96nkjs9xcuisz86hqw X-Rspam-User: Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=aGy5tPIF; spf=none (imf10.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.126) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-HE-Tag: 1653053960-620059 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: Hi zhenwei, Thank you for the patch! Yet something to improve: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on next-20220519] [cannot apply to linux/master linus/master v5.18-rc7] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/zhenwei-pi/recover-hardware-corrupted-page-by-virtio-balloon/20220520-151328 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything config: nios2-randconfig-r002-20220519 (https://download.01.org/0day-ci/archive/20220520/202205202151.7T3K7Szf-lkp@intel.com/config) compiler: nios2-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/a42127073dd4adb6354649c8235c5cde033d01f2 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review zhenwei-pi/recover-hardware-corrupted-page-by-virtio-balloon/20220520-151328 git checkout a42127073dd4adb6354649c8235c5cde033d01f2 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=nios2 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): nios2-linux-ld: drivers/virtio/virtio_balloon.o: in function `unpoison_memory_func': >> drivers/virtio/virtio_balloon.c:679: undefined reference to `unpoison_memory' drivers/virtio/virtio_balloon.c:679:(.text+0xc00): relocation truncated to fit: R_NIOS2_CALL26 against `unpoison_memory' nios2-linux-ld: drivers/virtio/virtio_balloon.o: in function `virtballoon_probe': >> drivers/virtio/virtio_balloon.c:1247: undefined reference to `register_memory_failure_notifier' drivers/virtio/virtio_balloon.c:1247:(.text+0x1940): relocation truncated to fit: R_NIOS2_CALL26 against `register_memory_failure_notifier' nios2-linux-ld: drivers/virtio/virtio_balloon.o: in function `virtballoon_remove': >> drivers/virtio/virtio_balloon.c:1323: undefined reference to `unregister_memory_failure_notifier' drivers/virtio/virtio_balloon.c:1323:(.text+0x1bcc): relocation truncated to fit: R_NIOS2_CALL26 against `unregister_memory_failure_notifier' vim +679 drivers/virtio/virtio_balloon.c 661 662 static void unpoison_memory_func(struct work_struct *work) 663 { 664 struct virtio_balloon *vb; 665 struct page *page; 666 667 vb = container_of(work, struct virtio_balloon, unpoison_memory_work); 668 669 do { 670 spin_lock(&vb->recover_page_list_lock); 671 page = list_first_entry_or_null(&vb->recovered_page_list, 672 struct page, lru); 673 if (page) 674 list_del(&page->lru); 675 spin_unlock(&vb->recover_page_list_lock); 676 677 if (page) { 678 put_page(page); > 679 unpoison_memory(page_to_pfn(page), true, "virtio-balloon"); 680 } 681 } while (page); 682 } 683 -- 0-DAY CI Kernel Test Service https://01.org/lkp