[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202504052022.avvx45LI-lkp@intel.com>
Date: Sat, 5 Apr 2025 20:45:30 +0800
From: kernel test robot <lkp@...el.com>
To: Roger Pau Monne <roger.pau@...rix.com>, Juergen Gross <jgross@...e.com>,
xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>,
Stefano Stabellini <sstabellini@...nel.org>,
Oleksandr Tyshchenko <oleksandr_tyshchenko@...m.com>
Subject: Re: [PATCH v2] x86/xen: fix balloon target initialization for PVH
dom0
Hi Roger,
kernel test robot noticed the following build errors:
[auto build test ERROR on xen-tip/linux-next]
[also build test ERROR on tip/x86/core linus/master v6.14 next-20250404]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Roger-Pau-Monne/x86-xen-fix-balloon-target-initialization-for-PVH-dom0/20250404-214218
base: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git linux-next
patch link: https://lore.kernel.org/r/20250404133459.16125-1-roger.pau%40citrix.com
patch subject: [PATCH v2] x86/xen: fix balloon target initialization for PVH dom0
config: x86_64-buildonly-randconfig-001-20250405 (https://download.01.org/0day-ci/archive/20250405/202504052022.avvx45LI-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250405/202504052022.avvx45LI-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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504052022.avvx45LI-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: drivers/xen/balloon.o: in function `balloon_init':
>> drivers/xen/balloon.c:727: undefined reference to `xen_released_pages'
vim +727 drivers/xen/balloon.c
716
717 static int __init balloon_init(void)
718 {
719 struct task_struct *task;
720 int rc;
721
722 if (!xen_domain())
723 return -ENODEV;
724
725 pr_info("Initialising balloon driver\n");
726
> 727 if (xen_released_pages >= get_num_physpages()) {
728 WARN(1, "Released pages underflow current target");
729 return -ERANGE;
730 }
731
732 balloon_stats.current_pages = get_num_physpages() - xen_released_pages;
733 balloon_stats.target_pages = balloon_stats.current_pages;
734 balloon_stats.balloon_low = 0;
735 balloon_stats.balloon_high = 0;
736 balloon_stats.total_pages = balloon_stats.current_pages;
737
738 balloon_stats.schedule_delay = 1;
739 balloon_stats.max_schedule_delay = 32;
740 balloon_stats.retry_count = 1;
741 balloon_stats.max_retry_count = 4;
742
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists