Received: by 10.192.165.156 with SMTP id m28csp520333imm; Thu, 19 Apr 2018 03:08:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+4KXhddjIGaLir7i+C4tpwDe1omOColiif94qAo+OATckj4cEYGjyMSOtHhuuOCerIc2Lu X-Received: by 10.98.156.7 with SMTP id f7mr5277531pfe.104.1524132510176; Thu, 19 Apr 2018 03:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524132510; cv=none; d=google.com; s=arc-20160816; b=fcCSP5mZe19JltHdn6Obx6v/C8dpaTRwMYn1ntNKwlxujPs5RJEefvci/PIZUmInPW pxx/tiTvEAIOw0PuwCpqHB9kGqSq0ylvKlnM/qUQ2YGvwPStl2M5ZCRTiUE/ilEXUnvO WGS4pzes21w7lIfV3OAzPy5A2T0+GEu1yfwO+8fDYdID8Go6hruSAXrXxdIaQkepubww avgp6hcHLM5niHMZTSfDIhKENdmDM27hC76FM8+jkr/0RAgnOB+mq9xoec8i/iKJftMR FhZMt4/8tA0RIw6RZlH1BhJRvXMKKScgzYHhvbcg29+lyAjphoYmLgM5aR8skc+Ni562 qMbQ== 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=shzMZWvjWp3c4XMhuGd2l0nQlX6avSnrlXxU1HvBM5c=; b=Gkz3v7lC/6qMQRBi07+5JklCv2u7y7uXV+FGQhW+RqDfMDD2qbHOcQ/oeNkpdfmawl SavVPrwxnFUeMliEVU7thfwWqTbUK1Eva5ICe0XWEcXp3i8sWY+lcnqektdZ2IPFi7is en6b1rQyvaqfjovhNAc5yKH7FTa1b9leRRXOw3HcwKodGXXx4HdtUfrBCzJYYhOSaGgP z6lKWRiRCqasL8pHYFJ34tyeomJmcgqL3yztOeElxQnccjsHFIdiHLtvMBge2PxzCV+u NqMlGtzHsYRCbupC6TSPGEJmh6j749JWWC3Fm57VjJZmmRpFw2rQf69XFc4sq7+sYK4j 1ciA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eSyS60+b; 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 a6-v6si3188235plz.211.2018.04.19.03.08.15; Thu, 19 Apr 2018 03:08:30 -0700 (PDT) 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=eSyS60+b; 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 S1752247AbeDSKHO (ORCPT + 99 others); Thu, 19 Apr 2018 06:07:14 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:34484 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751830AbeDSKHM (ORCPT ); Thu, 19 Apr 2018 06:07:12 -0400 Received: by mail-io0-f193.google.com with SMTP id d6-v6so5953163iog.1 for ; Thu, 19 Apr 2018 03:07:12 -0700 (PDT) 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=shzMZWvjWp3c4XMhuGd2l0nQlX6avSnrlXxU1HvBM5c=; b=eSyS60+bd99CQ/6vLKIXf2lqJf/1Ea/llRm0HLehlotzyCuyO1MzIW9Xvhxx2zRTo2 7pEFXWZC0+/Fs1GhPnjMzuQ3gHjhKvx8KIZWe+o3IJZUCrhfkX3ndKPtL9/RwQwfIXks magLJSeMd7XlgwMqhZd2VolR1ATaOszAPGefY= 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=shzMZWvjWp3c4XMhuGd2l0nQlX6avSnrlXxU1HvBM5c=; b=foRBGkjwTGmRh+iAbFcE/CR2aRvc9HYj9U30j9U8va5/o46dd9waRjePap2AfsgfN1 Wl87su5xYcqRRz5DDa3woOP3irlnhzS+cvO9OuoWb5Aurqbod57adlGigpcDzhbJ6lhB 5DKgYFKTk6NRXDnwjV20TY8Vo0m06aqA7wW4BpPif39rWRJgakoRmjEln7XW7+o/k47+ WEI7rNNBCA1qBJo3ywr7lryQfXaxZhDQWYAtHmx6Hkku5EbtGGYax5qfqKLhUVIIpE+w hXVG7VExRSJ+N9e7Z+5j87pCjDgEaKTYZGTsUAR4v+f/IxusgOTLwfE+VJ+VkKA7XSCW B+9Q== X-Gm-Message-State: ALQs6tBGI7gXmG7cm6PXHNjDJI4TIOYTNWsqvvOP+6V53fzUoVV3+2g5 RoKIMe7YO3ir3WgKEcv4Yp9x+DSLAQaKVKI67CRbyg== X-Received: by 2002:a6b:970d:: with SMTP id z13-v6mr5212912iod.277.1524132431832; Thu, 19 Apr 2018 03:07:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.187.67 with HTTP; Thu, 19 Apr 2018 03:07:11 -0700 (PDT) In-Reply-To: <20180402150656.101022-1-Yazen.Ghannam@amd.com> References: <20180402150656.101022-1-Yazen.Ghannam@amd.com> From: Ard Biesheuvel Date: Thu, 19 Apr 2018 12:07:11 +0200 Message-ID: Subject: Re: [PATCH v4 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" , Tony Luck 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 On 2 April 2018 at 17:06, 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. > > Link: > https://lkml.kernel.org/r/20180324184940.19762-1-Yazen.Ghannam@amd.com > Queued in linux-efi/next Thanks Yazen > Changes V3 to V4: > * Drop INDENT_SP use. > > Changes V2 to V3: > * Fix table numbers in commit messages. > * Don't print raw validation bits. > * Only print GUID for unknown error types. > > Changes V1 to V2: > * Remove stable request for all patches. > * Address Ard's comments on formatting and other issues. > * In Patch 8, always print context info even if the type is not > recognized. > > Yazen Ghannam (8): > efi: Fix IA32/X64 Processor Error Record definition > efi: Decode IA32/X64 Processor Error Section > efi: Decode IA32/X64 Processor Error Info Structure > efi: Decode UEFI-defined IA32/X64 Error Structure GUIDs > efi: Decode IA32/X64 Cache, TLB, and Bus Check structures > efi: Decode additional IA32/X64 Bus Check fields > efi: Decode IA32/X64 MS Check structure > efi: Decode IA32/X64 Context Info structure > > drivers/firmware/efi/Kconfig | 5 + > drivers/firmware/efi/Makefile | 1 + > drivers/firmware/efi/cper-x86.c | 356 ++++++++++++++++++++++++++++++++++++++++ > drivers/firmware/efi/cper.c | 10 ++ > include/linux/cper.h | 4 +- > 5 files changed, 375 insertions(+), 1 deletion(-) > create mode 100644 drivers/firmware/efi/cper-x86.c > > -- > 2.14.1 >