All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v15 1/9] arm64: Probe for the presence of KVM hypervisor
Date: Thu, 12 Nov 2020 00:54:15 +0800	[thread overview]
Message-ID: <202011120031.pXI3yHun-lkp@intel.com> (raw)
In-Reply-To: <20201111062211.33144-2-jianyong.wu@arm.com>

[-- Attachment #1: Type: text/plain, Size: 4576 bytes --]

Hi Jianyong,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.10-rc3 next-20201111]
[cannot apply to tip/timers/core kvmarm/next kvm/linux-next]
[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/0day-ci/linux/commits/Jianyong-Wu/Enable-ptp_kvm-for-arm-arm64/20201111-142600
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git eccc876724927ff3b9ff91f36f7b6b159e948f0c
config: arm-randconfig-r006-20201111 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.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/0day-ci/linux/commit/863f46b4f315744c8460d39c4e212737fecb4de9
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Jianyong-Wu/Enable-ptp_kvm-for-arm-arm64/20201111-142600
        git checkout 863f46b4f315744c8460d39c4e212737fecb4de9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arm-linux-gnueabi-ld: arch/arm/kernel/setup.o: in function `setup_arch':
>> arch/arm/kernel/setup.c:1148: undefined reference to `kvm_init_hyp_services'

vim +1148 arch/arm/kernel/setup.c

  1081	
  1082	void __init setup_arch(char **cmdline_p)
  1083	{
  1084		const struct machine_desc *mdesc;
  1085	
  1086		setup_processor();
  1087		mdesc = setup_machine_fdt(__atags_pointer);
  1088		if (!mdesc)
  1089			mdesc = setup_machine_tags(__atags_pointer, __machine_arch_type);
  1090		if (!mdesc) {
  1091			early_print("\nError: invalid dtb and unrecognized/unsupported machine ID\n");
  1092			early_print("  r1=0x%08x, r2=0x%08x\n", __machine_arch_type,
  1093				    __atags_pointer);
  1094			if (__atags_pointer)
  1095				early_print("  r2[]=%*ph\n", 16,
  1096					    phys_to_virt(__atags_pointer));
  1097			dump_machine_table();
  1098		}
  1099	
  1100		machine_desc = mdesc;
  1101		machine_name = mdesc->name;
  1102		dump_stack_set_arch_desc("%s", mdesc->name);
  1103	
  1104		if (mdesc->reboot_mode != REBOOT_HARD)
  1105			reboot_mode = mdesc->reboot_mode;
  1106	
  1107		init_mm.start_code = (unsigned long) _text;
  1108		init_mm.end_code   = (unsigned long) _etext;
  1109		init_mm.end_data   = (unsigned long) _edata;
  1110		init_mm.brk	   = (unsigned long) _end;
  1111	
  1112		/* populate cmd_line too for later use, preserving boot_command_line */
  1113		strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE);
  1114		*cmdline_p = cmd_line;
  1115	
  1116		early_fixmap_init();
  1117		early_ioremap_init();
  1118	
  1119		parse_early_param();
  1120	
  1121	#ifdef CONFIG_MMU
  1122		early_mm_init(mdesc);
  1123	#endif
  1124		setup_dma_zone(mdesc);
  1125		xen_early_init();
  1126		efi_init();
  1127		/*
  1128		 * Make sure the calculation for lowmem/highmem is set appropriately
  1129		 * before reserving/allocating any mmeory
  1130		 */
  1131		adjust_lowmem_bounds();
  1132		arm_memblock_init(mdesc);
  1133		/* Memory may have been removed so recalculate the bounds. */
  1134		adjust_lowmem_bounds();
  1135	
  1136		early_ioremap_reset();
  1137	
  1138		paging_init(mdesc);
  1139		request_standard_resources(mdesc);
  1140	
  1141		if (mdesc->restart)
  1142			arm_pm_restart = mdesc->restart;
  1143	
  1144		unflatten_device_tree();
  1145	
  1146		arm_dt_init_cpu_maps();
  1147		psci_dt_init();
> 1148		kvm_init_hyp_services();
  1149	#ifdef CONFIG_SMP
  1150		if (is_smp()) {
  1151			if (!mdesc->smp_init || !mdesc->smp_init()) {
  1152				if (psci_smp_available())
  1153					smp_set_ops(&psci_smp_ops);
  1154				else if (mdesc->smp)
  1155					smp_set_ops(mdesc->smp);
  1156			}
  1157			smp_init_cpus();
  1158			smp_build_mpidr_hash();
  1159		}
  1160	#endif
  1161	
  1162		if (!is_smp())
  1163			hyp_mode_check();
  1164	
  1165		reserve_crashkernel();
  1166	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27426 bytes --]

  parent reply	other threads:[~2020-11-11 16:54 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11  6:22 [PATCH v15 0/9] Enable ptp_kvm for arm/arm64 Jianyong Wu
2020-11-11  6:22 ` Jianyong Wu
2020-11-11  6:22 ` Jianyong Wu
2020-11-11  6:22 ` [PATCH v15 1/9] arm64: Probe for the presence of KVM hypervisor Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11 10:38   ` kernel test robot
2020-11-11 12:23   ` kernel test robot
2020-11-11 16:54   ` kernel test robot [this message]
2020-11-11  6:22 ` [PATCH v15 2/9] arm/arm64: KVM: Advertise KVM UID to guests via SMCCC Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22 ` [PATCH v15 3/9] ptp: Reorganize ptp_kvm module to make it arch-independent Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11 13:10   ` kernel test robot
2020-11-11 14:36   ` kernel test robot
2020-11-11  6:22 ` [PATCH v15 4/9] time: Add mechanism to recognize clocksource in time_get_snapshot Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22 ` [PATCH v15 5/9] clocksource: Add clocksource id for arm arch counter Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22 ` [PATCH v15 6/9] arm64/kvm: Add hypercall service for kvm ptp Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-23 10:44   ` Marc Zyngier
2020-11-23 10:44     ` Marc Zyngier
2020-11-23 10:44     ` Marc Zyngier
2020-11-23 11:59     ` Marc Zyngier
2020-11-23 11:59       ` Marc Zyngier
2020-11-23 11:59       ` Marc Zyngier
2020-11-24  5:11       ` Jianyong Wu
2020-11-24  5:11         ` Jianyong Wu
2020-11-24  5:11         ` Jianyong Wu
2020-11-24  5:20     ` Jianyong Wu
2020-11-24  5:20       ` Jianyong Wu
2020-11-24  5:20       ` Jianyong Wu
2020-11-24  9:07       ` Marc Zyngier
2020-11-24  9:07         ` Marc Zyngier
2020-11-24  9:07         ` Marc Zyngier
2020-11-24 10:14         ` Jianyong Wu
2020-11-24 10:14           ` Jianyong Wu
2020-11-24 10:14           ` Jianyong Wu
2020-11-11  6:22 ` [PATCH v15 7/9] ptp: arm/arm64: Enable ptp_kvm for arm/arm64 Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  8:52   ` kernel test robot
2020-11-11 13:44   ` kernel test robot
2020-12-04  9:46     ` Jianyong Wu
2020-11-23 10:49   ` Marc Zyngier
2020-11-23 10:49     ` Marc Zyngier
2020-11-23 10:49     ` Marc Zyngier
2020-11-24  5:37     ` Jianyong Wu
2020-11-24  5:37       ` Jianyong Wu
2020-11-24  5:37       ` Jianyong Wu
2020-11-24  9:04       ` Marc Zyngier
2020-11-24  9:04         ` Marc Zyngier
2020-11-24  9:04         ` Marc Zyngier
2020-11-24 10:18         ` Jianyong Wu
2020-11-24 10:18           ` Jianyong Wu
2020-11-24 10:18           ` Jianyong Wu
2020-11-11  6:22 ` [PATCH v15 8/9] doc: add ptp_kvm introduction for arm64 support Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-23 10:58   ` Marc Zyngier
2020-11-23 10:58     ` Marc Zyngier
2020-11-23 10:58     ` Marc Zyngier
2020-11-24  5:21     ` Jianyong Wu
2020-11-24  5:21       ` Jianyong Wu
2020-11-24  5:21       ` Jianyong Wu
2020-11-11  6:22 ` [PATCH v15 9/9] arm64: Add kvm capability check extension for ptp_kvm Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-11  6:22   ` Jianyong Wu
2020-11-23  9:26 ` [PATCH v15 0/9] Enable ptp_kvm for arm/arm64 Jianyong Wu
2020-11-23  9:26   ` Jianyong Wu
2020-11-23  9:26   ` Jianyong Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202011120031.pXI3yHun-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.