From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH 02/11] ACPI / APEI: Generalise the estatus queue's add/remove and notify code Date: Thu, 1 Mar 2018 23:35:29 +0100 Message-ID: <20180301223529.GA28811@pd.tnic> References: <20180215185606.26736-1-james.morse@arm.com> <20180215185606.26736-3-james.morse@arm.com> <20180301150144.GA4215@pd.tnic> <87sh9jbrgc.fsf@e105922-lin.cambridge.arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <87sh9jbrgc.fsf@e105922-lin.cambridge.arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Punit Agrawal Cc: Rafael Wysocki , Tony Luck , Xie XiuQi , linux-mm@kvack.org, Marc Zyngier , Catalin Marinas , Tyler Baicar , Will Deacon , Dongjiu Geng , linux-acpi@vger.kernel.org, James Morse , linux-arm-kernel@lists.infradead.org, Naoya Horiguchi , kvmarm@lists.cs.columbia.edu, Christoffer Dall , Len Brown List-Id: kvmarm@lists.cs.columbia.edu On Thu, Mar 01, 2018 at 06:06:59PM +0000, Punit Agrawal wrote: > You're looking at support for the 32-bit ARM systems. I know. That's why I'm asking. > The 64-bit support lives in arch/arm64 and the die() there doesn't > contain an oops_begin()/oops_end(). But the lack of oops_begin() on > arm64 doesn't really matter here. Yap. > One issue I see with calling die() is that it is defined in different > includes across various architectures, (e.g., include/asm/kdebug.h for > x86, include/asm/system_misc.h in arm64, etc.) I don't think that's insurmountable. The more important question is, can we do the same set of calls when panic severity on all architectures which support APEI or should we have arch-specific ghes_panic() callbacks or so. As it is now, it would turn into a mess if we start with the ifdeffery and the different requirements architectures might have... Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.