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 8A80AAC0FEA for ; Thu, 25 Apr 2024 07:31:33 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=4WPWAMbmNs4c14MXpNTYtxuKSYWmgLexCxruI5sNkzI=; 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=1714030292; v=1; b=h12Q+NC/i4aYYyLk8ribb7twnGhmfZo2lSry51WZY8db0Zzh6aADNHUXDCbkr5WH5kLA/oj/ yN0drRMPwGcgFzd53I3b3S/3pWkZzVK8En5gAl2UcCZxNd8nsAXEffjkMvxiwyDHZzqwYXVWQol Q+wOM6PzM6LjavfW2ys0OperTrVOMPo4UYcxJ7pbSxXBk7nDNW2vlfWIcvevWwSKR9mydxEwCfB e12iQBx8JCXQplnHhYOHF7E6oZfPTi7HyQ7ZqgiLElCkw9cUXUeotW5LlFCQHCaumhyErCZqJup 80fWEPEW9/NLl8rqsBZzVmy2HipdRE2q2p83axpUJz9Ag== X-Received: by 127.0.0.2 with SMTP id ZSTDYY7687511xHlMO7X2SmB; Thu, 25 Apr 2024 00:31:32 -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.web10.11470.1714030291528656364 for ; Thu, 25 Apr 2024 00:31:31 -0700 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-500-A3AC4AslPQygux-nrx1o3Q-1; Thu, 25 Apr 2024 03:31:25 -0400 X-MC-Unique: A3AC4AslPQygux-nrx1o3Q-1 X-Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (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 CF36F1C3F0F2; Thu, 25 Apr 2024 07:31:24 +0000 (UTC) X-Received: from dobby.home.kraxel.org (unknown [10.39.192.160]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 930EFC13FA3; Thu, 25 Apr 2024 07:31:24 +0000 (UTC) X-Received: by dobby.home.kraxel.org (Postfix, from userid 1000) id B7D23F6B8A; Thu, 25 Apr 2024 09:31:22 +0200 (CEST) Date: Thu, 25 Apr 2024 09:31:22 +0200 From: "Gerd Hoffmann" To: Alejandro Vallejo Cc: devel@edk2.groups.io, Anthony Perard , Ard Biesheuvel , Jiewen Yao Subject: Re: [edk2-devel] [PATCH] OvmfPkg: Set PcdCpuMaxLogicalProcessorNumber in OvmfXen Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 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 00:31:31 -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: 6TunRdWDMujd8ijmrFtf2fhOx7686176AA= 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="h12Q+NC/"; 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 On Wed, Apr 24, 2024 at 02:36:32PM +0100, Alejandro Vallejo wrote: > Bump the compile-time constant for maximum processor count from 64 to 128 > in order to allow that many vCPUs to be brought online on Xen guests with > the default OVMF configuration. > + # UefiCpuPkg PCDs related to initial AP bringup and general AP management. > + gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|128 Note that this is a dynamic PCD, so you can set it at runtime to the number of vcpus present in the VM. See MaxCpuCountInitialization() in OvmfPkg/PlatformPei/Platform.c for example. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118274): https://edk2.groups.io/g/devel/message/118274 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] -=-=-=-=-=-=-=-=-=-=-=-