Content-Type: multipart/mixed; boundary="===============5424824544880957576==" MIME-Version: 1.0 From: Miroslav Benes To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 2/2] x86/xen: Make the secondary CPU idle tasks reliable Date: Mon, 23 Mar 2020 10:48:53 +0100 Message-ID: In-Reply-To: <202003231515.3XZt3F1A%lkp@intel.com> List-Id: --===============5424824544880957576== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Mon, 23 Mar 2020, kbuild test robot wrote: > Hi Miroslav, > = > I love your patch! Yet something to improve: > = > [auto build test ERROR on xen-tip/linux-next] > [also build test ERROR on v5.6-rc7 next-20200320] > [if your patch is applied to the wrong git tree, please drop us a note to= help > improve the system. BTW, we also suggest to use '--base' option to specif= y the > base tree in git format-patch, please see https://stackoverflow.com/a/374= 06982] > = > url: https://github.com/0day-ci/linux/commits/Miroslav-Benes/x86-xen-M= ake-idle-tasks-reliable/20200320-000757 > base: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git linux= -next > config: x86_64-randconfig-a003-20200322 (attached as .config) > compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010 > reproduce: > # save the attached .config to linux build tree > make ARCH=3Dx86_64 = > = > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot > = > All errors (new ones prefixed by >>): > = > ld: arch/x86/kernel/head_64.o: in function `asm_cpu_bringup_and_idle': > >> arch/x86/kernel/../../x86/xen/xen-head.S:66: undefined reference to `c= pu_bringup_and_idle' > = > vim +66 arch/x86/kernel/../../x86/xen/xen-head.S > = > 57 = > 58 call xen_start_kernel > 59 SYM_CODE_END(startup_xen) > 60 __FINIT > 61 = > 62 .pushsection .text > 63 SYM_CODE_START(asm_cpu_bringup_and_idle) > 64 UNWIND_HINT_EMPTY > 65 = > > 66 call cpu_bringup_and_idle > 67 SYM_CODE_END(asm_cpu_bringup_and_idle) > 68 .popsection > 69 #endif > 70 = Right, cpu_bringup_and_idle() is there only for CONFIG_XEN_PV_SMP. --- diff --git a/arch/x86/xen/xen-head.S b/arch/x86/xen/xen-head.S index 9dc6f9a420a8..436e91007361 100644 --- a/arch/x86/xen/xen-head.S +++ b/arch/x86/xen/xen-head.S @@ -59,6 +59,7 @@ SYM_CODE_START(startup_xen) SYM_CODE_END(startup_xen) __FINIT = +#ifdef CONFIG_XEN_PV_SMP .pushsection .text SYM_CODE_START(asm_cpu_bringup_and_idle) UNWIND_HINT_EMPTY @@ -67,6 +68,7 @@ SYM_CODE_START(asm_cpu_bringup_and_idle) SYM_CODE_END(asm_cpu_bringup_and_idle) .popsection #endif +#endif = .pushsection .text .balign PAGE_SIZE --- on fixes that. Thanks Miroslav --===============5424824544880957576==--