From patchwork Fri Jan 26 08:00:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 125920 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp155476ljd; Fri, 26 Jan 2018 00:03:40 -0800 (PST) X-Google-Smtp-Source: AH8x224PUmdxM0ZO+rzY7UknWWdUeUYCp8ikSOKXruO9hT0wax6qL+1TOZNR03uooUy+KIXkgC8F X-Received: by 10.99.123.74 with SMTP id k10mr14825047pgn.165.1516953820414; Fri, 26 Jan 2018 00:03:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516953820; cv=none; d=google.com; s=arc-20160816; b=faVwvspqxK26/xyqPJhaWIy5W2+S1rApgr6wExqWa/2y22JIVVdeXSVLJS/6dHwvkf /9LyKCOj8hiN8G/59EH/fAfmPsVA74pOFd3ZScU0aXOUk/h0sLKe/V3tRF4SH75l8P1M 2XAZn1rXRh007Q3YB8RvS8nXfk3dLHxcAaKv1WgamecViC2YxAchi7zitDGvYYpWuTuq m/JlFvXzIixpYEcRs2wkZ9ub9FAYNZbo+Zk216v78eLYohfJd8fOQKR39v66WsSJh928 qH7RD+bZtvr19lUBAROrH6rGRXruNlhzDQ9yFy5fXbOKLKOTUtspb3mjJU5I9NiES5rU 8dQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=qeVEg5tYOVNwUfj4n4rEsWiyZOciUTWE4MVDxC4r7k8=; b=QrbBWJa42zCO4o9dDCc1tkTxwvY97dFmmS8slXPXACwoWBH7j8TMeBgtyDxKLNuj5a /yrkMDleSbVxR861Mr4x6jcHe+yvAqbH/gQ4axJnDITJNp6YLtiQtfbBsPq8C96O8UZG tb7falChFZQt+kt5Yl/wYd18I30g4gWM3/KDLNFde8Mqr9ShgHz3pq5LatHUy82f+BQG OhncnklhkgF67jQ3tP47Rny1n55vwEo0TVr1RAnoaMV2KR0vq6KxX/i7eCVtPx+umOBe IZ9igreQiuwHVIQqFuef/TG/3aRohMdY1QVI5PBjRyUq8V9gbzGa9PfSc3MRxFmZX/Up cJeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=b3zbw20u; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id e32-v6si3380262plb.34.2018.01.26.00.03.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 00:03:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=b3zbw20u; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9103C2222C249; Thu, 25 Jan 2018 23:58:09 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c05::244; helo=mail-pg0-x244.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id F0BEA2222C22F for ; Thu, 25 Jan 2018 23:58:07 -0800 (PST) Received: by mail-pg0-x244.google.com with SMTP id k68so6805296pga.3 for ; Fri, 26 Jan 2018 00:03:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FIWpQfHJGTjPPQyzwTr5Je/0dfhw1AntySnNkmfEihA=; b=b3zbw20uBMeYq5Mws/dZswP+R+PfAseIA3Mj+MdYTNWatOtdU3IfRZ7QByvQ6WovIH Mts/fdx2a0kGc/495bqfvPOUtotK76y37D8hqxBOVcNdFeF+7BWG0z1ZWiC3G4YuazfS Pllc/FevzUiaSfZ+YgGitqdyqi94gZjhHVgZM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FIWpQfHJGTjPPQyzwTr5Je/0dfhw1AntySnNkmfEihA=; b=r97YcGCgEn/AGqB/AadW7z1MsANx8zRMkFFUePsBfvJ2USzAe/OkRQwE2U3xRWFNwk xIkY8oLS/4MLl6NLrZ7tsx569YE9tMY82Mp3qY6FhmHclA6YESshgXqkB4OLj9amZgTq ddM7ohnsPfjYwM+XsiJfXqmrYxDct7av+5gSoFsyz1bWh8dubUy1ajHnsDIP87y8Yii/ My6zmTKJStws+/ID9NwB5KMkOlYBp3VOSdsGX6l7L7QEVS+rhKX1+KVlIzviIik3SUNR Wy3uPHhxn7dwt+gboy1JOwDmXdDjvgbtVyaAtEfvU/5KXZ4FFXIlpqWblEuh8/sMy1l/ ekRA== X-Gm-Message-State: AKwxytctUxtw2aKrpK2IhqKdUh67jOcGZrrgKleSTYlESQllRbuYn90B YRxyFZRgCXbdCU8jcRtWCx4/Jw== X-Received: by 2002:a17:902:7488:: with SMTP id h8-v6mr4020563pll.164.1516953817989; Fri, 26 Jan 2018 00:03:37 -0800 (PST) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id k71sm18406091pfg.52.2018.01.26.00.03.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Jan 2018 00:03:37 -0800 (PST) From: Ming Huang X-Google-Original-From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Fri, 26 Jan 2018 16:00:44 +0800 Message-Id: <1516953650-57980-10-git-send-email-huangming23@huawei.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1516953650-57980-1-git-send-email-huangming23@huawei.com> References: <1516953650-57980-1-git-send-email-huangming23@huawei.com> Subject: [edk2] [PATCH edk2-platforms v2 09/15] Hisilicon/Smbios: Indicate use of ProcessorFamily2 in type 4 table X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , wanghuiqiang@huawei.com, guoheyi@huawei.com, waip23@126.com, mengfanrong@huawei.com, huangdaode@hisilicon.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" modify processorFamily of type 4 to ProcessorFamilyIndicatorFamily2, indicator to obtain the processor family from the Processor Family 2 field. ProcessorFamily2 is already specified as ProcessorFamilyARM in the existing table. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Signed-off-by: Heyi Guo --- Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c b/Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c index 61473e8..c9903ba 100644 --- a/Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c +++ b/Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c @@ -125,7 +125,7 @@ SMBIOS_TABLE_TYPE4 mSmbiosProcessorTable[] = { }, 1, //Socket CentralProcessor, //ProcessorType - ProcessorFamilyOther, //ProcessorFamily + ProcessorFamilyIndicatorFamily2, //ProcessorFamily 2, //ProcessorManufacture { //ProcessorId { //Signature @@ -172,7 +172,7 @@ SMBIOS_TABLE_TYPE4 mSmbiosProcessorTable[] = { }, 1, //Socket CentralProcessor, //ProcessorType - ProcessorFamilyOther, //ProcessorFamily + ProcessorFamilyIndicatorFamily2, //ProcessorFamily 2, //ProcessorManufacture { //ProcessorId { //Signature