From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id AE86A780091 for ; Tue, 19 Mar 2024 11:27:47 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=wS0mUltipFVceXz33LRabAmM9ThE+8NbWGsSg2a0y3M=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:Organization:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1710847666; v=1; b=nnuN0Nq9C+yvFjYwv9J2WGCV57jCwGQ0du5yD8QmXGdft28uhfeArD2DTMdHPc2ZL3/vUDyU QontL62PabI2hidMTkYSm5KRVZgMRMwkWxN8IaEfZpCQn7SzrlTM8Y9lwk7JY6VWUJlMRBv+han O8Uf6uLyKxsig336H223hCxgXYLrbs0yojr+A/fF4NDxuTp0njoOKJGYdiCzxG6SoG83B7Dv6g4 /yAJI4SQcQrP869UvJGmhd8yxVbOa7DBvJWlk1fzC5ektp30qIv4GmxCecLteuU98HFB04Gv7wX nJmLwAiASwuIgGiM5DAvxYHCTO0UHxZdw+T1u9WvyJOpQ== X-Received: by 127.0.0.2 with SMTP id HJj3YY7687511xtExnc1Qg86; Tue, 19 Mar 2024 04:27:46 -0700 X-Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) by mx.groups.io with SMTP id smtpd.web11.12895.1710847665375791914 for ; Tue, 19 Mar 2024 04:27:45 -0700 X-Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-56b9b125bb6so516961a12.1 for ; Tue, 19 Mar 2024 04:27:45 -0700 (PDT) X-Gm-Message-State: FrBAKH7CoWmVa07tdjp2i7x0x7686176AA= X-Google-Smtp-Source: AGHT+IHgNja5766x+aWgdSbBjnYo9wKGc1sGDSPGFnxKa5cMTHgWB7FLnC8kehBDfntNE+4oo/dlnw== X-Received: by 2002:aa7:cd58:0:b0:568:260b:e502 with SMTP id v24-20020aa7cd58000000b00568260be502mr7889491edw.13.1710847663854; Tue, 19 Mar 2024 04:27:43 -0700 (PDT) X-Received: from [192.168.200.106] (83.11.22.169.ipv4.supernova.orange.pl. [83.11.22.169]) by smtp.gmail.com with ESMTPSA id fd1-20020a056402388100b00568d750f7b2sm2401565edb.65.2024.03.19.04.27.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Mar 2024 04:27:43 -0700 (PDT) Message-ID: <9ea21acd-cff7-48ad-8ac5-e981f33b9f21@linaro.org> Date: Tue, 19 Mar 2024 12:27:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH edk2-platforms v6 2/7] Platform/SbsaQemu: read amount of cpus during init To: Ard Biesheuvel Cc: devel@edk2.groups.io, Leif Lindholm , Ard Biesheuvel , Graeme Gregory , Xiong Yining , Chen Baozi References: <20240306-no-dt-for-cpu-v6-0-acd8727a1b59@linaro.org> <20240306-no-dt-for-cpu-v6-2-acd8727a1b59@linaro.org> From: "Marcin Juszkiewicz" Organization: Linaro In-Reply-To: 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: Tue, 19 Mar 2024 04:27:45 -0700 Reply-To: devel@edk2.groups.io,marcin.juszkiewicz@linaro.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Language: pl-PL, en-GB, en-HK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=nnuN0Nq9; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linaro.org (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io W dniu 19.03.2024 o 12:02, Ard Biesheuvel pisze: >> EDK2 starts and one of the first DXE called is SbsaQemuPlatformDxe one: >> > How is this guaranteed? DXE are generally dispatched in the order in > which they appear in the FDF, but only if all DEPEX dependencies are > satisfied. DEPEXes are compiled from the DXE .inf along with all its > [recursive] library dependencies, so upstream changes could affect the > DEPEX of SbsaQemuPlatformDxe, and therefore where it appears in the > dispatch order. OK. Than it will be safer to call SbsaQemuGetCpuCount() in each place which needs CoreCount. Will adapt code. Thanks. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116892): https://edk2.groups.io/g/devel/message/116892 Mute This Topic: https://groups.io/mt/104763764/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-