From patchwork Tue Sep 19 13:56:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 113006 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp4974131qgf; Tue, 19 Sep 2017 07:16:59 -0700 (PDT) X-Received: by 10.55.138.7 with SMTP id m7mr2229432qkd.121.1505830619359; Tue, 19 Sep 2017 07:16:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505830619; cv=none; d=google.com; s=arc-20160816; b=PThuJTqHuxta6hNxjZDTR7zSL1diufbV7laTYdbdT+N8AXqy+CtJB7NtK104z9twlc 0vSuIG34mgwj/iDu60o7gVyJpQiIJ1U4PJuyddJVPTeEVTp2W0MneJGiRXlrNSAHrvj9 IBICE6m63UUlGD/+vs6RBRD+6e/oUHpY2Lno3Q8ug04BTWARIpVusW4KWN+fs8ULj+9S 2l7KNctlJ3tqcTfrKkRNH8GgSgoOX38qq62g4glXkap4P+Ocep7U1a5ECNoUe9B1KWUZ VFmxKSook/7gQ1C89JRCzEmipkqStY27L7IPkvxgqbTc5j0piwk5gg3IPUfWa0eHbcv0 gomQ== 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 :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:delivered-to:arc-authentication-results; bh=Ql5XNCEjYKYDxq5KFO0l92xJovbfEKzpR/TpTGvkWlE=; b=jaAsYokBXVsThjgErxtt1gK4n4/2WCi/OciBGlPi4Tcvo95Q2Uva0dymQxw8+B5G3k q8dhWwkO+jPkjUs2bptTfOxSQzgUjScM6i6WG+hBpfjsYaIFtiKHjABbKztrm3Bzwrkt TQSrBU8K/3oawxi+g0RvdKPO5Q/MUCsHmYeBZoWg8rLvtIqUqDM32qyRRBAFbKX8lbPv bBaSCxuKrmSfmCkweY6t90pZLhReL9/HAwgh0PLckorBjyCRact0F82AJYhIKqpnX4Br 0eg+ZVY53+Ny9VuoSeyEk/159vNtUafbn+R80hkZ6UBPB2oOAGGWWgRiZRRNlbBwkqGx wpdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x25si1494909qtc.247.2017.09.19.07.16.58; Tue, 19 Sep 2017 07:16:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D823462D05; Tue, 19 Sep 2017 14:16:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id B7DBC6444A; Tue, 19 Sep 2017 14:10:56 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 0C74A62C59; Tue, 19 Sep 2017 14:06:00 +0000 (UTC) Received: from mail-pg0-f54.google.com (mail-pg0-f54.google.com [74.125.83.54]) by lists.linaro.org (Postfix) with ESMTPS id D9CCB62C60 for ; Tue, 19 Sep 2017 14:05:43 +0000 (UTC) Received: by mail-pg0-f54.google.com with SMTP id p5so2051895pgn.7 for ; Tue, 19 Sep 2017 07:05:43 -0700 (PDT) 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=ZV7+IQc4vxI7AVJ71/of5OG7XUYsEIlHNuERry2uJMY=; b=SdrUC5ylJNx49fYADG1OcHixTNACF3HRdNqT+h/KbB66rlT39hZ/agrB3HrXFP65pP LX3qHAK5qZVj6bvW2rBFIAH0HG/BeFQT+QU5ox1qBzOJPo7YuU/wufgzmrZZ9G9kw25L PTzsu6iC3yS1b8d4iuW5vn9fAIpw4hu8ZznlaAXMfC42dXpfIVq6diaN/67zptnvKZq4 R7hDeh6vWhgiJA3zsM3BZYgbp7bdekG61T4RJz2n45/ug1SO+dQ8hthjuRcxsuyuvIfv eH7kd7eGhtcAFCqI5tZ7y8U+bCsDD76hReeBFGfo5K39l/7MiGmPJnEd5n5JQK6XvTHf ejNg== X-Gm-Message-State: AHPjjUiVCqsmr9XuRP5X5oylRsm0XDpJXL9GMWO4CiGAxAXKGzljEBbj z7Alk4B0W3iGGNl/thNT8Ur/MwH5 X-Google-Smtp-Source: AOwi7QAMmFLZDGShmdRGs538PO893ubb+cL6cNv4D1X5f8KwAH9Y80L2gC0mdGod1ZDx/wBHqjlEuw== X-Received: by 10.99.109.65 with SMTP id i62mr1408285pgc.83.1505829943243; Tue, 19 Sep 2017 07:05:43 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id 13sm4390439pfm.138.2017.09.19.07.05.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Sep 2017 07:05:42 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, graeme.gregory@linaro.org Date: Tue, 19 Sep 2017 21:56:25 +0800 Message-Id: <1505829398-52214-20-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505829398-52214-1-git-send-email-heyi.guo@linaro.org> References: <1505829398-52214-1-git-send-email-heyi.guo@linaro.org> Cc: guoheyi@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, wanghuiqiang@huawei.com Subject: [Linaro-uefi] [linaro-uefi v1 19/32] Hisilicon/Smbios: modify type 4 X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "For discussions about Linaro-related UEFI development. Not a substitute for edk2-devel." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" From: huangming modify processorFamily of type 4 to ProcessorFamilyIndicatorFamily2, indicator to obtain the processor family from the Processor Family 2 field. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ming Huang --- .../Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chips/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c b/Chips/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c index 61473e8..c9903ba 100644 --- a/Chips/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c +++ b/Chips/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