Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2429058imm; Thu, 19 Jul 2018 21:11:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeS8gK7I3Tz7uweDG1ns+N7WYbK+MTWUW4/A0Sm1uI3L2u5qp3DdvC+bt6s+8pjIpj5SzO5 X-Received: by 2002:a17:902:8c84:: with SMTP id t4-v6mr527629plo.100.1532059868039; Thu, 19 Jul 2018 21:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532059868; cv=none; d=google.com; s=arc-20160816; b=m1KvGQco6pB7Llv72PexMZNI33w8iMiIDucd33zFrYYGZjECg+ICG1Dl/Nxh84KA92 8h650RbSXqSeAPkemRlkTP87ihkrQb/uOFHaWCRiYurHe5FjuIoJtmdzfuHAV/Bzol1D mHOvEGnIc3jJ/x3cWyiZWkereI6lKgBs60iitIG28KkqxqswrsGae/BmDBGHHjAUfrZP 9iFL8X6blGnULQbxz0yiayveHSMmwkeoyWRm1qXEEi3E4s+Vslvd2XR5YfTrBlmCG5Rw /MyXBXE9wnr7nhOaFFjBpUIE41gQftDqqQsoCV6+G3kf+30NTzgWJ7PTcV6AtsoH65t7 5xBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=PZTa8zUEPNIkPThuwwEGDeyBTV3O2cHhveilABzChj8=; b=FkTdDGjB8BJBxuPvPZc0jqjgEGgzP//ROG1WiMBC8W+smWZ+aNg5MbVDLbFFumynnT oVJWR7w1s5xL88kiIM7po8Uw8zPStpPoPZPtFWjK5DBATmARrDk+iQplQEnrX0fmp7AR /VGapIU7ILKQZgrHP3dJA6+4UrNBvJ3JQnIRjntJ4+OPcc6+zGihXubRQs7LP/kaTz1b +/800TJ+J9jrNu1sBYu2ApO5cwQqtQBACCLtNTDU/AWmVLfyz4ej1nYHd3yDDwu6KWJ9 LBg9fiKFN6ZuT1lCIsITBcpM1BwmH60Gboz6D+4IpsCFsaFRjFPnqhHDVRbCe4SRbi2P DbVA== 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 a1-v6si850834pld.63.2018.07.19.21.10.51; Thu, 19 Jul 2018 21:11:08 -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 S1727201AbeGTE4b (ORCPT + 99 others); Fri, 20 Jul 2018 00:56:31 -0400 Received: from mail.skyhub.de ([5.9.137.197]:42164 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726951AbeGTE4b (ORCPT ); Fri, 20 Jul 2018 00:56:31 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RHIgGEwnRX7y; Fri, 20 Jul 2018 06:10:15 +0200 (CEST) Received: from nazgul.tnic (77-85-109-49.ip.btc-net.bg [77.85.109.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 0264A1EC00EE; Fri, 20 Jul 2018 06:10:14 +0200 (CEST) Date: Fri, 20 Jul 2018 06:10:05 +0200 From: Borislav Petkov To: Tyler Baicar Cc: James Morse , harba@qti.qualcomm.com, mchehab@kernel.org, linux-edac@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM Message-ID: <20180720041005.GA25433@nazgul.tnic> References: <1531762009-15112-1-git-send-email-tbaicar@codeaurora.org> <20180719140102.GB25185@nazgul.tnic> <94e3a0fb-9b7d-045f-733b-9f063dcb39e4@arm.com> <45fefe7d-c6ea-5791-4477-13ecce39ce48@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <45fefe7d-c6ea-5791-4477-13ecce39ce48@codeaurora.org> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 19, 2018 at 02:36:21PM -0400, Tyler Baicar wrote: > With the current ghes_edac setup, it seems the only way this could > work would be to have the firmware always report the module value to My experience with firmware so far is that it is a lost cause, considering all the bugs, snafus and incompleteness it demonstrates... > The other obvious but more messy way would be to have notifiers > register to be called by ghes_edac and have a custom EDAC driver for > each CPU to properly populate their layer information. ... which is what we do on x86 and whitelist only known-good platforms in ghes_edac, which claim that their fw info is correct. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --