From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id B76689419DF for ; Tue, 18 Jun 2024 13:35:19 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=l1DLNQeqvd4vaSCKI11geCWavEg482s9pCrL5acLTW4=; c=relaxed/simple; d=groups.io; h=From:To:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1718717719; v=1; b=z6wquHur8LcDiQFYzotJTuF6Fg2j8fpHuHUH0riZVA+6Vqsn/CbNgX2eknr/mKqqToUrJQQY XCuN9ucCIFqafzXb7O1gL9Avxy3WyUU0+HNnaxyCuNwSmtYaUC3ZnZfwyuwKiQdoMO1TIeVEWiH j/ipzBPpk1sjwmUyMiNL89fGi6oZ+aIwaP3tPh6aXGchYun4/00rGaSAq7nnWIQIe4CurYesDhX Wc/PCSSTaRK2lhohz81eU3RPH5dBSHYKczj7zaqmWuoifVWSR4LpG7W6R5cnQvTibetD6R6daVT ctGoLkx37ETuEcYLBj617XrxyaC2PkV5Je8wen1XZHn0g== X-Received: by 127.0.0.2 with SMTP id S72WYY7687511xCZZwUnsxmB; Tue, 18 Jun 2024 06:35:18 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by mx.groups.io with SMTP id smtpd.web10.86749.1718717717358360526 for ; Tue, 18 Jun 2024 06:35:17 -0700 X-CSE-ConnectionGUID: OM29wSjIQ3ypDRbxbH1gVA== X-CSE-MsgGUID: ev4iAobpRheECdWXIN+2zw== X-IronPort-AV: E=McAfee;i="6700,10204,11107"; a="15715027" X-IronPort-AV: E=Sophos;i="6.08,247,1712646000"; d="scan'208";a="15715027" X-Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2024 06:35:17 -0700 X-CSE-ConnectionGUID: Yn3bzBXGTPu9LzVQDJq5NA== X-CSE-MsgGUID: UT+GAIzqS0KmPAF+pn5HYg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,247,1712646000"; d="scan'208";a="42238290" X-Received: from xieyuanh-mobl.ccr.corp.intel.com ([10.238.2.133]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2024 06:35:16 -0700 From: "Yuanhao Xie" To: devel@edk2.groups.io Subject: [edk2-devel] [PATCH 0/1] UefiCpuPkg: Correct the count of different type of Cache. Date: Tue, 18 Jun 2024 21:34:56 +0800 Message-ID: <20240618133457.1018-1-yuanhao.xie@intel.com> MIME-Version: 1.0 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, 18 Jun 2024 06:35:17 -0700 Resent-From: yuanhao.xie@intel.com Reply-To: devel@edk2.groups.io,yuanhao.xie@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: RsmhPl1G2lVlTLktSRweCkUsx7686176AA= 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=z6wquHur; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io This patch fixes an error in calculating cache sizes for cores from different Dies. The original code incorrectly cleared cache sizes for different core types during intermediate calculation steps, leading to mistakes in counting duplicate entries. This patch adds a check for cache size to distinguish between different cache types. xieyuanh (1): UefiCpuPkg: Correct the count of different type of Cache. UefiCpuPkg/Library/CpuCacheInfoLib/CpuCacheInfoLib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.39.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119608): https://edk2.groups.io/g/devel/message/119608 Mute This Topic: https://groups.io/mt/106740627/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-