From nobody Mon Feb 9 01:20:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+43501+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43501+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1562785522; cv=none; d=zoho.com; s=zohoarc; b=XmXbgXGveE+AmPvwsRA5rv8/tV8tJ5Y/t17vqiproWCeCa18udalSF/4CcXzw5VqshgJDkvqtEP0i1F0L6vhUOdOwtvzDlpOdVXGRg6/4RutN1N+1+1OeQS/n1itK0d55i6ob1Vqg2PpCjTzTN5sLtpfC6uzVEfb13SUtyrt8OU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562785522; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=mBk4g2J+wB/I9YWUS58GUYyL35bf5Nrw+Zccf+gV504=; b=Zu357lZXNCisAWmG059lorU4lNr3CxYxTXwthYTc7Hq22nSg/hkMAB/jynN5T8FriDrR8ygHXeq2dyFrV6FEuQNjnGlsDoS5oWsY/uXCHnCwdqjTI2td0qxRMukuq82fY/QfLCIrhfy7rM6CSGW33WAvG5QRAkUF3Ygjj5yVp1o= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43501+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1562785522050622.5115801603567; Wed, 10 Jul 2019 12:05:22 -0700 (PDT) Return-Path: X-Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by groups.io with SMTP; Wed, 10 Jul 2019 12:05:21 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2019 12:05:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,475,1557212400"; d="scan'208";a="171008186" X-Received: from mdkinney-mobl2.amr.corp.intel.com ([10.241.98.74]) by orsmga006.jf.intel.com with ESMTP; 10 Jul 2019 12:05:20 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Gary Lin , Zailiang Sun , Yi Qian Subject: [edk2-devel] [edk2-platforms Patch 13/28] Vlv2TbltDevicePkg/AcpiPlatform: Fix the error from InstallAcpiTable Date: Wed, 10 Jul 2019 12:05:01 -0700 Message-Id: <20190710190516.6012-14-michael.d.kinney@intel.com> In-Reply-To: <20190710190516.6012-1-michael.d.kinney@intel.com> References: <20190710190516.6012-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,michael.d.kinney@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1562785521; bh=q0xOTnOJV3nHSYiD3krXa6yRhajYx4ABp8/d8oX8OQY=; h=Cc:Date:From:Reply-To:Subject:To; b=d8qs2kS5sdkCWQhDDmnhOp+icDLnblp6+Ap4eIih1/ZrSx+0LvpMX3pK3jhcYUfX/R5 my4w9D3D30+11RiZBwXFSPP+3EanMmzGbYDHJsZdRjMuoi0T0M6R3LTWzeXet0I1siuFy u/BhRwlD3trzFOjsdsehUdBIDg5ZbnaA/0c= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Gary Lin The firmware crashed when installing ACPI tables: ASSERT_EFI_ERROR (Status =3D Invalid Parameter) ASSERT [AcpiPlatform] edk2-platforms/Platform/Intel/Vlv2TbltDevicePkg/AcpiP= latform/AcpiPlatform.c(1162): !EFI_ERROR (AcpiStatus) The 'Size' from ReadSection() is not the size of the ACPI table so InstallAcpiTable() returned EFI_INVALID_PARAMETER. Use the 'Length' from the header to avoid the crash. Cc: Zailiang Sun Cc: Yi Qian Cc: Michael D Kinney Signed-off-by: Gary Lin Reviewed-By: Zailiang Sun --- Platform/Intel/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Intel/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c b= /Platform/Intel/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c index f3efc41e31..72edc1bc1e 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c +++ b/Platform/Intel/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c @@ -1152,7 +1152,7 @@ AcpiPlatformEntryPoint ( AcpiStatus =3D AcpiTable->InstallAcpiTable ( AcpiTable, CurrentTable, - Size, + CurrentTable->Length, &TableHandle ); ASSERT_EFI_ERROR (AcpiStatus); --=20 2.21.0.windows.1 -=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 (#43501): https://edk2.groups.io/g/devel/message/43501 Mute This Topic: https://groups.io/mt/32419734/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-