From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Michael Ellerman <mpe@ellerman.id.au>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] powerpc/smp: Fix OOPS in topology_init()
Date: Fri, 13 Aug 2021 21:57:47 +1000 [thread overview]
Message-ID: <162885586726.2317031.18007540873140070843.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <75287841cbb8740edd44880fe60be66d489160d9.1628097995.git.christophe.leroy@csgroup.eu>
On Wed, 4 Aug 2021 18:24:10 +0000 (UTC), Christophe Leroy wrote:
> Running an SMP kernel on an UP platform not prepared for it,
> I encountered the following OOPS:
>
> BUG: Kernel NULL pointer dereference on read at 0x00000034
> Faulting instruction address: 0xc0a04110
> Oops: Kernel access of bad area, sig: 11 [#1]
> BE PAGE_SIZE=4K SMP NR_CPUS=2 CMPCPRO
> Modules linked in:
> CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.13.0-pmac-00001-g230fedfaad21 #5234
> NIP: c0a04110 LR: c0a040d8 CTR: c0a04084
> REGS: e100dda0 TRAP: 0300 Not tainted (5.13.0-pmac-00001-g230fedfaad21)
> MSR: 00009032 <EE,ME,IR,DR,RI> CR: 84000284 XER: 00000000
> DAR: 00000034 DSISR: 20000000
> GPR00: c0006bd4 e100de60 c1033320 00000000 00000000 c0942274 00000000 00000000
> GPR08: 00000000 00000000 00000001 00000063 00000007 00000000 c0006f30 00000000
> GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000005
> GPR24: c0c67d74 c0c67f1c c0c60000 c0c67d70 c0c0c558 1efdf000 c0c00020 00000000
> NIP [c0a04110] topology_init+0x8c/0x138
> LR [c0a040d8] topology_init+0x54/0x138
> Call Trace:
> [e100de60] [80808080] 0x80808080 (unreliable)
> [e100de90] [c0006bd4] do_one_initcall+0x48/0x1bc
> [e100def0] [c0a0150c] kernel_init_freeable+0x1c8/0x278
> [e100df20] [c0006f44] kernel_init+0x14/0x10c
> [e100df30] [c00190fc] ret_from_kernel_thread+0x14/0x1c
> Instruction dump:
> 7c692e70 7d290194 7c035040 7c7f1b78 5529103a 546706fe 5468103a 39400001
> 7c641b78 40800054 80c690b4 7fb9402e <81060034> 7fbeea14 2c080000 7fa3eb78
> ---[ end trace b246ffbc6bbbb6fb ]---
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/smp: Fix OOPS in topology_init()
https://git.kernel.org/powerpc/c/8241461536f21bbe51308a6916d1c9fb2e6b75a7
cheers
prev parent reply other threads:[~2021-08-13 11:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-04 18:24 [PATCH] powerpc/smp: Fix OOPS in topology_init() Christophe Leroy
2021-08-13 11:57 ` Michael Ellerman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=162885586726.2317031.18007540873140070843.b4-ty@ellerman.id.au \
--to=patch-notifications@ellerman.id.au \
--cc=benh@kernel.crashing.org \
--cc=christophe.leroy@csgroup.eu \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).