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 93F11D8106C for ; Thu, 30 May 2024 10:06:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=opHBAvXvNh5EDul+nOVpEC7/qutK/IgWso7KQmySKqA=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:To:CC:From:Subject:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1717063580; v=1; b=COU2MLPgMPt/Xo6fGAi53ppNua+UHnzN0Wb5v4czlG7N6ll4sdEYazJuIJeMlpCuPPwgt0YY c/GiWnlErAfcrLJrqbPBfD85qu/Ld6x38PJhJ2juu/4aC+X+/Vyfrsk0cbOrIRUeGyO+4QQFcVT 9YCgK4QxNSki+yVOJvdGC3EbXWXdBCyOo+kIeLpZq0U3lYHJaqp2KPu2XswzueAgqXyhsiGydSS OUJz83dcqtQaCP2O3sWIo2Mz78avVXAMg0tUdOQsSxP79HAx5dBiyTn51NX4oPGumCurJ7+Ot+X 3Z6x/2534la5b7rZBLqyUNZxNe5qP/FD3SNCklz3jKsgg== X-Received: by 127.0.0.2 with SMTP id BwR5YY7687511x1q6fgqrADQ; Thu, 30 May 2024 03:06:19 -0700 X-Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by mx.groups.io with SMTP id smtpd.web11.4864.1717063578347501246 for ; Thu, 30 May 2024 03:06:18 -0700 X-Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44U2FjOt021307; Thu, 30 May 2024 10:06:12 GMT X-Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yba2n3kbe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 May 2024 10:06:12 +0000 (GMT) X-Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44UA6B6D015763 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 May 2024 10:06:11 GMT X-Received: from [10.111.132.194] (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 30 May 2024 03:06:10 -0700 Message-ID: <45c7db99-9b36-43c1-aceb-50705fe350dc@quicinc.com> Date: Thu, 30 May 2024 11:06:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: "rebecca@bsdio.com" CC: "devel@edk2.groups.io" , Ard Biesheuvel , Sami Mujawar From: "Leif Lindholm" Subject: [edk2-devel] SMBIOS BIOS ROM Size X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-GUID: 3yRR0RbUF6XacT4RSlFcvDoKnBYt54HL X-Proofpoint-ORIG-GUID: 3yRR0RbUF6XacT4RSlFcvDoKnBYt54HL 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: Thu, 30 May 2024 03:06:18 -0700 Resent-From: quic_llindhol@quicinc.com Reply-To: devel@edk2.groups.io,quic_llindhol@quicinc.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: Gbaq1TofycoZry7NpJ2Wgouyx7686176AA= Content-Language: en-GB Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=COU2MLPg; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=quicinc.com (policy=none) Hi Rebecca, While reviewing https://github.com/tianocore/edk2/pull/5702, I found=20 myself wondering "shouldn't this (doesn't apply to UEFI-based systems)=20 be the case for the size field also?". But the SMBIOS spec is quite clear that the size field refers to the=20 size of the physical device the BIOS is stored on. Currently, this field is hardwired to PcdFdSize in the smbios helper=20 library. But that would only be accurate for platforms that use the edk2=20 build system to generate the final flashable image to a fixed size. This isn't really true for SbsaQemu, and I don't think it is for Mt.=20 Jade. And those are the only two upstream platforms using this=20 SmbiosMiscDxe. Do we need to solve this by adding another function for OemMiscLib? / Leif -=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 (#119385): https://edk2.groups.io/g/devel/message/119385 Mute This Topic: https://groups.io/mt/106385738/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-