From patchwork Wed Feb 7 08:22:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 127124 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp241780ljc; Wed, 7 Feb 2018 00:25:25 -0800 (PST) X-Google-Smtp-Source: AH8x224fX9J8TACttFhaVg2sE7zehPJ9FxA3S/qoBmbC4Nw5hnB/eh7+LAgn3HNdRbGiHmlzhcIM X-Received: by 10.98.209.93 with SMTP id t29mr5117634pfl.233.1517991925112; Wed, 07 Feb 2018 00:25:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517991925; cv=none; d=google.com; s=arc-20160816; b=cjTZnD8wMh89n7UpqoedtYNq6zsACsiAl4OQrLafvHRGxlO6dyQT7dY9aLXx1zrGU9 E/Bp1L0tzZgM+8C5wdS/RRdt0TM9lZzlak8str+XdhTrPoE18ep86kf/SiHjdPnRWLDK +vHZbQA4WNARs9oFR/0fHVx5/+kKx5R87Gh7//YWTUNmq04nbeztVCkFL6F2bB564m5j p3j+ZHrIRB09XeYUxnub3b6wncyhoFIyOz8BPrZ0s+3a7JCzr2CT3w6xcgasegBKK/R8 afW9ntPulOG4y6ahWXyHjMWduI3Gx7eNanf4DRhcO+XqN+GSALa22lXFFohOs1Z3DlO3 D1gg== 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=zskqa5egw412rExbBn9aPdOouz2O7qEnFpVjexW+R3U24r096X8V1M9rMXgrIZZ4ey 8SVUQbl9xkiUx1LGdZ1Xo3ovi7bVA5cLz+itfkz4Za5Lz5OMKhpNTpJz/UEG+RL3foy3 NHJOpoMJHaGPVGLibE3NOAxOvwEWZBsVgDk85xrRmmz9hkU4v+x26QgL0ikfIO+2KH2C a/xCb26JSlpmN9pVoTvLljDYWgQgHO02+Ly0vBFpq5tpRgHjjMxM3vczbEgQgVcNGLqC WcehcqRWHo5saDoE/imBQCYYWosfHII5c/yErJ11odrx0RWVlU7NkxcTokeojCh6JYnT ND5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TWQsOZvW; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id w34-v6si742707pla.629.2018.02.07.00.25.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2018 00:25:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TWQsOZvW; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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 E2E2D21F0DA75; Wed, 7 Feb 2018 00:19:40 -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::243; helo=mail-pg0-x243.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (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 D626921F0DA6F for ; Wed, 7 Feb 2018 00:19:38 -0800 (PST) Received: by mail-pg0-x243.google.com with SMTP id w17so15000pgv.6 for ; Wed, 07 Feb 2018 00:25:22 -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=TWQsOZvWgG2HTKnYxj8tUfvYwWtVFJ3z9jdyVA4XMmyG45DfNGWnt2b5b+9MvRrAuQ J3vVoqDyiLxBb8f4VPXtXHpxSMLyGve2U75SQlbQzd5xclQxmj71Ei/J7WJE0YlyacdM TfrL8mrqwXqDJRLiAEe0S6S4U6OVKsdHUtoF0= 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=UuXg+AZuN9htAxfoIAmFwg+voAhhvsigPNYdjW+TFx8lzs1QMOBQjuo6kgTLeaYjFN RDvMdaVHz0j5jddv4qU27eCBikifU7iEKTxApOms3cxYVrskvdvFEhRg4z1dADXytrxf BeChIhaL9SFpkBxVSaSMnfvrN4hcEnYbHEzfnfQhNeJiMpZJ5uO6qmPWIwgr2V/qfjgg PlHQp/3vjhqUwl5/s0lhcEvj0ezkz6HxEXRPcgc4xxBzQX8zjPw7W3x03BSU/AbzvVMB E8j+D8kPOad1Hr6Vb5TQunX0pT9ZHXlR2wLGGUK+UYo4lfupwX+oi0Kn+4j29T4pqkCy brWA== X-Gm-Message-State: APf1xPD2R/b9uDNXZvigRipUSYpQXYS7tQIff4k9jAZpzVOH6SdBsrMg m6eXoyV4/2b1wIfhnOED6tIS0w== X-Received: by 10.98.195.2 with SMTP id v2mr5118052pfg.141.1517991922362; Wed, 07 Feb 2018 00:25:22 -0800 (PST) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id k127sm1984999pga.92.2018.02.07.00.25.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Feb 2018 00:25:21 -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: Wed, 7 Feb 2018 16:22:43 +0800 Message-Id: <1517991769-5485-10-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1517991769-5485-1-git-send-email-heyi.guo@linaro.org> References: <1517991769-5485-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v4 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