Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp630569lqp; Fri, 5 Apr 2024 04:32:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXOtJRVIaETQ2xksEzqogJC4/2x11SHDfnTiwlL9OVavSUX0JJpbL2qHE9T6uvLnhUStG0v8R9xM/9mLhX5pLNZZITfs8PVHwubNrjGeQ== X-Google-Smtp-Source: AGHT+IH1sSIT/RElPSLd3vKenwJUV6vQ5rFOuCf3Bt1XQJN5Wv6ccJmmn09czAYeyuIibPQQMcMp X-Received: by 2002:a17:906:4a81:b0:a51:885a:c0a with SMTP id x1-20020a1709064a8100b00a51885a0c0amr844591eju.61.1712316720600; Fri, 05 Apr 2024 04:32:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712316720; cv=pass; d=google.com; s=arc-20160816; b=aJMuITgZC35p5I2K87RWchA55a+cH7K4hBKqYFBALOoeQem62Ku8N08/mJwt/2p9DE l2nhcT8UuhmLbX8MbFLnYj7fODmrdY7MpjVVxVPdeuehdOr2IXG61OqTTWGSfNp+wu3O WLGZfiOkUW5Q6TxWAejNGi5q/eqfR8tYZ8FgAd9GFQPfgEC3gTHi4Uttt3VnijGtO/uW WyybGh28D3XcD8IfVUFOTgd7W7BKz+WanrKKA0e0PeHU33Fuv+wXPJ8uHAkeHyTRkJiE 25FovmernftdcRbSPdpqoSFbB7BOWMw8CWyL7qQt7+aJcCVOOqCY3nxDesdxbb2Cl39i qNlQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bhOf8o9fzIYQE98iyxbOehdS62FmCiTNDVmde0EY0eM=; fh=H8P3aR3f4/NPzvS4SnQ6/2BXKBnASYkMKqFoqJEqz8M=; b=i20Aw1BFjAGnAXyzV+v6G2ewmGLpvMfAOEZBfANg/E2emSXuS5CkLEDSX4J+Ksvf76 gXpwd9/fREDXJsn6qU1CQjfeODpaszKF+WA9oiioVXYZXR2kPn7b77eZz+R/IklJiE9A 1X+A3wkObKGfS9cVqYv0aCDTn45afrbQq6vgXyK1TALs/6bC5Iog2xfRvWogKw11ZzEu 4RNH3Y9qq6iSot+HgZb+7CwEHLlzVQ1Blmf5VFuy/pstzppWUDnvqVUL0b0NSsATsKx+ v5Qd2A21c4mXGuxAe8P6yCmG/UR/GetRdeiEQlnCsyHGC0nHJSV13UPwpZCm7qV99nzH Y5Tw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VuMqUJtS; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-132909-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132909-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gs24-20020a170906f19800b00a4e28c4f5d3si637945ejb.888.2024.04.05.04.32.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 04:32:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132909-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VuMqUJtS; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-132909-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132909-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 232601F22D7B for ; Fri, 5 Apr 2024 11:32:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9404516C690; Fri, 5 Apr 2024 11:31:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="VuMqUJtS" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91ABC2032D for ; Fri, 5 Apr 2024 11:31:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712316711; cv=none; b=shiTM4Qx+21rPBnhky8fpOb8SzJkSXnLJ0XODVKOQq8ILpYYJxf+24T4i7pyMr3mlYyOjWrc/gMEZrUVOjBBwckVKnzlMdI3uN1hKaxBEZXqPBe+55ZxMTgSMGFNPB3C2EV2N2WoY5R6ruIBl0627qEuSzSOrx8ilAJQIwFDOsc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712316711; c=relaxed/simple; bh=P1Q+TD9aXToHjoMZ5pt7Cig3oxiTyod8aYgAxTlsc1U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sINMReXDglrTGKjaxM1ml4tlOAGDO61ex0uC45u22eR9OTsGmNRlE1vBIZZR4T3M4Q9xbNt5MZc1xMqhd+ipyB8mflmZVuNXehZa8ePGmfkTf/a04B2PvlO9RvVGqaOJNLbSBZf6YxPCmYxTP6CcinOCBt9pdEDMJjrwPNg8a1I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=VuMqUJtS; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712316709; x=1743852709; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=P1Q+TD9aXToHjoMZ5pt7Cig3oxiTyod8aYgAxTlsc1U=; b=VuMqUJtS4Sznjf6Xg3i7iqH+EqeqAJV0klMXboWsh7u0AaY6vLVgDh7a MSOKjIObnL9tWZf1IuDXTOLCxUFA1SBWa7ofrn3VoZIQiSBNRcoCOBFS0 zAUF0+RHyKIIfrwCS80OeZ99xwiuqy17EkX2uD74aI19QVQHvlBy/O9jA t3O5qsaFdyYITiBpo9cxDUE8qIIPYgPZ2akbroelaWGDwdwqdLZQDy0dJ R0GJSdgDZ9CQ5fwQgRf38xqu2IhMK/Eu75Hg1Xm1xVjeURQHcs2ZViGQE 6Kw2ZLHAEf16esB7tnbqyN6vYpQ1qGuUHOrcNyb7Hk3DIhEyrvuBjhKrN Q==; X-CSE-ConnectionGUID: Pa2QffwvSD+NLnJasV+RJw== X-CSE-MsgGUID: rIy1t9xSQpCvez0SeM6vOA== X-IronPort-AV: E=McAfee;i="6600,9927,11034"; a="7523948" X-IronPort-AV: E=Sophos;i="6.07,181,1708416000"; d="scan'208";a="7523948" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2024 04:31:49 -0700 X-CSE-ConnectionGUID: nA6gWKx0REmM0LXYHDtZ+w== X-CSE-MsgGUID: ctCtU/n4QCCmod+41Sd0ng== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,181,1708416000"; d="scan'208";a="19056002" Received: from lkp-server01.sh.intel.com (HELO e61807b1d151) ([10.239.97.150]) by fmviesa010.fm.intel.com with ESMTP; 05 Apr 2024 04:31:43 -0700 Received: from kbuild by e61807b1d151 with local (Exim 4.96) (envelope-from ) id 1rshnI-0002Cq-10; Fri, 05 Apr 2024 11:31:40 +0000 Date: Fri, 5 Apr 2024 19:30:59 +0800 From: kernel test robot To: Ashish Kalra , tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, rafael@kernel.org, peterz@infradead.org, adrian.hunter@intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, jun.nakajima@intel.com, rick.p.edgecombe@intel.com, thomas.lendacky@amd.com, michael.roth@amd.com, seanjc@google.com, kai.huang@intel.com, bhe@redhat.com, kirill.shutemov@linux.intel.com, bdas@redhat.com, vkuznets@redhat.com, dionnaglaze@google.com, anisinha@redhat.com, jroedel@suse.de, ardb@kernel.org, kexec@lists.infradead.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 4/4] x86/snp: Convert shared memory back to private on kexec Message-ID: <202404051940.mApchEy0-lkp@intel.com> References: <41db1ebbe58fb082dbe848f1c666ed23e83f1752.1712270976.git.ashish.kalra@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41db1ebbe58fb082dbe848f1c666ed23e83f1752.1712270976.git.ashish.kalra@amd.com> Hi Ashish, kernel test robot noticed the following build errors: [auto build test ERROR on efi/next] [also build test ERROR on linus/master v6.9-rc2 next-20240405] [cannot apply to tip/x86/core tip/master tip/x86/mm 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/Ashish-Kalra/efi-x86-skip-efi_arch_mem_reserve-in-case-of-kexec/20240405-071346 base: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next patch link: https://lore.kernel.org/r/41db1ebbe58fb082dbe848f1c666ed23e83f1752.1712270976.git.ashish.kalra%40amd.com patch subject: [PATCH v3 4/4] x86/snp: Convert shared memory back to private on kexec config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20240405/202404051940.mApchEy0-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240405/202404051940.mApchEy0-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/202404051940.mApchEy0-lkp@intel.com/ All errors (new ones prefixed by >>): >> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem >>> defined at init.c >>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a >>> defined at extable.c >>> arch/x86/mm/extable.o:(.text+0x0) in archive vmlinux.a -- >> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem >>> defined at init.c >>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a >>> defined at fault.c >>> arch/x86/mm/fault.o:(.text+0x0) in archive vmlinux.a -- >> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem >>> defined at init.c >>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a >>> defined at amd.c >>> arch/x86/kernel/cpu/amd.o:(.text+0x0) in archive vmlinux.a -- >> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem >>> defined at init.c >>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a >>> defined at common.c >>> arch/x86/kernel/cpu/common.o:(.text+0x0) in archive vmlinux.a -- >> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem >>> defined at init.c >>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a >>> defined at probe_roms.c >>> arch/x86/kernel/probe_roms.o:(.text+0x0) in archive vmlinux.a -- >> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem >>> defined at init.c >>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a >>> defined at nmi.c >>> arch/x86/kernel/nmi.o:(.text+0x0) in archive vmlinux.a -- >> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem >>> defined at init.c >>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a >>> defined at head64.c >>> arch/x86/kernel/head64.o:(.text+0x0) in archive vmlinux.a -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki