From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web12.7274.1580314267922677571 for ; Wed, 29 Jan 2020 08:11:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MquKmb4q; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580314267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UgU0fNzXnl02Q14znKBtOZl7JL5ujrvp86clC7wMEUA=; b=MquKmb4qbg2ZgVFyXe2jRLfcxy+rEn633+RJ97VzDPZQ6cvtba5y7DXgJWscKGVCVwSzn+ BB0VMgc4/ZMdixVofd2I5rnJ3mIDtdocPgthkHaGhCQTLBuKdvPqOnuFWj+dNlyuRRee6Y CIknLFqmoCHbfF0AIeYueIbyMHQ1MnY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-262-z-K6hrILNJWACylanoqiRA-1; Wed, 29 Jan 2020 11:10:52 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 703F9107ACCD; Wed, 29 Jan 2020 16:10:50 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-32.ams2.redhat.com [10.36.116.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 27B1D60BF3; Wed, 29 Jan 2020 16:10:45 +0000 (UTC) Subject: Re: [PATCH 2/5] MdePkg: Allow PcdFSBClock to by Dynamic To: Anthony PERARD , devel@edk2.groups.io Cc: Michael D Kinney , Ard Biesheuvel , xen-devel@lists.xenproject.org, Liming Gao , Jordan Justen , Julien Grall , Bob Feng References: <20200129121235.1814563-1-anthony.perard@citrix.com> <20200129121235.1814563-3-anthony.perard@citrix.com> From: "Laszlo Ersek" Message-ID: Date: Wed, 29 Jan 2020 17:10:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200129121235.1814563-3-anthony.perard@citrix.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: z-K6hrILNJWACylanoqiRA-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 01/29/20 13:12, Anthony PERARD wrote: > We are going to want to change the value of PcdFSBClock at run time in > OvmfXen, so move it to the PcdsDynamic section. > > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2490 > Signed-off-by: Anthony PERARD > --- > CC: Bob Feng > CC: Liming Gao > --- > MdePkg/MdePkg.dec | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec > index d022cc5e3ef2..8f5a48346e50 100644 > --- a/MdePkg/MdePkg.dec > +++ b/MdePkg/MdePkg.dec > @@ -2194,10 +2194,6 @@ [PcdsFixedAtBuild,PcdsPatchableInModule] > # @ValidList 0x80000001 | 8, 16, 32 > gEfiMdePkgTokenSpaceGuid.PcdPort80DataWidth|8|UINT8|0x0000002d > > - ## This value is used to configure X86 Processor FSB clock. > - # @Prompt FSB Clock. > - gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c > - > ## The maximum printable number of characters. UefLib functions: AsciiPrint(), AsciiErrorPrint(), > # PrintXY(), AsciiPrintXY(), Print(), ErrorPrint() base on this PCD value to print characters. > # @Prompt Maximum Printable Number of Characters. > @@ -2297,5 +2293,9 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] > # @Prompt Boot Timeout (s) > gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0xffff|UINT16|0x0000002c > > + ## This value is used to configure X86 Processor FSB clock. > + # @Prompt FSB Clock. > + gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c > + > [UserExtensions.TianoCore."ExtraFiles"] > MdePkgExtra.uni > Looks good to me: Reviewed-by: Laszlo Ersek Mike or Liming will have to ACK. Thanks! Laszlo