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 16:01:44 +0100 Message-ID: <20180301150144.GA4215@pd.tnic> References: <20180215185606.26736-1-james.morse@arm.com> <20180215185606.26736-3-james.morse@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: <20180215185606.26736-3-james.morse@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: James Morse 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, Punit Agrawal , linux-arm-kernel@lists.infradead.org, Naoya Horiguchi , kvmarm@lists.cs.columbia.edu, Christoffer Dall , Len Brown List-Id: linux-acpi@vger.kernel.org On Thu, Feb 15, 2018 at 06:55:57PM +0000, James Morse wrote: > Keep the oops_begin() call for x86, That oops_begin() in generic code is such a layering violation, grrr. > arm64 doesn't have one of these, > and APEI is the only thing outside arch code calling this.. So looking at: arch/arm/kernel/traps.c:die() it does call oops_begin() ... oops_end() just like the x86 version of die(). I'm wondering if we could move the code to do die() in a prepatch? My assumption is that all the arches should have die()... A quick grep does show a bunch of other arches having die()... -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.