From patchwork Wed Jan 29 12:12:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 11356095 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8C0CC1800 for ; Wed, 29 Jan 2020 12:13:24 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6950220716 for ; Wed, 29 Jan 2020 12:13:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="fzZLC1S4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6950220716 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iwmD3-0007nR-K0; Wed, 29 Jan 2020 12:12:41 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iwmD1-0007nH-P2 for xen-devel@lists.xenproject.org; Wed, 29 Jan 2020 12:12:39 +0000 X-Inumbo-ID: a401681a-4290-11ea-889f-12813bfff9fa Received: from esa5.hc3370-68.iphmx.com (unknown [216.71.155.168]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id a401681a-4290-11ea-889f-12813bfff9fa; Wed, 29 Jan 2020 12:12:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1580299958; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=zyHpr9ix2npi7qtArGsWGAY5zv7ddkC01dZ6h/pkUzU=; b=fzZLC1S48TC6CZhoVIg9rXPhrSkGI++w9HU+L2LklDPg8eYlTTUUFuCG tN5rAWW8HNrSkHwbddlom9t3XZ/N9lo+TikbNGF+9iMp+mckO9Uj9keH7 ujTAvcBHdLQ/VsX5LxuN3SSgVho7s0sd3JA0kmoEzDIIEcAb6j60ZAGXS I=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=anthony.perard@citrix.com; spf=Pass smtp.mailfrom=anthony.perard@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: None (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of anthony.perard@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa5.hc3370-68.iphmx.com: domain of anthony.perard@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: 6XQbXrOY+iulNnZGQfoTxZyXaO0O5/8aXf3WQddjrTWjNlJo0WMg2NkraqTcqN+YPKnOgS3nNn wN4ngMe7Q78rpXTC4ECasU4bhL+w3AwyxHXvu271/pexFhEm8PAzdeVmAji7toNeaXDJQ+Ujvl AaFoQOBLBgaODClPh+2uyfhoBH3z7e7hXN8ymdW4Jcu9BNhH39oviaRZIiYidJDLSz44QkQ1S/ riiQoGUab29AphMa1Ec3FlSRlNQHv1iFGpxHpKRdbe5Z3Jv88drTmi4HqU+R5p1K6kjrObheWT UT0= X-SBRS: 2.7 X-MesageID: 11979656 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.70,377,1574139600"; d="scan'208";a="11979656" From: Anthony PERARD To: Date: Wed, 29 Jan 2020 12:12:30 +0000 Message-ID: <20200129121235.1814563-1-anthony.perard@citrix.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH 0/5] OvmfXen: Set PcdFSBClock at runtime X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Bob Feng , Julien Grall , Ard Biesheuvel , Jordan Justen , Liming Gao , Anthony Perard , Michael D Kinney , xen-devel@lists.xenproject.org, Laszlo Ersek , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Patch series available in this git branch: git://xenbits.xen.org/people/aperard/ovmf.git br.apic-timer-freq-v1 Hi, OvmfXen uses the APIC timer, but with an hard-coded frequency that may change as pointed out here: https://edk2.groups.io/g/devel/message/45185 <20190808134423.ybqg3qkpw5ucfzk4@Air-de-Roger> This series changes that so the frequency is calculated at runtime. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2490 There is also one cleanup patch that has nothing to do with the rest. Cheers, Anthony PERARD (5): OvmfPkg/XenResetVector: Silent a warning from nasm MdePkg: Allow PcdFSBClock to by Dynamic OvmfPkg/IndustryStandard/Xen: Apply EDK2 coding style to XEN_VCPU_TIME_INFO OvmfPkg/XenPlatformPei: Calibrate APIC timer frequency OvmfPkg/OvmfXen: Set PcdFSBClock MdePkg/MdePkg.dec | 8 +- OvmfPkg/OvmfXen.dsc | 4 +- OvmfPkg/XenPlatformPei/XenPlatformPei.inf | 2 + OvmfPkg/Include/IndustryStandard/Xen/xen.h | 17 +-- OvmfPkg/XenPlatformPei/Platform.h | 5 + OvmfPkg/XenPlatformPei/Platform.c | 1 + OvmfPkg/XenPlatformPei/Xen.c | 127 +++++++++++++++++++++ OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm | 2 +- 8 files changed, 150 insertions(+), 16 deletions(-)