From patchwork Fri Feb 2 12:05:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 126648 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp576768ljc; Fri, 2 Feb 2018 04:06:22 -0800 (PST) X-Google-Smtp-Source: AH8x226sTIlPN0U2MmDbuM8Njt84PBN2lt8dB5qGn/+ecBKAKu5UzUmA4gjnqhbNK7OT905KLloZ X-Received: by 10.101.98.193 with SMTP id m1mr26744333pgv.174.1517573182320; Fri, 02 Feb 2018 04:06:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517573182; cv=none; d=google.com; s=arc-20160816; b=aOwEHlKAWT3MZavT1YnnV5LC6C7Cp2CXXsp3RlwW0X2g5iSyyqTKsb/0jPG0MQ6OAq 2rxgOlVfbD0jItL2z6+gtLDqHwuC2D3vl4+QAuMIKe2amE0t8d9OuPGr0iHv/IFgkbzW Z4vcobYpef+lXY42SyErTFzdFWXLwJZTX/75HgiOWQbkShoPbZFSVe1gpKYIusgnX9J2 7vSURvjQlgN+BtXSfSyf2t1RtihtFqlvLdhMdA4qvvaMlxRvwXYxpyTnoM3brJtkwrdW 5wpB9ZX6OgZuRteo7gfwyKs3ISHI4do5/jltgpD8SGjEvhs1VZxl8yQs24PkwVofofI1 GsPQ== 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=4QCE00gOIWBVdy/TAOWYlGuBA8M0Q1DDHm8G8P4w9bA=; b=MzkWOEj26Jfwp/MD3niTcu6KL1WpuqQYq7Y5LvckDguDHcx1m5aeFWlq6sfKS0qNyz BdQEw4IvcfBL6E05MTO3+Iir8o5LrYDKkeuZW172QlWMjXo43+RdvuLj0EswHV4p8qm7 0G095Rr33SoFc0QByXnzc+9lE6zGqnErwNKS/fD7GZufet+bm1PE8JZduvKxrDhTHGmQ 4gsCO0+mdxpGwWZoUNlwkDYrSKxevgQys+r+evBy4ktwYmUytvt6fC6FiTzleWqDD2OA wv0qJDgYnpKBzUtUsyXDfrrT6UY90DdOevmZAb/JSsX6hyiEavc3Sn/dok3voNs99cvV 5LVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eTVTwtok; 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 o3si1347348pgd.298.2018.02.02.04.06.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 04:06:22 -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=eTVTwtok; 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 79DE8223AF829; Fri, 2 Feb 2018 04:00:43 -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:c01::244; helo=mail-pl0-x244.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::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 9227C223AF828 for ; Fri, 2 Feb 2018 04:00:41 -0800 (PST) Received: by mail-pl0-x244.google.com with SMTP id o13so6021491pli.6 for ; Fri, 02 Feb 2018 04:06:19 -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=8plObo4XLBnM1mRMEHVQ4HPNa6fLc3RqE5JptMGXLe0=; b=eTVTwtok3DIIA+5Gd/smMyrQPyxnlBWuUU90GjSCHQb2RZVlXPTSY1mYc2XhZni/xq KZY3jcfwm0+BeN15lnA9+5UcQz+7VgFJgfa2CQfoJ184gvW/YwyjtM28wltxM288uOju qiqo4Vo4uDoyAnTT2JhaZp8mqdSrEQcLMGAXU= 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=8plObo4XLBnM1mRMEHVQ4HPNa6fLc3RqE5JptMGXLe0=; b=BCIqTTbk9p72QDj5gHhac1zwAAw03OsScDYnJjx1BVJWeA0l2Lf9GzqDq4RKdXCEnE rUeyRzn66JNa6Ye6+tcefyBwSVhI+kK4oTs9ceOUh7oz/ueV4s3xdcHYwjPYBUuC6QvD hM3FcVJn6SvIQgxTEzMJFLy/U4SWoEhJuCzr7rXQeut0b6Qoxw06EzSUKeJZnzshCqlV 2GqpC4D4V6dwdkP0zc5ZtY4IXTwAREV11B0lRRUm/x9UvovYgp03v/q4Xc2u9LFU78G5 yOy1xo/jVykbCoVDJzwEyGKNdmDNQlN7xVVF++gOKwnOj24alHtVUkVGxxWj6iy190oh relQ== X-Gm-Message-State: AKwxytduyERMdzhBXIHEBE9cqjaO6CLdK3p571Uwf6X1KGRV0mbGj08m AJHgo37YlwmpqXUg97aIQ7kA4w== X-Received: by 2002:a17:902:678e:: with SMTP id g14-v6mr34072440plk.309.1517573179713; Fri, 02 Feb 2018 04:06:19 -0800 (PST) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id b8sm3673047pff.31.2018.02.02.04.06.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Feb 2018 04:06:19 -0800 (PST) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Fri, 2 Feb 2018 20:05:37 +0800 Message-Id: <1517573143-11451-10-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1517573143-11451-1-git-send-email-heyi.guo@linaro.org> References: <1517573143-11451-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 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, john.garry@huawei.com, 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 Reviewed-by: Leif Lindholm Reviewed-by: Ard Biesheuvel --- 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