Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Wei Li <liwei391@huawei.com>
Cc: mark.rutland@arm.com, julien.thierry@arm.com,
	will.deacon@arm.com, james.morse@arm.com,
	huawei.libin@huawei.com, guohanjun@huawei.com,
	labbott@redhat.com, linux-arm-kernel@lists.infradead.org,
	alex.popov@linux.com
Subject: Re: [PATCH] arm64: fix wrong check of on_sdei_stack in nmi context
Date: Tue, 2 Apr 2019 18:13:50 +0100	[thread overview]
Message-ID: <20190402171349.mmzbp6jateh5reh6@mbp> (raw)
In-Reply-To: <20190401035557.22191-1-liwei391@huawei.com>

On Mon, Apr 01, 2019 at 11:55:57AM +0800, Wei Li wrote:
> When doing unwind_frame() in the context of pseudo nmi (need enable
> CONFIG_ARM64_PSEUDO_NMI), reaching the botton of the stack (fp == 0,
> pc != 0), function on_sdei_stack() will return true while the sdei acpi
> table is not inited in fact. This will cause a "NULL pointer dereference"
> oops when going on.
> 
> Signed-off-by: Wei Li <liwei391@huawei.com>

Thanks. I'll queue it for -rc4.

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      parent reply	other threads:[~2019-04-02 17:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-01  3:55 [PATCH] arm64: fix wrong check of on_sdei_stack in nmi context Wei Li
2019-04-01  9:49 ` Julien Thierry
2019-04-01 10:32 ` Heyi Guo
2019-04-02 17:13 ` Catalin Marinas [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=20190402171349.mmzbp6jateh5reh6@mbp \
    --to=catalin.marinas@arm.com \
    --cc=alex.popov@linux.com \
    --cc=guohanjun@huawei.com \
    --cc=huawei.libin@huawei.com \
    --cc=james.morse@arm.com \
    --cc=julien.thierry@arm.com \
    --cc=labbott@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=liwei391@huawei.com \
    --cc=mark.rutland@arm.com \
    --cc=will.deacon@arm.com \
    /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