From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id DF2FE780091 for ; Thu, 25 Apr 2024 13:58:46 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=PhrTbO0j+0MI1ACnntHYkQHBeevZ9A1h2W9Lrj53BCQ=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20240206; t=1714053525; v=1; b=RsWJLVLC7FwDq7UxkUcygoDBwOpjRt42YotRrlWYbjJ+yqwSfBDSbxAUrrBdGi93GCIL4dNO hab9kPYg27Whdgbtey4sZik5tiU8hnrox4vGCFxkDy8SNtfUDbALk/fYWVTiJonTScr7crNpREZ GjJSip3pBYtcbLwAf97Dga+Kxdi/WZsxjnow2QwH3z11IISx8WPAIdRVpy/GlFF/UzQNuUSdSTF zPU0kWSHiNAyB6yFFnMqHqzBg47UiuLnmhb6LsybPAWtpz+LDlmW0abOkjDLROamIgWiUcnoGy6 io4fyvtm/eqPDuUUBh/UQosHexhEbdPXLE8D9cRMrtoEQ== X-Received: by 127.0.0.2 with SMTP id k0vZYY7687511xuP3ImJmJgh; Thu, 25 Apr 2024 06:58:45 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.17724.1714053524719658522 for ; Thu, 25 Apr 2024 06:58:44 -0700 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-260-9tC7nPZNPLmB_o6Eze1xtw-1; Thu, 25 Apr 2024 09:58:38 -0400 X-MC-Unique: 9tC7nPZNPLmB_o6Eze1xtw-1 X-Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 37CB689A7E1; Thu, 25 Apr 2024 13:58:38 +0000 (UTC) X-Received: from dobby.home.kraxel.org (unknown [10.39.192.160]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 01ECC1121312; Thu, 25 Apr 2024 13:58:37 +0000 (UTC) X-Received: by dobby.home.kraxel.org (Postfix, from userid 1000) id 7B70F103B3D; Thu, 25 Apr 2024 15:58:36 +0200 (CEST) Date: Thu, 25 Apr 2024 15:58:36 +0200 From: "Gerd Hoffmann" To: Anthony PERARD Cc: Alejandro Vallejo , devel@edk2.groups.io, Ard Biesheuvel , Jiewen Yao Subject: Re: [edk2-devel] [PATCH] OvmfPkg: Set PcdCpuMaxLogicalProcessorNumber in OvmfXen Message-ID: References: <5c832dc4-57e9-43a4-96ed-63074da2652f@cloud.com> <23141198-8725-4755-8f1f-2b35d6f3f4d7@perard> MIME-Version: 1.0 In-Reply-To: <23141198-8725-4755-8f1f-2b35d6f3f4d7@perard> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 25 Apr 2024 06:58:44 -0700 Resent-From: kraxel@redhat.com Reply-To: devel@edk2.groups.io,kraxel@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: ZZq0rDclefqrfp5qWSofPk4Ix7686176AA= Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=RsWJLVLC; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Hi, > It's a bit more complicated than setting it at build time, but we can > always ask Xen how many vcpu we have and set the PCD accordingly. This > is something that can happen in OvmfPkg/XenPlatformPei module. Exactly. > But to be honest, I don't know if it's worth it, because I don't know the > downside of having a higher value for PcdCpuMaxLogicalProcessorNumber. Well, the downside is that you have to keep ovmf and xen in sync manually. Your call. If you prefer to do it that way I have no objections, just wanted point out the alternative approach. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118301): https://edk2.groups.io/g/devel/message/118301 Mute This Topic: https://groups.io/mt/105721898/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-