From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.3789.1684721696505517694 for ; Sun, 21 May 2023 19:14:57 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=mxh3dbHi; spf=pass (domain: intel.com, ip: 192.55.52.120, 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=1684721696; x=1716257696; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=CKURwAsy2FP3fywEAtm1U6LcVrWWR8AhyxMqyVDJDU8=; b=mxh3dbHijqpgK68J01tFlsRTOLDgYTHIHHBOkqRspMZ9IqaW65lSjQ9C EbvidZwIzKUqB/AwSuu55y6rgQ0KETuTcJL38ir34fF55PEL7I/njlQs9 nHGyawgZ3Rl+C9G/nBcrv2Ti8E0dI+QH5cJq0jdOFeKzGCQ4o3bxyFs4e 6IAaCeU23fDZ6w1hlsW9/XODf8pLQE1lACwf16E2msxbN6RHXAu6t2BSE McrFL29ggnz2jac23OwmSqlT/9FGAy1hzIieAEbcHJGD1GldPFnwqClCy GXZa3pmJDPWU9TZpi2Lt2uNgV+2j+gLM9F4E7cqMPmEBuYOVuKvf98e2Q A==; X-IronPort-AV: E=McAfee;i="6600,9927,10717"; a="351654977" X-IronPort-AV: E=Sophos;i="6.00,183,1681196400"; d="scan'208";a="351654977" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2023 19:14:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10717"; a="1033428048" X-IronPort-AV: E=Sophos;i="6.00,183,1681196400"; d="scan'208";a="1033428048" Received: from gguo-desk.gar.corp.intel.com ([10.5.215.23]) by fmsmga005.fm.intel.com with ESMTP; 21 May 2023 19:14:55 -0700 From: "Guo, Gua" To: devel@edk2.groups.io Cc: gua.guo@intel.com Subject: [PATCH v1 0/1] PcAtChipsetPkg: RTC Runtime unable to get correct IO port by PCD Date: Mon, 22 May 2023 10:14:50 +0800 Message-Id: <20230522021451.439-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 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 | 15 ++++++++------- .../PcatRealTimeClockRuntimeDxe/PcRtcEntry.c | 5 +++++ 2 files changed, 13 insertions(+), 7 deletions(-) -- 2.39.2.windows.1