Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1403172ybl; Thu, 22 Aug 2019 14:03:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZzoCBxgPhekyVSSWFcd8WzhYav1/5cd6ecYTetJjhBRlNh6vtwq0i/HXDtAYND4iRwsfV X-Received: by 2002:a17:90a:be06:: with SMTP id a6mr1706860pjs.92.1566507815521; Thu, 22 Aug 2019 14:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566507815; cv=none; d=google.com; s=arc-20160816; b=eOSa40bq1KVikZOfVyT2IPMdZQAtSRdSBcHXosO/1F5DfCUVBr7IS97dVu9pxohMh4 RMsJC/52IyYlMcld1aWF4vZJ0VG2wCOuCid/BMLCeLJhY0dJrz3POhZ14L6+BTzkN0fs Qf4ieUlcHb6FBf579jYCvtBv8ZOBoTZxBXU6G4OmBxe0sGyb2I1xOxK4SOjEGjQaDbnx k440+EwHCTJP0fCNzzBoBF1hS4QxdCZ4hwoFLp6UEfSU0jZUQQdA8H72sBNHXt13+rwD sh+XtI+qE4C+bIyuOLX7txR1l9vbiG8EYnpi+xiBT8IUF+bYtISwAaj9MQNwMzmCnBPx P1vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=rOhfnuBj5OGXnvKdjfqu6l/6+OFzte6cG/h922QKL/w=; b=viUn/QHYeIDrBzdb3Df+5U/OS4LWVYGqdZ0vfittC2Q8nM30J2VG4hkjxqkG0tfoaj VlYHqQFgU0bTlcMODDMXCe76grTXumfOjRX08vBczsjuMDjkUaUIZZ411njMOfwrKhlY AmcJWwxiV6KP4SII4nB47vanzY57BnHg1eh6354GOGVTuT2/8QuDJyzd8n0ctZSP4qvu 90FP9+sHOC6DXiMWUBvOY6Gr8WAFktjvyTfZ7q/ofKgb4WXXlYx1kT3AtjK9lyutFbZl ofmiI2ZU7lbDkKRj0fy3u9NzDQJWxvsmUoq5qP40KPO7ynbjyXuGFxw7k19PPzujvHKq B+8A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si493318pls.261.2019.08.22.14.03.20; Thu, 22 Aug 2019 14:03: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390186AbfHVQ5O convert rfc822-to-8bit (ORCPT + 99 others); Thu, 22 Aug 2019 12:57:14 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:33180 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727807AbfHVQ5O (ORCPT ); Thu, 22 Aug 2019 12:57:14 -0400 Received: from LHREML713-CAH.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id BCD5FCFD583CE7066BF8; Thu, 22 Aug 2019 17:57:11 +0100 (IST) Received: from LHREML523-MBX.china.huawei.com ([169.254.7.10]) by LHREML713-CAH.china.huawei.com ([10.201.108.36]) with mapi id 14.03.0415.000; Thu, 22 Aug 2019 17:57:05 +0100 From: Shiju Jose To: James Morse CC: "linux-acpi@vger.kernel.org" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "rjw@rjwysocki.net" , "lenb@kernel.org" , "tony.luck@intel.com" , "bp@alien8.de" , "baicar@os.amperecomputing.com" , Linuxarm , Jonathan Cameron , tanxiaofei Subject: RE: [PATCH RFC 2/4] ACPI: APEI: Add ghes_handle_memory_failure to the new notification method Thread-Topic: [PATCH RFC 2/4] ACPI: APEI: Add ghes_handle_memory_failure to the new notification method Thread-Index: AQHVUPaFGfpBQkFdekWj0CRbk5VWqqcF13eAgAE2pSA= Date: Thu, 22 Aug 2019 16:57:04 +0000 Message-ID: <86258A5CC0A3704780874CF6004BA8A6584C7BAF@lhreml523-mbx.china.huawei.com> References: <20190812101149.26036-1-shiju.jose@huawei.com> <20190812101149.26036-3-shiju.jose@huawei.com> <12b3ccff-0cda-0467-a9ba-0682be6f333e@arm.com> In-Reply-To: <12b3ccff-0cda-0467-a9ba-0682be6f333e@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.47.93.28] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, >-----Original Message----- >From: James Morse [mailto:james.morse@arm.com] >Sent: 21 August 2019 18:23 >To: Shiju Jose >Cc: linux-acpi@vger.kernel.org; linux-edac@vger.kernel.org; linux- >kernel@vger.kernel.org; rjw@rjwysocki.net; lenb@kernel.org; >tony.luck@intel.com; bp@alien8.de; baicar@os.amperecomputing.com; >Linuxarm ; Jonathan Cameron >; tanxiaofei >Subject: Re: [PATCH RFC 2/4] ACPI: APEI: Add ghes_handle_memory_failure to >the new notification method > >Hi, > >On 12/08/2019 11:11, Shiju Jose wrote: >> This patch adds ghes_handle_memory_failure to the new error >> notification method. > >The commit message doesn't answer the question: why? > >The existing code works. This just looks like additional churn. >Given a user, I think the vendor specific example is useful. I don't think making >this thing more pluggable is a good idea. This was intended to replace the number of if(guid_equal(...)) else if(guid_equal(...)) checks in the ghes_do_proc() , which would grow when new UEFI defined error sections would be added in the future. > > >Thanks, > >James Thanks, Shiju