Thread (8 messages) 8 messages, 3 authors, 2018-04-17

[PATCH 02/11] ACPI / APEI: Generalise the estatus queue's add/remove and notify code

From: Punit Agrawal <hidden>
Date: 2018-03-01 18:07:04
Also in: kvmarm, linux-acpi, linux-mm

Possibly related (same subject, not in this thread)

Hi Borislav,

Borislav Petkov [off-list ref] writes:
On Thu, Feb 15, 2018 at 06:55:57PM +0000, James Morse wrote:
quoted
Keep the oops_begin() call for x86,
That oops_begin() in generic code is such a layering violation, grrr.
quoted
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().
You're looking at support for the 32-bit ARM systems. 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.
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()...
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.)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help