From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web10.20119.1684756834875252865 for ; Mon, 22 May 2023 05:00:35 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=KskIc7e5; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: gua.guo@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684756834; x=1716292834; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=4xUyCh16fco2L8PVANV2tB/cnL+kLU0iYeRmOMte1Ss=; b=KskIc7e5FHauLNblCv0EdUtSyRe1av3zFe+XcpadzkuhpdSrmTos0AMg J0iAgiusFojOtyG8YvOUbD4jmBXAtXU8lp9gWqiIvm6ilK5RtmgiwAsP5 rSIgPgb4DmNnyrMzbpQ0p/tpTPLnpstoSHsKmMzUGpxY4Hht6DUZSTmco 2tVnfECda1ZUo8d2GJ20Sc/vfm6epdTbCf5SzA+ziEZpz6xlyoTE8tNVP xYS97U/EOHOaRVENDqfXwpScoXLnECzEKD+N+oDflYZv5pA5D0TK5hQor 7XIvzYAhjc112ddW1azv2x1/hhisbuqKSyYRDEN6ceJeViwW5RXeADv5Y A==; X-IronPort-AV: E=McAfee;i="6600,9927,10717"; a="350409390" X-IronPort-AV: E=Sophos;i="6.00,184,1681196400"; d="scan'208";a="350409390" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2023 05:00:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10717"; a="773333069" X-IronPort-AV: E=Sophos;i="6.00,184,1681196400"; d="scan'208";a="773333069" Received: from gguo-desk.gar.corp.intel.com ([10.5.215.23]) by fmsmga004.fm.intel.com with ESMTP; 22 May 2023 05:00:33 -0700 From: "Guo, Gua" To: devel@edk2.groups.io Cc: gua.guo@intel.com Subject: [PATCH v2 0/1] PcAtChipsetPkg: RTC Runtime unable to get correct IO port by PCD Date: Mon, 22 May 2023 20:00:28 +0800 Message-Id: <20230522120029.473-1-gua.guo@intel.com> X-Mailer: git-send-email 2.39.2.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Gua Guo PR: https://github.com/tianocore/edk2/pull/4416 V2: Add more dynamic PCD for runtime service support instead of taking for FixedAtBuild case V1: After https://bugzilla.tianocore.org/show_bug.cgi?id=4193 RTC Runtime Services unable to get correct RTC time. Solution: Cache RTC data, update RTC driver not to use PcdGet after driver init. Gua Guo (1): PcAtChipsetPkg: RTC Runtime unable to get correct IO port by PCD .../PcatRealTimeClockRuntimeDxe/PcRtc.c | 38 ++++++++++--------- .../PcatRealTimeClockRuntimeDxe/PcRtcEntry.c | 16 +++++++- 2 files changed, 35 insertions(+), 19 deletions(-) -- 2.39.2.windows.1