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 709FC940F7B for ; Wed, 19 Jun 2024 03:45:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=BWncARGVRU8o4MTlWinDGUQ3QmJQydZFJ2zN1wkc9/Q=; 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=1718768706; v=1; b=4GtEkVyAXmHp5TlgGXA0zDhct/ykqwSYRuvSPm7W6hjYRVOkgp/cpUJa70bP9XWMYcf8pzYb VKwjUKNIUMZaJa9A9ReD5EhxhGJfb6tFSSXCy7Ha4VbXZDOhSjwmoDifOmA2iMe8a/SrKdzNqsw d+yvl3Eeb8XQXdUmH9dT4eSheBANiTzvsAyfSHXgKLKjQlkYcSgtfBIrTg69W09yKNKmFUcUD4a AEtRiAVdRL3z3tESWsmfPcREXXJ2FdQVN8e2vjOGkXoNuHzE5BcVvVzTMxUnk1KpR2v8NPecQGd BTSDgdwgyEtP1td7rkz4Hw2Y/iU8Ru78t+Yk2ShFbaGWw== X-Received: by 127.0.0.2 with SMTP id w6SCYY7687511xReczxJdsB4; Tue, 18 Jun 2024 20:45:04 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mx.groups.io with SMTP id smtpd.web10.12563.1718768698977412442 for ; Tue, 18 Jun 2024 20:44:59 -0700 X-CSE-ConnectionGUID: TGDk+pYJSMCPtZmA/zyD2Q== X-CSE-MsgGUID: djx1pevuQOyXoqnfdt2v4w== X-IronPort-AV: E=McAfee;i="6700,10204,11107"; a="15917926" X-IronPort-AV: E=Sophos;i="6.08,249,1712646000"; d="scan'208";a="15917926" X-Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2024 20:44:59 -0700 X-CSE-ConnectionGUID: +CK9Xf0TQDyX7iDw5a5KiA== X-CSE-MsgGUID: qskby9QCRrqtBNiNtbQmRw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,249,1712646000"; d="scan'208";a="46690485" X-Received: from xieyuanh-mobl.ccr.corp.intel.com ([10.238.2.133]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2024 20:44:57 -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: Wed, 19 Jun 2024 11:44:42 +0800 Message-ID: <20240619034443.1763-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 20:44:59 -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: S1mu7VwwIiyvlXhkh5DGYJ6zx7686176AA= 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=4GtEkVyA; 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 (#119623): https://edk2.groups.io/g/devel/message/119623 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] -=-=-=-=-=-=-=-=-=-=-=-