From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [PATCH] x86/dmi_scan: only honor end-of-table for 64-bit tables Date: Thu, 13 Aug 2015 12:29:25 +0100 Message-ID: <20150813112925.GU7460@zion.uk.xensource.com> References: <55CC9485020000780009AAA4@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZPqhN-0004H1-UL for xen-devel@lists.xenproject.org; Thu, 13 Aug 2015 11:29:30 +0000 Content-Disposition: inline In-Reply-To: <55CC9485020000780009AAA4@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel , Keir Fraser , Wei Liu , Andrew Cooper List-Id: xen-devel@lists.xenproject.org On Thu, Aug 13, 2015 at 04:58:45AM -0600, Jan Beulich wrote: > From: Jean Delvare > > A 32-bit entry point to a DMI table says how many structures the table > contains. The SMBIOS specification explicitly says that end-of-table > markers should be ignored if they are not actually at the end of the > DMI table. So only honor the end-of-table marker for tables accessed > through 64-bit entry points, as they do not specify a structure count. > > Signed-off-by: Jean Delvare > [Linux commit 17cd5bd5391e6e7b363d66335e1bc6760ae969b9] > Signed-off-by: Jan Beulich > Release-acked-by: Wei Liu