From nobody Tue May 7 08:07:35 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1640164228; cv=none; d=zohomail.com; s=zohoarc; b=TOYLdNaonoIfJpQvDidu0AuurNj2pgIn9+AMKSgV0LKq71eiDsO5t3Zj4L7eoCnOxUdy6T54JlBQzDsYdiCqZQw5Xh0qxUoi/k/YjedFarvjTZkPX0im9o2wPgZncBEHkU9Z1tFuNLxYkZ4hPjsnuJzzYUj04YLHYsAmlFb9TI0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1640164228; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=r+Y4oDBebTJunMFfsfrwKUoks23+cOhygHJOQ1hwjZw=; b=dnEJCFhEmCo6ICYLmZISooQEB9STFGuldtuq8AcoP45OM2XuFcuAbJSQm+qcgQsveyuNnkVHbXoxqt9r5urj0mL/TxH4ciSZJ2bndsditTGoLDazenaJ2vXuP3pLVgup9wRcvLEQAszZ0p9oaGNAe3ZKKL3bYbWK6HzgRMbwH28= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 164016422895134.128938697028275; Wed, 22 Dec 2021 01:10:28 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.250693.431724 (Exim 4.92) (envelope-from ) id 1mzxcz-0008Nn-44; Wed, 22 Dec 2021 09:09:41 +0000 Received: by outflank-mailman (output) from mailman id 250693.431724; Wed, 22 Dec 2021 09:09:41 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mzxcz-0008Ng-0V; Wed, 22 Dec 2021 09:09:41 +0000 Received: by outflank-mailman (input) for mailman id 250693; Wed, 22 Dec 2021 08:38:33 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mzx8r-00055O-Cs for xen-devel@lists.xenproject.org; Wed, 22 Dec 2021 08:38:33 +0000 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [2607:f8b0:4864:20::642]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 8ade7283-6302-11ec-bb0b-79c175774b5d; Wed, 22 Dec 2021 09:38:32 +0100 (CET) Received: by mail-pl1-x642.google.com with SMTP id n16so1380257plc.2 for ; Wed, 22 Dec 2021 00:38:32 -0800 (PST) Received: from localhost.localdomain ([47.89.83.13]) by smtp.gmail.com with ESMTPSA id 32sm1377284pgs.48.2021.12.22.00.38.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Dec 2021 00:38:30 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 8ade7283-6302-11ec-bb0b-79c175774b5d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=r+Y4oDBebTJunMFfsfrwKUoks23+cOhygHJOQ1hwjZw=; b=QkXn3cyvW79kGx18NXBMBe0pdQ5WGOLwcyUGDg+8gSefcsrMJGidd3ezM3EiGXEVxW r0CLk5n7nzm8QhSQqT5WuZjUw8UxwiG70QMQoU3u5/YDocG2QBNRgrVRAfGlduHz7n11 +z2yS92SIqD2BMxlg3f8okziGZlZi/ZXRzoytMjxi3xWeZg1EwlAiIWIx1guR51PxOIX 1ORX3yYDsP4E91FCJUzNJFasxlYG3K4NN4IdjGDucyGDbkoiHwdE630HWEpVWAAKKSRl IuaH+C/8hsH+GTHViCDBGCs+B6i/2/rB/E+nNIdxGBOxLNz6V0SUW4r9KfjmvOQlspHg i8tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=r+Y4oDBebTJunMFfsfrwKUoks23+cOhygHJOQ1hwjZw=; b=hCbjSqsxolcN8JUcoLygGD5Q+G3eCurr1WR1IuZNPVTOy67Iw+exM0fcH6e0gPUr+T sUvTW40ewN5yJGC/HmL8v8Cjb8NQ64IIQGofiVG+gorb12OcUW8fbdSbu61bDegpgwAt 8Z2hGYgN9DHjW9gCL+88fS7GIDAy5sk3eLm7Wd4If1uThJI6pZZrnOPCqw9rWSwDUFd1 xKG7ABtxvIPLD1qcR1184jyu5UjkzIsylnpP4GmtjeCXhJQQBtAWLEPj6CqrtloJnRlx Z4/efRPAGynzKkpxy0cLWh6ZulZz2kKwSUvVHsvCEge2dRbjmN462QhK/dHICVQZP54e gbMQ== X-Gm-Message-State: AOAM530rURC98wxu9mLx8rZeHrpdumQ85EGk+FMfGaH6wGeLA0EYhRnF EFkSXFID/2fkYl1r9LzFe5M= X-Google-Smtp-Source: ABdhPJzSPTCsEGF8LPYtPakp2++8JxLmw7tyryXUNkFEkC13jnjfGVcLlW+CFQ+0eb2eCO2n6d0PlA== X-Received: by 2002:a17:902:8214:b0:142:61cf:7be with SMTP id x20-20020a170902821400b0014261cf07bemr1935778pln.0.1640162310765; Wed, 22 Dec 2021 00:38:30 -0800 (PST) From: Dongjiu Geng To: sstabellini@kernel.org, julien@xen.org, Volodymyr_Babchuk@epam.com, bertrand.marquis@arm.com, xen-devel@lists.xenproject.org Cc: gengdongjiu1@gmail.com Subject: [PATCH] xen/arm: fix the build error for GIC Date: Wed, 22 Dec 2021 16:38:25 +0800 Message-Id: <20211222083825.2918045-1-gengdongjiu1@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1640164230011100001 Content-Type: text/plain; charset="utf-8" when enable CONFIG_NEW_VGIC in ARM64 QEMU Platform, it will build failed. so fix it and make it can select GICV2. Signed-off-by: Dongjiu Geng --- $ make dist-xen XEN_TARGET_ARCH=3Darm64 CROSS_COMPILE=3Daarch64-linux-gnu- = -j10 make -C xen install make[1]: Entering directory '/home/workspace/gengdongjiu/old_machine/XEN/xe= n/xen' make -f /home/workspace/gengdongjiu/old_machine/XEN/xen/xen/tools/kconfig/M= akefile.kconfig ARCH=3Darm64 SRCARCH=3Darm HOSTCC=3D"gcc" HOSTCXX=3D"g++" s= yncconfig make[2]: Entering directory '/home/workspace/gengdongjiu/old_machine/XEN/xe= n/xen' gcc -Wp,-MD,tools/kconfig/.conf.o.d -c -o tools/kconfig/conf.o tools/k= config/conf.c gcc -Wp,-MD,tools/kconfig/.confdata.o.d -c -o tools/kconfig/confdata.o= tools/kconfig/confdata.c gcc -Wp,-MD,tools/kconfig/.expr.o.d -c -o tools/kconfig/expr.o tools/k= config/expr.c flex -otools/kconfig/lexer.lex.c -L tools/kconfig/lexer.l bison -o tools/kconfig/parser.tab.c --defines=3Dtools/kconfig/parser.tab.h = -t -l tools/kconfig/parser.y gcc -Wp,-MD,tools/kconfig/.preprocess.o.d -c -o tools/kconfig/preproce= ss.o tools/kconfig/preprocess.c gcc -Wp,-MD,tools/kconfig/.symbol.o.d -c -o tools/kconfig/symbol.o too= ls/kconfig/symbol.c gcc -Wp,-MD,tools/kconfig/.lexer.lex.o.d -I /home/workspace/gengdongjiu= /old_machine/XEN/xen/xen/tools/kconfig -c -o tools/kconfig/lexer.lex.o tool= s/kconfig/lexer.lex.c gcc -Wp,-MD,tools/kconfig/.parser.tab.o.d -I /home/workspace/gengdongji= u/old_machine/XEN/xen/xen/tools/kconfig -c -o tools/kconfig/parser.tab.o to= ols/kconfig/parser.tab.c gcc -o tools/kconfig/conf tools/kconfig/conf.o tools/kconfig/confdata.o to= ols/kconfig/expr.o tools/kconfig/lexer.lex.o tools/kconfig/parser.tab.o too= ls/kconfig/preprocess.o tools/kconfig/symbol.o tools/kconfig/conf --syncconfig Kconfig WARNING: unmet direct dependencies detected for GICV3 Depends on [n]: ARM_64 [=3Dy] && !NEW_VGIC [=3Dy] Selected by [y]: - QEMU [=3Dy] && && ARM_64 [=3Dy] WARNING: unmet direct dependencies detected for GICV3 Depends on [n]: ARM_64 [=3Dy] && !NEW_VGIC [=3Dy] Selected by [y]: - QEMU [=3Dy] && && ARM_64 [=3Dy] WARNING: unmet direct dependencies detected for GICV3 Depends on [n]: ARM_64 [=3Dy] && !NEW_VGIC [=3Dy] Selected by [y]: - QEMU [=3Dy] && && ARM_64 [=3Dy] make[2]: Leaving directory '/home/workspace/gengdongjiu/old_machine/XEN/xen= /xen' make -f Rules.mk _install make[2]: Entering directory '/home/workspace/gengdongjiu/old_machine/XEN/xe= n/xen' --- xen/arch/arm/platforms/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/arm/platforms/Kconfig b/xen/arch/arm/platforms/Kconfig index c93a6b2756..6d3ee99456 100644 --- a/xen/arch/arm/platforms/Kconfig +++ b/xen/arch/arm/platforms/Kconfig @@ -15,7 +15,6 @@ config ALL_PLAT config QEMU bool "QEMU aarch virt machine support" depends on ARM_64 - select GICV3 select HAS_PL011 ---help--- Enable all the required drivers for QEMU aarch64 virt emulated --=20 2.25.1