From nobody Wed Nov 27 00:48:53 2024 Delivered-To: importer@patchew.org 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+44597+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1564474758594912.6385264016618; Tue, 30 Jul 2019 01:19:18 -0700 (PDT) Return-Path: X-Received: from m9a0003g.houston.softwaregrp.com (m9a0003g.houston.softwaregrp.com [15.124.64.68]) by groups.io with SMTP; Tue, 30 Jul 2019 01:19:17 -0700 X-Received: FROM m9a0003g.houston.softwaregrp.com (15.121.0.191) BY m9a0003g.houston.softwaregrp.com WITH ESMTP; Tue, 30 Jul 2019 08:19:14 +0000 X-Received: from M9W0068.microfocus.com (2002:f79:bf::f79:bf) by M9W0068.microfocus.com (2002:f79:bf::f79:bf) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Tue, 30 Jul 2019 08:16:21 +0000 X-Received: from NAM03-CO1-obe.outbound.protection.outlook.com (15.124.72.12) by M9W0068.microfocus.com (15.121.0.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10 via Frontend Transport; Tue, 30 Jul 2019 08:16:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YYjGFPjzL7pQbVvpiRxVsMcHeSzrjIAaKt0KNFXxSMlRyCVo0HUyo3s484PiC38wRoZ4+cEmoGDsDWzpb5moqUZ1or3jqgYUzlsyP3yaOBSgdhj/B6WNPILe7UC83fna7gYWtPrIFevjj+GGKxhLClQKb2ImEsW1NyKx/cotPr8quy5gBu6Ud8QH/B8TZSgFkuIRrQEQfC4UD+RLIoS+exmY7dJEJYppEIJuSNXbzgE+HmqGRYHGsD8SwHFAh/XrBUoI4ZA4SSVUj9HOU5nOvqNyE7b1G4sOCB+n83wzjnK7mWuS04Jq5+LAaXoBdVVJG/Nxcw8lXEoquZtNgtkv/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=foFlRcI8/aXJZGN4lRPY+hR5cHuqxQoriiyb7C16lNk=; b=ONLESk5YUkvZvA5wDWe4KqRUMj95c4/kTbj9AvWFfSguC+s+hwVlpmiyrYN/+CKZpQNXNyps4TDBxKY5Wkdc5XyT1vdDwyDvIcirMp8RUgELHB3ZOsg1xUw0nO9+rLErlaCxdZGVhyRGYWJWPLWvEmrO+kq9O+oEK/MF2F+ytzc3Cto5P+GIifQP2JXC69BHKlTWKnsGNXglMpKxjrBQi9wEphWSgHEYQKk4UWZscmfZxehpW5ONFoPFmhjQqZHbecUSth2zkElc8uAWozaPrcDbcoEq5ygGaLcC8j5i6o2UDPG/NTnyUIm3LWLyTpeQa1iuzDQZVYCCR9kze0/whA== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none X-Received: from DM6PR18MB2489.namprd18.prod.outlook.com (20.179.105.16) by DM6PR18MB3068.namprd18.prod.outlook.com (20.179.48.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.14; Tue, 30 Jul 2019 08:16:20 +0000 X-Received: from DM6PR18MB2489.namprd18.prod.outlook.com ([fe80::ac83:47c9:cebd:9f0]) by DM6PR18MB2489.namprd18.prod.outlook.com ([fe80::ac83:47c9:cebd:9f0%7]) with mapi id 15.20.2115.005; Tue, 30 Jul 2019 08:16:20 +0000 From: "Gary Lin" To: "devel@edk2.groups.io" CC: Zailiang Sun , Yi Qian , Michael D Kinney Subject: [edk2-devel] [edk2-platforms] [PATCH v2 5/6] Vlv2TbltDevicePkg: Add the missing SMBIOS bits Thread-Topic: [edk2-platforms] [PATCH v2 5/6] Vlv2TbltDevicePkg: Add the missing SMBIOS bits Thread-Index: AQHVRq8RXp+ydil64E+q91miWn8GjA== Date: Tue, 30 Jul 2019 08:16:20 +0000 Message-ID: <20190730081518.16349-6-glin@suse.com> References: <20190730081518.16349-1-glin@suse.com> In-Reply-To: <20190730081518.16349-1-glin@suse.com> Accept-Language: zh-TW, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: DB6PR1001CA0031.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::17) To DM6PR18MB2489.namprd18.prod.outlook.com (2603:10b6:5:184::16) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [202.47.205.198] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 57b8c537-ea00-4c34-831c-08d714c63400 x-ms-traffictypediagnostic: DM6PR18MB3068: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:248; 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+44597+1787277+3901457@groups.io; helo=web01.groups.io; received-spf: None (protection.outlook.com: suse.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: uC2eA5aGzwajBL6OkCxgQsg67FaxQRkIQQZaygEl3Rwl72xMyka0nW+9kz7q99XiFMRpEzQXKS6hO3OurEvtnzngcayo0dYrH0+G4HkGPBfRVI0ujqpsAOZb8FmIuzsMG/lMMMNRPhDCERlf+yziUeTRdQ/eTwcqfbSeX6UtJsYAFIv8uBfEB0tpDgG+oDuvQIfRJRzYt1SvEFXE8XIkB50jjIiSB6/iVFrx6jzyZymSmab3gTYis0MSn5+S06OHjzJyV1+1CH2hV180G2JD1+MXbtqFieFJ1wuZDQblSCua7mP+AIEmFSVaQBB8mTOISt2X5QNJVsHMJHdBwx5kMiqukKhRPcK2ARze8Xtk7TeNwNFOdYEHFgp8dk4HrcufisnX/XyRWKtS2j/rx3kMj60HOQj6YTjUr1qG950AI24= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 57b8c537-ea00-4c34-831c-08d714c63400 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2019 08:16:20.5982 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 856b813c-16e5-49a5-85ec-6f081e13b527 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GLin@suse.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR18MB3068 X-OriginatorOrg: suse.com 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,glin@suse.com Content-Language: en-US Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1564474758; bh=FFrW7f70xKrSOdeAXphMkD9J5llkbNADzUBKvszsFdo=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=gQWynxQASwFbRYnTTzd3C9OPcAOLOPBlxBIC60srwdwFg7bfeAlCspu+DoVmsPYbyfp 8uaYaa9bVkF60miXMl63aNxc01SNHa9PCvEv03xRVV+5xaYulePeDzVv+aAGTWlJfrnnl SayHfsXzgGH1mIvwZG50nyp3AHWbMFvGef4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" fwupd 1.2.10 checks the bit 3 of BIOS Characteristics Extension Byte 2, i.e. UefiSpecificationSupported, to determine if the system supports UEFI or not. Since the bit was missing, fwupd failed to load uefi plugin. This commit adds 3 bits of BIOS Characteristics Extension Byte 2: TargetContentDistributionEnabled, UefiSpecificationSupported, and VirtualMachineSupported to complete the table. Cc: Zailiang Sun Cc: Yi Qian Cc: Michael D Kinney Signed-off-by: Gary Lin --- Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/DataHubRecords.h | 5 ++= ++- Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscBiosVendorData.c | 5 ++= ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/DataHubRecords.= h b/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/DataHubRecords.h index f57a5a8c0f..83749709ff 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/DataHubRecords.h +++ b/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/DataHubRecords.h @@ -1742,7 +1742,10 @@ typedef struct { UINT64 SmartBatteryIsSupported :1; UINT64 BiosBootSpecIsSupported :1; UINT64 FunctionKeyNetworkBootIsSupported :1; - UINT64 Reserved :22; + UINT64 TargetContentDistributionEnabled :1; + UINT64 UefiSpecificationSupported :1; + UINT64 VirtualMachineSupported :1; + UINT64 Reserved :19; } EFI_MISC_BIOS_CHARACTERISTICS; =20 typedef struct { diff --git a/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscBiosVendorD= ata.c b/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscBiosVendorData.c index 91e8efc228..f564e64d04 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscBiosVendorData.c +++ b/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscBiosVendorData.c @@ -87,7 +87,10 @@ MISC_SMBIOS_TABLE_DATA(EFI_MISC_BIOS_VENDOR_DATA, MiscBi= osVendor) // 1, // BiosBootSpecIsSupported :1 1, // FunctionKeyNetworkBootIsSupported :1 - 0x1 // Reserved :19 Bit 2 is SMBiosIsTar= gContDistEnabled + 1, // TargetContentDistributionEnabled :1 + 1, // UefiSpecificationSupported :1 + 0, // VirtualMachineSupported :1 + 0 // Reserved :19 }, { // BiosCharacteristics2 0x0001,// BiosReserved :16 Bit 0 is BIOS Splash = Screen --=20 2.22.0 -=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 (#44597): https://edk2.groups.io/g/devel/message/44597 Mute This Topic: https://groups.io/mt/32651921/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-