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-...@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-...@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 <l...@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202504052022.avvx45li-...@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