From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by kanga.kvack.org (Postfix) with ESMTP id 920048E0001 for ; Fri, 11 Jan 2019 12:45:37 -0500 (EST) Received: by mail-wr1-f70.google.com with SMTP id e17so4894781wrw.13 for ; Fri, 11 Jan 2019 09:45:37 -0800 (PST) Received: from mail.skyhub.de (mail.skyhub.de. [2a01:4f8:190:11c2::b:1457]) by mx.google.com with ESMTPS id g10si7306417wrm.253.2019.01.11.09.45.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Jan 2019 09:45:36 -0800 (PST) Date: Fri, 11 Jan 2019 18:45:32 +0100 From: Borislav Petkov Subject: Re: [PATCH v7 10/25] ACPI / APEI: Tell firmware the estatus queue consumed the records Message-ID: <20190111174532.GI4729@zn.tnic> References: <20181203180613.228133-1-james.morse@arm.com> <20181203180613.228133-11-james.morse@arm.com> <20181211183634.GO27375@zn.tnic> <56cfa16b-ece4-76e0-3799-58201f8a4ff1@arm.com> <20190111120322.GD4729@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Tyler Baicar Cc: James Morse , Linux ACPI , kvmarm@lists.cs.columbia.edu, arm-mail-list , linux-mm@kvack.org, Marc Zyngier , Christoffer Dall , Will Deacon , Catalin Marinas , Naoya Horiguchi , Rafael Wysocki , Len Brown , Tony Luck , Dongjiu Geng , Xie XiuQi , Fan Wu On Fri, Jan 11, 2019 at 10:32:23AM -0500, Tyler Baicar wrote: > The kernel would have no way of knowing what to do here. What do you mean, there's no way of knowing what to do? It needs to clear registers so that the next error can get reported properly. Or of the status read failed and it doesn't need to do anything, then it shouldn't. Whatever it is, the kernel either needs to do something in the error case to clean up, or nothing if the firmware doesn't need anything done in the error case; *or* ack the error in the success case. This should all be written down somewhere in that GHES v2 spec/doc/writeup whatever, explaining what the OS is supposed to do to signal the error has been read by the OS. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.