Received: by 10.223.185.116 with SMTP id b49csp2005628wrg; Sat, 24 Feb 2018 08:48:00 -0800 (PST) X-Google-Smtp-Source: AH8x225ZLs9iVlqPR97lIAgQdtmrfydDmgeiIgGZ6LJziWwkQrRgRAdDGIW/ZweT8h7UGkfekKku X-Received: by 10.101.97.139 with SMTP id c11mr4322173pgv.443.1519490880684; Sat, 24 Feb 2018 08:48:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519490880; cv=none; d=google.com; s=arc-20160816; b=CZ1oqWLtshAtp4+7ZG8GaoiyaUFNb6Ytrh6f1sPMOkcxEmilPtwM4h8zfQmJHesn37 4EQzXX9rGxzBh/e3SYqPlzo9YmVTj4dH0DbqIPm2T8aRhqh1k8d6cHAhLXtLuwqM7gzh xw3DchxEyQ4+FoSgUrsu88b9bal+gx5MJl4Fb9/6GeeInuXwts7DOpFpTGdthYXsm1Iv 3ViDe6VUO2zaIOB3SprVUet969a2oY4cpJBLb1JNPVqDsKnJyWpXT93/SmVIqvXm/r+P vNv+/6wWMKtLfwQqH7b7zdcnwPVm19HGv0Bl1sXw2FaXj9FC9uWmZLIFcMb6jlZlp+6T irWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=6hCXzk5dUQ2j7TjiHeP3+nvOTfA5Zr1KNfU24W01lCs=; b=UA/kfWtnSBlq8SMh9UOgY7P3G1NFR0+uA9anARVEj1XmrfJtZmRbJpSEdYyhnualOt F0riF9ARILaVTRScBqNru4UHzkjOfSre9jQgvHNwBFNFs11BycJsqqGi1ShHgCFR5/dP nCSBh8vekLixPEhTiShTLjIRHLNQuN18TtlpgWCO9uwkGDHB1Oh5OrlXTUKwbcyuAXnu V++zDofNQs91EVFUeiSODF/L7p0AZO+zs6u9JX2yi916s6lVFH+04AD28JUupMkT0+3T G2U9y0zR0kt6kb84M7g1UVrXdo2GyKObkvusLHSBOpozyAndeG3BLZPBTR4hryDnAEtv LeEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UGYoyuVA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64-v6si3757855ply.277.2018.02.24.08.47.46; Sat, 24 Feb 2018 08:48:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UGYoyuVA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751567AbeBXQqn (ORCPT + 99 others); Sat, 24 Feb 2018 11:46:43 -0500 Received: from mail-io0-f175.google.com ([209.85.223.175]:39436 "EHLO mail-io0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751357AbeBXQqm (ORCPT ); Sat, 24 Feb 2018 11:46:42 -0500 Received: by mail-io0-f175.google.com with SMTP id b34so12975046ioj.6 for ; Sat, 24 Feb 2018 08:46:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6hCXzk5dUQ2j7TjiHeP3+nvOTfA5Zr1KNfU24W01lCs=; b=UGYoyuVAn9Nbcw2Byg7hKMggUXkUpEveeKYgFZnLQ5vIbfTA1djuyVpBh/AqRq68l9 MV3w4+xPuY46hhnD70/YN7T/MESRlDWZG24ccFOuGm+fFUJYegUHeBit8kD666p/nShU nOqeTKzXiy+ON7+63muiM8P2PISOMLKq8tbX8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6hCXzk5dUQ2j7TjiHeP3+nvOTfA5Zr1KNfU24W01lCs=; b=Bf9Ok4A4Yl2P8VPGUaIdRGRtt8/s4Jc3tuoabh6g9JhdcC7GOIr7MrTOjSQka/k1Ic NrcPne9SfA9sm4t6OdpoM3FoqNzlORwa21103l5jl0Z4zDTz37oXQDAHdFPDrOVwPFFl +sWz9V8gn+JwuLWlu+hra9A64MmCmGUK39lf38Q/6po9IghQIV2sf4SST3MftMxAxgFL nqyg2B1f/QdGksRhqn84AGeeRaSgqO/TMlRvis0bW5os3MDJpp2MJRUbt7+ekEBkOUv8 RvnSrGB+7S6u7uivEP0jmMHJ8885hyY+P4Wr8KdbZWruEotpqoeq5DDds/sWrgqJI3i0 c2Vg== X-Gm-Message-State: APf1xPAE1fkY7YgkY6nmM0lJk79uBvXUZ3cLgs2Hm8Sr7h+Aa9aEJx+U sUymKus8cAvpKojUtMDM6wg4yQxUNM2U4or60nydfQ== X-Received: by 10.107.151.74 with SMTP id z71mr5625519iod.277.1519490801366; Sat, 24 Feb 2018 08:46:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.138.209 with HTTP; Sat, 24 Feb 2018 08:46:40 -0800 (PST) In-Reply-To: <20180223200333.6410-1-Yazen.Ghannam@amd.com> References: <20180223200333.6410-1-Yazen.Ghannam@amd.com> From: Ard Biesheuvel Date: Sat, 24 Feb 2018 16:46:40 +0000 Message-ID: Subject: Re: [PATCH 0/8] Decode IA32/X64 CPER To: Yazen Ghannam Cc: linux-efi@vger.kernel.org, Linux Kernel Mailing List , Borislav Petkov , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yazen, On 23 February 2018 at 20:03, Yazen Ghannam wrote: > From: Yazen Ghannam > > This series adds decoding for the IA32/X64 Common Platform Error Record. > > Patch 1 fixes the IA32/X64 Processor Error Section definition to match > the UEFI spec. > > Patches 2-8 add the new decoding. The patches incrementally add the > decoding starting from the top-level "Error Section". Hopefully, this > will make reviewing a bit easier compared to one large patch. > > The formatting of the field names and options is taken from the UEFI > spec. I tried to keep everything the same to make searching easier. > > The patches were written to the UEFI 2.7 spec though the definition of > the IA32/X64 CPER seems to be the same as when it was introduced in > the UEFI 2.1 spec. > > Without basic decoding, users will be confused about what these > "Hardware Errors" mean. So I'm requesting this set to be applied to the > stable branches. This set applies to the v4.16. However, patch 2 will > have a conflict on older branches, so I'll send this set again with the > conflict fixed. > These patches look mostly fine to me, with the exception of some minor nits. I can queue this for v4.17 if you respin it, but I am not sending 400 lines of brand new error record parsing code to Greg for inclusion in -stable, so please drop the cc stable tags Thanks, Ard.