From patchwork Thu Jan 18 15:01:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 124980 Delivered-To: patch@linaro.org Received: by 10.80.140.226 with SMTP id r31csp3636466edr; Thu, 18 Jan 2018 07:02:28 -0800 (PST) X-Google-Smtp-Source: ACJfBovs3cfgLTQyvdF0PuGBbJ4Jnk+8FZQQ8BF2HoYaWjzKchcSnUUs7hgwoy4OnWTo42wRj7+j X-Received: by 10.98.231.11 with SMTP id s11mr16192067pfh.174.1516287748101; Thu, 18 Jan 2018 07:02:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516287748; cv=none; d=google.com; s=arc-20160816; b=Vq+U9jdepTL1a0fIEh3btwrvbhTPuxt19EMbYYFz+PMOA13tQQ4xehpLx/hT5Cs31n BHa63L4F2ifMLSeUb4WII1UShfI7y+LNF4k4F0AZ0uLgr07BRjNrrHNJqn8PHaOsnS4y rZqhZlIgzkIu1p9MoViEzxlTT8e40cPtELD86J2Ximj4hXu4Ze6P/BoAg2PPOzASyyf4 r1uNsQzGmxpSmUy9JIY0vBE5MG2AzPJqZtcPraxW9sobc/YxeRV96iVQ6V5L/nngsY0a O9GhKCBADOv/llHBX4CRRRiZxluu7W/eMIaiT75fvic50FeQR2jfeH5y6bc0OCdpC2Ua KOow== 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=BF+rKPEFb70QLWCAbnAYEj1I04doDTiYPHc9kOLyXlE=; b=kqrllxSAKctm0VKgaIpMxqBHWRXCyERFZV360YzkFcZWfXcw055WIvIQkX6s19q3CB itEy4mws2XyBnxXbF3nI5iqLfp79ylER7gO+erdX25LmXbhC3xyrYIij0KP2K9LjfCH/ TUXHhMp62Yp8bvVf9cAvxebcZWtH9U2NpZDgk/i9sGjeoTv142TrTOsrt5+KEzSWwcBU bioUHzFI6y1t9ZpoaNE40N7rTHapVYj2AyNZ1Zu+fapVnCOik30hmVkLpokQybWgVlFs OZPnAuYXZL7c3DhoLWPn1wVIc+9O2XADLmns9vgPNN9eV2jNw5KbbadPQheGjCzXgHFB gMeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=BOOHoVaf; 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 e25si6307826pgn.782.2018.01.18.07.02.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jan 2018 07:02:28 -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=BOOHoVaf; 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 4A96E2232BE0D; Thu, 18 Jan 2018 06:56:54 -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:c00::244; helo=mail-pf0-x244.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::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 7D80E221F93B6 for ; Thu, 18 Jan 2018 06:56:52 -0800 (PST) Received: by mail-pf0-x244.google.com with SMTP id 23so14780396pfp.3 for ; Thu, 18 Jan 2018 07:02:14 -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=UjzDVu9Yn/CY6v03L5gaQCSu4h0di5cqSFqBnrW/3sQ=; b=BOOHoVafjluBSRt1Hmv/FZFp5awZkuzVwmmdjNHSjQq0l0kjNmLbJhxVxkZK5NwxmS T7CM5h75rpXkIQrWQTjlWMzehdul9wi/ORpkIis4He7mNEkeq2cyqMoS6YTZlnAN2vjX XLn/Bc056NppGf5ma/0vWNbFne3d+bdZn4ak4= 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=UjzDVu9Yn/CY6v03L5gaQCSu4h0di5cqSFqBnrW/3sQ=; b=IDyuPaSXstxOhQg1M9sRUUMvcoPqsX9+0PTGz0PuZbf+VbEbLBNsW/rSbZz8wEgaSj jogoL9aMuKHk1DRNCWQatzgV5aFZldGU2gtNcj3Q2+gC8hR7rN5c6QelHd8qQfrXr4FM XxDKjj7LhIwhMSt/dSqXcwFjxEOTP23OuRWFcQnJkuEoJTL73MOgrlym5096j+RWt97j nCVrVmk/oZBodMJZzBNUXDDrDpVS0FL9dX9VYHsRMDJFijG4PqPEoswXIpdt2MeQdzyz haXViZt10FcVJHae4qTwsE//I7vww2TT0ZdiRE/JcmLFI4dLp965gYBDkoumYZSEArXi qlFg== X-Gm-Message-State: AKGB3mKLuvtpr8nlhdOsfhsH9Y7oFyNaPqsHuE8BYHgjWWSIbulHw6Sx 0o/OtI5Yb81PqX/zWo9/1FPNgQ== X-Received: by 10.98.76.87 with SMTP id z84mr36699297pfa.208.1516287733982; Thu, 18 Jan 2018 07:02:13 -0800 (PST) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id j14sm13621815pfh.94.2018.01.18.07.02.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Jan 2018 07:02:13 -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: Thu, 18 Jan 2018 23:01:36 +0800 Message-Id: <1516287703-35516-8-git-send-email-huangming23@huawei.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1516287703-35516-1-git-send-email-huangming23@huawei.com> References: <1516287703-35516-1-git-send-email-huangming23@huawei.com> Subject: [edk2] [PATCH edk2-platforms v1 07/14] Hisilicon/Smbios: modify type 4 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 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. 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 Reviewed-by: Ard Biesheuvel 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