Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1887470rdb; Mon, 8 Jan 2024 13:46:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEH+P1ExbIvkF8oi2mwRgTv8y4shYPg8HOge4nqo/jLL2u2Kowvw12Y6VyFr94W7PKOKQIq X-Received: by 2002:a05:6a20:1614:b0:199:db09:4a44 with SMTP id l20-20020a056a20161400b00199db094a44mr925046pzj.81.1704750401121; Mon, 08 Jan 2024 13:46:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704750401; cv=none; d=google.com; s=arc-20160816; b=F15LTLUzxl8XmP0Jd//jKm6EbzrBwSSoUUi0AupXYs5svhwHIw84hB09M4Y1eMVw8T gQuDc8gf9s2cbtWXWez+eomSu7JuBHdYCFmV+QfDMA4FJccc81ZeU4a5F4szc4pjU2N/ k2kZMgQVdDkZAlS1EvZGY/LYen6PYBeRbX00OJSgyelVZZJPoRA8xTwEZdwp8w1KQZCC LdicyPAzySteskIuJJjt7p0c9r5H5S1FlvK0XPWCCfplLFnyBV3a0+NiIOj8J0Yu4Ld6 IpB/XaF9cUNu9NBTt6rZ/sXWywphYe05eM1gIp0uCPxA6j0czignIRz2TNhB08CFU/Up d/UQ== ARC-Message-Signature: i=1; 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=qn5+Smqo7SmO0cYZtZw5hO834YopALxGfe9d5SwsF2I=; fh=FFQ31pag3bgtUbE5h0ZKtCWfugO2ohkel9dD6I40V+w=; b=s0kZkdvlSYNVOQi77se95qq8ep09i8ciGOCX277UZyy6E3M8kQRmdq3wu8vqRYmzkH xSHbBplUYWPDRbwLvhiA7yJcWb/Q5HXYN/MEYBubxATSVh/4jdbRZUm4ijzwiDjGOwZJ hHLkQn/qB0zRvz8Ald2mVcDRKZ6P7gq5jDDTfbFtCz3CehklaHcnVOyGJ8kGpoTZhgHv ijQjPiKti39hVHPdOSkGSXz6EuW6iulbtNeaEwK3PatHkAZnMRfJLZQ0Fe4pbEw/MeG0 74g7i5jrs3ms4qeA+Z2GV7DUQaxSG/v3aaKCT/sXGePT1Bjdd4a2BByy9umE6rSCV+Ji mm5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BTlo9Odg; spf=pass (google.com: domain of linux-kernel+bounces-20134-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j23-20020a632317000000b005cdf85aa782si393513pgj.279.2024.01.08.13.46.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 13:46:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20134-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BTlo9Odg; spf=pass (google.com: domain of linux-kernel+bounces-20134-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20134-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C065E284D90 for ; Mon, 8 Jan 2024 21:46:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 278AE56472; Mon, 8 Jan 2024 21:46:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="BTlo9Odg" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 B19AD5644D; Mon, 8 Jan 2024 21:46:23 +0000 (UTC) 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=1704750384; x=1736286384; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vL2CfUljdFe7w0t2AJp2MOgIOpmNHhRLVOLT7Dr6oi4=; b=BTlo9Odgr6VfkxsteR3eP9+xE+OgzbYmYwMhfLaio0Y7hMGW2CkPK458 nLA7H0szO6Q5jnNHoc18v4+hyUmc+ZZp+QogbW9/WbR0UcU+EeyxitPQ+ DrQFAwhGJGbyiAZhUErm/AIrIdJptbKgJKXWGNoqiWI7+VwwiBWMQU9sM NHzl8qo1ZsaVgCuOVujTOD+EktKJbryzEOhFfn4tW2sb8GnpTEv0HwMKn eFRBNnkFOdWdDa3ks6ndFTRPnPOOlA4OUlh0w987DyLBSXAKda3MJ+8bH LN1YRQnVLrK3mdHzIeiI/9Q7rRj58+woYOfjAvwrITYaiQvD6Q6RN97o8 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10947"; a="11359337" X-IronPort-AV: E=Sophos;i="6.04,180,1695711600"; d="scan'208";a="11359337" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2024 13:46:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10947"; a="872007229" X-IronPort-AV: E=Sophos;i="6.04,180,1695711600"; d="scan'208";a="872007229" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 08 Jan 2024 13:46:17 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rMxQw-00057e-0T; Mon, 08 Jan 2024 21:45:31 +0000 Date: Tue, 9 Jan 2024 05:44:48 +0800 From: kernel test robot To: Thomas Zimmermann , ardb@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, bhelgaas@google.com, arnd@arndb.de, zohar@linux.ibm.com, dmitry.kasatkin@gmail.com, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, javierm@redhat.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-arch@vger.kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, Thomas Zimmermann Subject: Re: [PATCH v4 4/4] arch/x86: Do not include in several files Message-ID: <202401090541.atvQk6V7-lkp@intel.com> References: <20240108095903.8427-5-tzimmermann@suse.de> 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: <20240108095903.8427-5-tzimmermann@suse.de> Hi Thomas, kernel test robot noticed the following build errors: [auto build test ERROR on tip/x86/core] [also build test ERROR on efi/next tip/master tip/auto-latest linus/master v6.7 next-20240108] [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/Thomas-Zimmermann/arch-x86-Move-UAPI-setup-structures-into-setup_data-h/20240108-180158 base: tip/x86/core patch link: https://lore.kernel.org/r/20240108095903.8427-5-tzimmermann%40suse.de patch subject: [PATCH v4 4/4] arch/x86: Do not include in several files config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20240109/202401090541.atvQk6V7-lkp@intel.com/config) compiler: ClangBuiltLinux 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/20240109/202401090541.atvQk6V7-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/202401090541.atvQk6V7-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/x86/boot/compressed/cmdline.c:2: >> arch/x86/boot/compressed/misc.h:154:5: error: incomplete definition of type 'struct boot_params' 154 | bp->cc_blob_address = 0; | ~~^ arch/x86/include/asm/mem_encrypt.h:18:8: note: forward declaration of 'struct boot_params' 18 | struct boot_params; | ^ 1 error generated. vim +154 arch/x86/boot/compressed/misc.h cec49df9d331fe Joe Millenbach 2012-07-19 135 597cfe48212a3f Joerg Roedel 2020-09-07 136 #ifdef CONFIG_AMD_MEM_ENCRYPT ec1c66af3a30d4 Michael Roth 2022-02-09 137 void sev_enable(struct boot_params *bp); 8c29f016540532 Nikunj A Dadhania 2023-01-18 138 void snp_check_features(void); 597cfe48212a3f Joerg Roedel 2020-09-07 139 void sev_es_shutdown_ghcb(void); 69add17a7c1992 Joerg Roedel 2020-09-07 140 extern bool sev_es_check_ghcb_fault(unsigned long address); 4f9c403e44e5e8 Brijesh Singh 2022-02-09 141 void snp_set_page_private(unsigned long paddr); 4f9c403e44e5e8 Brijesh Singh 2022-02-09 142 void snp_set_page_shared(unsigned long paddr); 76f61e1e89b32f Michael Roth 2022-02-24 143 void sev_prep_identity_maps(unsigned long top_level_pgt); 597cfe48212a3f Joerg Roedel 2020-09-07 144 #else 4b1c742407571e Michael Roth 2022-08-23 145 static inline void sev_enable(struct boot_params *bp) 4b1c742407571e Michael Roth 2022-08-23 146 { 4b1c742407571e Michael Roth 2022-08-23 147 /* 4b1c742407571e Michael Roth 2022-08-23 148 * bp->cc_blob_address should only be set by boot/compressed kernel. 4b1c742407571e Michael Roth 2022-08-23 149 * Initialize it to 0 unconditionally (thus here in this stub too) to 4b1c742407571e Michael Roth 2022-08-23 150 * ensure that uninitialized values from buggy bootloaders aren't 4b1c742407571e Michael Roth 2022-08-23 151 * propagated. 4b1c742407571e Michael Roth 2022-08-23 152 */ 4b1c742407571e Michael Roth 2022-08-23 153 if (bp) 4b1c742407571e Michael Roth 2022-08-23 @154 bp->cc_blob_address = 0; 4b1c742407571e Michael Roth 2022-08-23 155 } 8c29f016540532 Nikunj A Dadhania 2023-01-18 156 static inline void snp_check_features(void) { } 597cfe48212a3f Joerg Roedel 2020-09-07 157 static inline void sev_es_shutdown_ghcb(void) { } 69add17a7c1992 Joerg Roedel 2020-09-07 158 static inline bool sev_es_check_ghcb_fault(unsigned long address) 69add17a7c1992 Joerg Roedel 2020-09-07 159 { 69add17a7c1992 Joerg Roedel 2020-09-07 160 return false; 69add17a7c1992 Joerg Roedel 2020-09-07 161 } 4f9c403e44e5e8 Brijesh Singh 2022-02-09 162 static inline void snp_set_page_private(unsigned long paddr) { } 4f9c403e44e5e8 Brijesh Singh 2022-02-09 163 static inline void snp_set_page_shared(unsigned long paddr) { } 76f61e1e89b32f Michael Roth 2022-02-24 164 static inline void sev_prep_identity_maps(unsigned long top_level_pgt) { } 597cfe48212a3f Joerg Roedel 2020-09-07 165 #endif 597cfe48212a3f Joerg Roedel 2020-09-07 166 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki