Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp286500rdh; Thu, 26 Oct 2023 02:03:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFg9j2XX4VPSuI/0CtTqDV1c1o9oZi6j8Jpo6TFXsCNteiKWCVSUg8JIWSZZRoj56tLbTLK X-Received: by 2002:a05:6808:2185:b0:3af:639d:ead6 with SMTP id be5-20020a056808218500b003af639dead6mr21529533oib.36.1698311028151; Thu, 26 Oct 2023 02:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698311028; cv=none; d=google.com; s=arc-20160816; b=ksfkurFJfG0T4tKYsTOqPQyEiHSNe8TUJHdErVape3BfOuX7tiuEFaRj+2sIIe0fQ5 DtB2S7vi6/XZGvC8+BKlcz4/4n9wjl9dJe1/sOh+B+Ymreqe6D41Rl/HtFBjxUz2veQD Z4AOXwGgDkHW/SKcp4MIThu0QUIrqYxNP9xWW2T6HguYXYSLHeS4AdiHrAAuGBGOs2zl bePegKeGxoafUL+WJ1EBZANId1jpF5B/JZtIuuYBgzvSWvDkMAIsFAJ0L9PvktobbIde Vdd9/gF/uVJeCHkAbWSTsleA2IwY7vH3NHgQOA3iszyDdm1lR7XRbL44+T2XzRc8fqVQ OrZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gJ+yTQGYjs6KqtHMYr4deOaE5n0X7Vy5pB4uY4EthK0=; fh=WT152Pq/+txA0mXYibgYjvTDAg6G1dCoAAPqeGBtIRw=; b=iaDcHhUs9AoPkIUUNYWAZznz8dM4Rn+5ZQ4jMwtbE31zrs2saJ8Pmfi/ld7QUfDIgL U2hXDK12bHFBKvqYRit5XCar5nQGcidveTo9+2HqXIPEdM6b5a2MtcZBGmosNdmYR3nx Y2QeGJrbR2a7MrQIUntpeus0Cq3AjmApNUA7OmLQOW79YBgZgEShTfEO1NwCb+4FZ588 /42ism5AlWhz/L6HgRrSvXY9+AMEqchfCWJXjnOVXZDnJ+wx/VxrPnBxorXjaNNPqjOm n8zb4f2XjMprGUiT2Y2Mzme9fXlaGhr7onNe4NUlyf/hZ2DrbrP2sTrI9uyo8gGrDtCO /S8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cTWFYcXV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id r133-20020a25768b000000b00d9cd377d51fsi14053609ybc.145.2023.10.26.02.03.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 02:03:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cTWFYcXV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 63FE8829098D; Thu, 26 Oct 2023 02:03:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbjJZJDb (ORCPT + 99 others); Thu, 26 Oct 2023 05:03:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjJZJDa (ORCPT ); Thu, 26 Oct 2023 05:03:30 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 180F210E for ; Thu, 26 Oct 2023 02:03:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698311008; x=1729847008; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=tdMCYhhtdDyuQ1YyIqyhjZ6BXjSHRnJQZrR/uUizRRA=; b=cTWFYcXVXDQYzMxza63AL4Z/w3sjJKTdVjDwhaPbPaKtP8ObBIW+D6Nx 8kH1KYTgytkz5cG+nHaYWOlu8ZtPBJbK1FGJxcv1acsYkBrYkwIEFnu7S Ecwz+GwPVhVR/wF6w/WMylBLnoFqgZnykN152licc735DVfBi54FgyyFc IZcDfCSSjp29WdlszP1EtiI3p1/vJaJqUF7FOy1aJPEldJT2SmS7ouTrL HDb8VdQXy1yHHKX7ZNTUQwz3uzQCiRD7V5i+YGV+KXJyR8TkO1oHso8y+ roLZ6aX15iRdYCzOhcJ9Pi4CuOUeK489BL2B2Q8Nsu/aPzsJ3bzQBsFgP w==; X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="386376293" X-IronPort-AV: E=Sophos;i="6.03,253,1694761200"; d="scan'208";a="386376293" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2023 02:03:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="752648781" X-IronPort-AV: E=Sophos;i="6.03,253,1694761200"; d="scan'208";a="752648781" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 26 Oct 2023 02:03:13 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qvwGl-0009fP-1J; Thu, 26 Oct 2023 09:03:11 +0000 Date: Thu, 26 Oct 2023 17:02:22 +0800 From: kernel test robot To: Juergen Gross , linux-kernel@vger.kernel.org, x86@kernel.org, virtualization@lists.linux-foundation.org Cc: oe-kbuild-all@lists.linux.dev, Juergen Gross , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Peter Zijlstra Subject: Re: [PATCH v3 4/5] x86/paravirt: switch mixed paravirt/alternative calls to alternative_2 Message-ID: <202310261653.LKIRqagq-lkp@intel.com> References: <20231019091520.14540-5-jgross@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231019091520.14540-5-jgross@suse.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 26 Oct 2023 02:03:44 -0700 (PDT) Hi Juergen, kernel test robot noticed the following build errors: [auto build test ERROR on kvm/queue] [also build test ERROR on tip/master linus/master v6.6-rc7 next-20231025] [cannot apply to tip/x86/core kvm/linux-next tip/auto-latest] [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/Juergen-Gross/x86-paravirt-move-some-functions-and-defines-to-alternative/20231019-171709 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue patch link: https://lore.kernel.org/r/20231019091520.14540-5-jgross%40suse.com patch subject: [PATCH v3 4/5] x86/paravirt: switch mixed paravirt/alternative calls to alternative_2 config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231026/202310261653.LKIRqagq-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/20231026/202310261653.LKIRqagq-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202310261653.LKIRqagq-lkp@intel.com/ All errors (new ones prefixed by >>): arch/x86/entry/entry_64.S: Assembler messages: >> arch/x86/entry/entry_64.S:454: Error: no such instruction: `alt_call_instr' arch/x86/entry/entry_64.S:319: Info: macro invoked from here arch/x86/entry/entry_64.S:1138: Info: macro invoked from here vim +454 arch/x86/entry/entry_64.S 6368558c37107b Thomas Gleixner 2020-05-21 442 cfa82a00533f70 Thomas Gleixner 2020-02-25 443 /** cfa82a00533f70 Thomas Gleixner 2020-02-25 444 * idtentry_mce_db - Macro to generate entry stubs for #MC and #DB cfa82a00533f70 Thomas Gleixner 2020-02-25 445 * @vector: Vector number cfa82a00533f70 Thomas Gleixner 2020-02-25 446 * @asmsym: ASM symbol for the entry point cfa82a00533f70 Thomas Gleixner 2020-02-25 447 * @cfunc: C function to be called cfa82a00533f70 Thomas Gleixner 2020-02-25 448 * cfa82a00533f70 Thomas Gleixner 2020-02-25 449 * The macro emits code to set up the kernel context for #MC and #DB cfa82a00533f70 Thomas Gleixner 2020-02-25 450 * cfa82a00533f70 Thomas Gleixner 2020-02-25 451 * If the entry comes from user space it uses the normal entry path cfa82a00533f70 Thomas Gleixner 2020-02-25 452 * including the return to user space work and preemption checks on cfa82a00533f70 Thomas Gleixner 2020-02-25 453 * exit. cfa82a00533f70 Thomas Gleixner 2020-02-25 @454 * cfa82a00533f70 Thomas Gleixner 2020-02-25 455 * If hits in kernel mode then it needs to go through the paranoid cfa82a00533f70 Thomas Gleixner 2020-02-25 456 * entry as the exception can hit any random state. No preemption cfa82a00533f70 Thomas Gleixner 2020-02-25 457 * check on exit to keep the paranoid path simple. cfa82a00533f70 Thomas Gleixner 2020-02-25 458 */ cfa82a00533f70 Thomas Gleixner 2020-02-25 459 .macro idtentry_mce_db vector asmsym cfunc cfa82a00533f70 Thomas Gleixner 2020-02-25 460 SYM_CODE_START(\asmsym) 4708ea14bef314 Josh Poimboeuf 2023-03-01 461 UNWIND_HINT_IRET_ENTRY 8f93402b92d443 Peter Zijlstra 2022-03-08 462 ENDBR cfa82a00533f70 Thomas Gleixner 2020-02-25 463 ASM_CLAC c64cc2802a784e Lai Jiangshan 2022-04-21 464 cld cfa82a00533f70 Thomas Gleixner 2020-02-25 465 cfa82a00533f70 Thomas Gleixner 2020-02-25 466 pushq $-1 /* ORIG_RAX: no syscall to restart */ cfa82a00533f70 Thomas Gleixner 2020-02-25 467 cfa82a00533f70 Thomas Gleixner 2020-02-25 468 /* cfa82a00533f70 Thomas Gleixner 2020-02-25 469 * If the entry is from userspace, switch stacks and treat it as cfa82a00533f70 Thomas Gleixner 2020-02-25 470 * a normal entry. cfa82a00533f70 Thomas Gleixner 2020-02-25 471 */ cfa82a00533f70 Thomas Gleixner 2020-02-25 472 testb $3, CS-ORIG_RAX(%rsp) cfa82a00533f70 Thomas Gleixner 2020-02-25 473 jnz .Lfrom_usermode_switch_stack_\@ cfa82a00533f70 Thomas Gleixner 2020-02-25 474 c82965f9e53005 Chang S. Bae 2020-05-28 475 /* paranoid_entry returns GS information for paranoid_exit in EBX. */ cfa82a00533f70 Thomas Gleixner 2020-02-25 476 call paranoid_entry cfa82a00533f70 Thomas Gleixner 2020-02-25 477 cfa82a00533f70 Thomas Gleixner 2020-02-25 478 UNWIND_HINT_REGS cfa82a00533f70 Thomas Gleixner 2020-02-25 479 cfa82a00533f70 Thomas Gleixner 2020-02-25 480 movq %rsp, %rdi /* pt_regs pointer */ cfa82a00533f70 Thomas Gleixner 2020-02-25 481 cfa82a00533f70 Thomas Gleixner 2020-02-25 482 call \cfunc cfa82a00533f70 Thomas Gleixner 2020-02-25 483 cfa82a00533f70 Thomas Gleixner 2020-02-25 484 jmp paranoid_exit cfa82a00533f70 Thomas Gleixner 2020-02-25 485 cfa82a00533f70 Thomas Gleixner 2020-02-25 486 /* Switch to the regular task stack and use the noist entry point */ cfa82a00533f70 Thomas Gleixner 2020-02-25 487 .Lfrom_usermode_switch_stack_\@: e2dcb5f1390715 Thomas Gleixner 2020-05-21 488 idtentry_body noist_\cfunc, has_error_code=0 cfa82a00533f70 Thomas Gleixner 2020-02-25 489 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki