Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp948758imm; Fri, 11 May 2018 08:46:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqvZ/TKo3OuuPvObj1Vl7PYILNsGsHOc5atzf6lSj2vbeW/Q5OtEU5i8ZkoVjUj9JtHEBzM X-Received: by 2002:a62:105:: with SMTP id 5-v6mr6001604pfb.1.1526053595527; Fri, 11 May 2018 08:46:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526053595; cv=none; d=google.com; s=arc-20160816; b=xviEspbPsMuEOs1l5GVPZl5mDDCiAW2uahYs3M4NVZA7b8MFfyIZgsXnIUcQ7VjN00 3+OefpVDmAJfcKaSQXlYP8RUO7lQMUhc0khxa2dCRHRSaCwfoUeu9a1d9hS+ISuqP9AT eRTF0o0QFJk2rsKTiwlNIiATSp0o7dohzUgNlXNveAJMS4HvxuB7yIm7B/7UonJavXd4 OIAh9ZapHOAaizLrfTP78tkxkqX5TJjwgOHMGXr7yLY2U8XZdaa04tSK314tml1PDyym u4eGD47xTfLbEBqwUNTIRetOL0aZz6PplgQeugREOF4Px3ipH6BQFQoMsl6cB7SZBNXb w/Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=xkojxS6m61VfxjAqIkav5bLlaameCBW09gg5WYSx/rw=; b=fzX/0Y5tGv4pzNP82Ij+0mF67bg2O+VoABAZQp1zTsHigPY8zJLihSPSE7rOscbr00 +zb8SLXxIaXdOsy0D3xNC30takyD/PwRWHxSqF/rOYOt5n3Nz31j0reesRVjgdVqeL11 iBJcBS2ie+Ue3EmgMoGWwKWsCg8o9mPv3ASC1UAtLidgEvPb6YH/UhaGCf0apk8EQiq/ KwCcutRGql1hrsHxS+Ir1OiElfvkKfkatVrNHPlIQU3M/LxpbdSHc2VzcvJwmnlwLtDt bRwYXzOH9ujA1QCn2Nzh7eM4tqLyUAyWArs9gOll7X7lgJv+xZz96gNWCOx0HmWAMPaq BUQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OsIRRarV; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a15-v6si2749498pgd.531.2018.05.11.08.46.20; Fri, 11 May 2018 08:46:35 -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=@gmail.com header.s=20161025 header.b=OsIRRarV; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751998AbeEKPpz (ORCPT + 99 others); Fri, 11 May 2018 11:45:55 -0400 Received: from mail-ot0-f195.google.com ([74.125.82.195]:42919 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711AbeEKPpw (ORCPT ); Fri, 11 May 2018 11:45:52 -0400 Received: by mail-ot0-f195.google.com with SMTP id l13-v6so6723663otk.9; Fri, 11 May 2018 08:45:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=xkojxS6m61VfxjAqIkav5bLlaameCBW09gg5WYSx/rw=; b=OsIRRarVr5AmLfa1iqaxBGGt48PlNAvWUhvG4bPd6U3PN2OtG3ajqHhct3GDpU+47u ENwCKmBQ1O8cLvlD6uSkiK4ipPj+ZuyTkluKufp3OL8/8VtiXwK61Nk/fygOCLLRCwOp id3hv2/04b8a3PGcPG+LwhLXAhGD9Q/7OkgXfZH7ak6+Wc6Ke+ojYqHUCZ+B8wLkZbdb 0TTSfmhQRRU4RYM+4bnnh6LsBU5QY33lL4KrVoPjVhHSnaaZzOzcQhvM9NvKPiSJ5n9w 7y0SiQPq/1aGXFCgnDpaMjSAOsPWyQ5dbwr7w+qx00TObC6CXICmHekKwSCn5WxS5+vy Qetw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xkojxS6m61VfxjAqIkav5bLlaameCBW09gg5WYSx/rw=; b=jUqRffxRoKAq+3LQgsYKwnyq+KnUGDC7xU9naTkm5m3KUrdiL4hCqLmkClP5RRrnug LrjX7D//dBQxY42RpYt9UXC/eJarCtJwSKsMDjzKnrG047for6X4+WcUVJcxssXPIhnh HhDCo5RuI4MSCL0aUSL29cAC4n4N/wHRT4RQyGl1wpx6x3ocS2aUy+hcNfAFgejEDItS AV91dGLf/2U1DRfUehZWdOPK7Rnz506BQkyyRdxAAbn4v1POS9MJS9Ghcvwc7z3OuxvS c8/fXtsUtZNyPbrm7PRA6j+j1fvdnM1hdTqc1jsMIbvyntPkeRKSsXnk/Sr/yccvjFHU a5kQ== X-Gm-Message-State: ALKqPwdb/BIZMxbFPdvJea4FwCFIz9wHkSKUs3IUnEjS8AK2mbjMi4X/ O+WeUBN6SI6kd3w7sNbfe+M= X-Received: by 2002:a9d:5b32:: with SMTP id x47-v6mr4482214oth.26.1526053551228; Fri, 11 May 2018 08:45:51 -0700 (PDT) Received: from nuclearis2_1.gtech (c-98-201-114-184.hsd1.tx.comcast.net. [98.201.114.184]) by smtp.gmail.com with ESMTPSA id a29-v6sm1913544ota.44.2018.05.11.08.45.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 08:45:50 -0700 (PDT) Subject: Re: [RFC PATCH v4 2/3] acpi: apei: Rename ghes_severity() to ghes_cper_severity() To: Borislav Petkov Cc: alex_gagniuc@dellteam.com, austin_bolen@dell.com, shyam_iyer@dell.com, "Rafael J. Wysocki" , Len Brown , Tony Luck , Mauro Carvalho Chehab , Robert Moore , Erik Schmauss , Tyler Baicar , Will Deacon , James Morse , Shiju Jose , "Jonathan (Zhixiong) Zhang" , Dongjiu Geng , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, devel@acpica.org References: <20180430212836.7807-1-mr.nuke.me@gmail.com> <20180430213358.8319-1-mr.nuke.me@gmail.com> <20180430213358.8319-2-mr.nuke.me@gmail.com> <20180511153947.GC12705@pd.tnic> From: "Alex G." Message-ID: <56d445b2-ace3-6ee2-9699-f2a684518de9@gmail.com> Date: Fri, 11 May 2018 10:45:49 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180511153947.GC12705@pd.tnic> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/11/2018 10:39 AM, Borislav Petkov wrote: > On Mon, Apr 30, 2018 at 04:33:51PM -0500, Alexandru Gagniuc wrote: >> ghes_severity() is a misnomer in this case, as it implies the severity >> of the entire GHES structure. Instead, it maps one CPER value to a >> monotonically increasing number. > > ... as opposed to CPER severity which is something else or what is this > formulation trying to express? > CPER madness goes like this: 0 - Recoverable 1 - Fatal 2 - Corrected 3 - None As you can see, the numbering was created by crackmonkeys. GHES_* is an internal enum that goes up in order of severity, as you'd expect. If you're confused, you're not alone. I've seen several commit messages that get this terminology wrong. Alex