Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1153688ybl; Wed, 21 Aug 2019 10:57:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHpXdgyUwuEUCVU9H/Sdqw5Cb9mpHbfirXscFdQO5JlmGhPfeIaBf2PsPioNZhN515JRPC X-Received: by 2002:a17:90a:1916:: with SMTP id 22mr1228591pjg.62.1566410231118; Wed, 21 Aug 2019 10:57:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566410231; cv=none; d=google.com; s=arc-20160816; b=CN9sLV+dLQEX2IZaByAv23PdxQvqwqIOfvJR9nN3CJ3uQ2qHrPbAlHIqpRMcNzBs06 vxxsVrv4bQCDgg6UzxLLcU6J5ekFMFXF2GVvbqwCIC7n8NRHIkIuPA9BDm0d5tcND26j MFrrdoTApHSubcFWIwwVdCSGQ0P5hN0UzR+wB5i+Aq8AV5Ve03UlYurPjHOAJkSv2Afp /8EaecsUpi+28i35XGuTp/uaEq1x0evQihecpvx1ZwPH3/GMiDYa59xQ0qwldUEHAlhP zdojY/qk3UA82B/rKvtCtjeDyOY2umtLXxD2JjP5zpRXo1wv6dehWrkYcNW40JjrslM+ mpUA== 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; bh=8ChUqqJvKRoyTPJ5izJ/20jnQ36JTKOA6Srwk51amWI=; b=rHRT+nhf/Re7e3pw3oWFfex9YUrXwZsnr35NdZtiY2iPqRerjZT0UBJ4Cw+9tWjs2t pkIZQ6fakx534gGNSK9qHz2/lqpM1C42OQaNaz5iF7cwNBLYQY2PdfxfQXWEGW21/KId v8PibpDhQYCancjP2HybsqDkzd5xks9qh8xMO1Jlj2IUqxjNQEPag+aW63cDjDwyqDZB Elwq8mE+KaHEs0uExBknQn83kIFb8iYeL0lp7GSTZED4+7TfvBmT96ODaokBy3T5E7Zi 65OdZqTSqfioCOn6iX42qKiVT9kwMi7t8oWynO0AxUXYIJaGi6lrxW3FQFSzWid2gaz1 S9Xw== 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 s17si12798274pfc.69.2019.08.21.10.56.56; Wed, 21 Aug 2019 10:57:11 -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 S1728527AbfHURWj (ORCPT + 99 others); Wed, 21 Aug 2019 13:22:39 -0400 Received: from foss.arm.com ([217.140.110.172]:33860 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727037AbfHURWj (ORCPT ); Wed, 21 Aug 2019 13:22:39 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B898C344; Wed, 21 Aug 2019 10:22:38 -0700 (PDT) Received: from [10.1.196.105] (eglon.cambridge.arm.com [10.1.196.105]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 436583F718; Wed, 21 Aug 2019 10:22:37 -0700 (PDT) Subject: Re: [PATCH RFC 0/4] ACPI: APEI: Add support to notify the vendor specific HW errors 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@huawei.com, jonathan.cameron@huawei.com, tanxiaofei@huawei.com References: <20190812101149.26036-1-shiju.jose@huawei.com> From: James Morse Message-ID: <72f44e4d-a20b-df1c-ddfe-55219e0ed429@arm.com> Date: Wed, 21 Aug 2019 18:22:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190812101149.26036-1-shiju.jose@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 12/08/2019 11:11, Shiju Jose wrote: > Presently kernel does not support reporting the vendor specific HW errors, > in the non-standard format, to the vendor drivers for the recovery. 'non standard' here is probably a little jarring to the casual reader. You're referring to the UEFI spec's "N.2.3 Non-standard Section Body", which refers to any section type published somewhere other than the UEFI spec. These still have to have a GUID to identify them, so they still have the same section header format. > This patch set add this support and also move the existing handler > functions for the standard errors to the new callback method. Could you give an example of where this would be useful? You're adding an API with no caller to justify its existence. GUIDs should only belong to one driver. I don't think we should call drivers for something described as a fatal error. (which is the case with what you have here) > Also the CCIX RAS patches could be move to the proposed callback method. Presumably for any vendor-specific stuff? Thanks, James