From nobody Sat May 4 07:05:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85104+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85104+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1639990253; cv=none; d=zohomail.com; s=zohoarc; b=Z/lMktNmwNvnx2oylJc4dOVBClFd3DnfNr+QUslPLWz42GTXvKBf06hvQT4cG1eby+BthPb8qGbSYPQ+TxkujaHD1sJWgYzzhxn4LmxZIMaYOynCU6OGZlFO+614dpWQs2otQaJtqXxF0FQ48ihVUwGks66/R3n5ONymJEL4M5E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639990253; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=wAKe7USen+/4iBv4czf/vGetkFy2SXtuF+4wpgyMkAc=; b=N+JamdWHCkQui8qLCBN4k0bUH3gxqAniqAf1znhA67Wwmch2tPtqmVAVy05fTAJq40e9ubSQVgzD2Gl51t28sFmlJrlRNrSt/plxFGqSmV9dEwflRAyufr6xTTzmdFyHoLv6/nTCOhk2xppVmRxE96ItPWe1T50ZUJyTWWWoHHA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85104+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639990253882733.0431265629371; Mon, 20 Dec 2021 00:50:53 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id LUuNYY1788612x6ymjHHtLwK; Mon, 20 Dec 2021 00:50:53 -0800 X-Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web08.3170.1639990252361855206 for ; Mon, 20 Dec 2021 00:50:52 -0800 X-IronPort-AV: E=McAfee;i="6200,9189,10203"; a="300898722" X-IronPort-AV: E=Sophos;i="5.88,220,1635231600"; d="scan'208";a="300898722" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2021 00:50:51 -0800 X-IronPort-AV: E=Sophos;i="5.88,220,1635231600"; d="scan'208";a="507610462" X-Received: from lins2x-desk1.gar.corp.intel.com ([10.225.33.149]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2021 00:50:49 -0800 From: "JackX Lin" To: devel@edk2.groups.io Cc: JackX Lin , JackX Lin , Chasel Chiu , Dong Eric , Jiewen Yao , Ray Ni , Rangasai V Chaganty , Donald Kuo , Chandana C Kumar Subject: [edk2-devel] [edk2-platforms: PATCH] REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3787 Date: Mon, 20 Dec 2021 16:50:32 +0800 Message-Id: <20211220085032.194-1-jackx.lin@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,JackX.Lin@intel.com X-Gm-Message-State: P5snPdvdG6OHA06c5TDdInPPx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639990253; bh=68lj47BOjllRh9DGH0h5KotB9tqnLX6UtunHJzFyUFU=; h=Cc:Date:From:Reply-To:Subject:To; b=EhymRo9bmCzqOUabclvtxrDd14aFsEgJk/IogSuuFvQodHHy3C5A3Owlqix5l38JLq6 F3vnGWF+QL/8IFFdlwv8ynHjU5Z6sgtRCv6j6Qz8HUq4nLDA7ed3zuLuh8Xg/XRwVoqrE 390s36AqwTvQl9CT8NNa7BgHnYyd6foVIeU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639990254405100002 Content-Type: text/plain; charset="utf-8" System will occur a CPU exception error when sorting CPU APIC map, because of a pointer point to an wrong space. Signed-off-by: JackX Lin Cc: Chasel Chiu Cc: Dong Eric Cc: Jiewen Yao Cc: Ray Ni Cc: Rangasai V Chaganty Cc: Donald Kuo Cc: Chandana C Kumar Cc: JackX Lin --- Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c b= /Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c index 785cf4c2f9..e346d781db 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c +++ b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.c @@ -231,9 +231,9 @@ SortCpuLocalApicInTable ( if (TempCpuApicIdOrderTable[0].ApicId !=3D BspApicId) { for (Index =3D 0; Index < mNumberOfCpus; Index++) { if ((TempCpuApicIdOrderTable[Index].Flags =3D=3D 1) && (TempCpuApicI= dOrderTable[Index].ApicId =3D=3D BspApicId)) { - CopyMem (&TempVal, &TempCpuApicIdOrderTable[Index], sizeof (EFI_CP= U_ID_ORDER_MAP)); + CopyMem (TempVal, &TempCpuApicIdOrderTable[Index], sizeof (EFI_CPU= _ID_ORDER_MAP)); CopyMem (&TempCpuApicIdOrderTable[Index], &TempCpuApicIdOrderTable= [0], sizeof (EFI_CPU_ID_ORDER_MAP)); - CopyMem (&TempCpuApicIdOrderTable[0], &TempVal, sizeof (EFI_CPU_ID= _ORDER_MAP)); + CopyMem (&TempCpuApicIdOrderTable[0], TempVal, sizeof (EFI_CPU_ID_= ORDER_MAP)); break; } } --=20 2.32.0.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#85104): https://edk2.groups.io/g/devel/message/85104 Mute This Topic: https://groups.io/mt/87852861/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-