From: Andreas Schwab <schwab@linux-m68k.org>
To: Jisheng Zhang <jszhang3@mail.ustc.edu.cn>
Cc: Atish Patra <atishp@atishpatra.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
tongtiangen@huawei.com, Paul Walmsley <paul.walmsley@sifive.com>,
Albert Ou <aou@eecs.berkeley.edu>,
linux-riscv <linux-riscv@lists.infradead.org>,
"linux-kernel@vger.kernel.org List"
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next v2] riscv: add VMAP_STACK overflow detection
Date: Thu, 22 Jul 2021 17:42:52 +0200 [thread overview]
Message-ID: <87zguexslf.fsf@igel.home> (raw)
In-Reply-To: <20210722213724.1f12a0e7@xhacker> (Jisheng Zhang's message of "Thu, 22 Jul 2021 21:37:24 +0800")
On Jul 22 2021, Jisheng Zhang wrote:
> I think we need to pin the stack before calling get_wchan(), could you please
> try below patch?
Thanks, this fixes the crash for me.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
WARNING: multiple messages have this Message-ID (diff)
From: Andreas Schwab <schwab@linux-m68k.org>
To: Jisheng Zhang <jszhang3@mail.ustc.edu.cn>
Cc: Atish Patra <atishp@atishpatra.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
tongtiangen@huawei.com,
Paul Walmsley <paul.walmsley@sifive.com>,
Albert Ou <aou@eecs.berkeley.edu>,
linux-riscv <linux-riscv@lists.infradead.org>,
"linux-kernel@vger.kernel.org List"
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next v2] riscv: add VMAP_STACK overflow detection
Date: Thu, 22 Jul 2021 17:42:52 +0200 [thread overview]
Message-ID: <87zguexslf.fsf@igel.home> (raw)
In-Reply-To: <20210722213724.1f12a0e7@xhacker> (Jisheng Zhang's message of "Thu, 22 Jul 2021 21:37:24 +0800")
On Jul 22 2021, Jisheng Zhang wrote:
> I think we need to pin the stack before calling get_wchan(), could you please
> try below patch?
Thanks, this fixes the crash for me.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2021-07-22 15:43 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-21 3:28 [PATCH -next v2] riscv: add VMAP_STACK overflow detection Tong Tiangen
2021-06-21 3:28 ` Tong Tiangen
2021-07-06 20:24 ` Palmer Dabbelt
2021-07-06 20:24 ` Palmer Dabbelt
2021-07-15 16:22 ` Andreas Schwab
2021-07-15 16:22 ` Andreas Schwab
2021-07-16 12:53 ` Jisheng Zhang
2021-07-16 12:53 ` Jisheng Zhang
2021-07-16 15:53 ` Andreas Schwab
2021-07-16 15:53 ` Andreas Schwab
2021-07-17 2:18 ` Jisheng Zhang
2021-07-17 2:18 ` Jisheng Zhang
2021-07-17 6:55 ` Andreas Schwab
2021-07-17 6:55 ` Andreas Schwab
2021-07-19 3:27 ` tongtiangen
2021-07-19 3:27 ` tongtiangen
2021-07-19 7:23 ` Andreas Schwab
2021-07-19 7:23 ` Andreas Schwab
2021-07-22 6:12 ` Palmer Dabbelt
2021-07-22 6:12 ` Palmer Dabbelt
2021-07-22 8:35 ` Atish Patra
2021-07-22 8:35 ` Atish Patra
2021-07-22 13:37 ` Jisheng Zhang
2021-07-22 13:37 ` Jisheng Zhang
2021-07-22 14:24 ` Jisheng Zhang
2021-07-22 14:24 ` Jisheng Zhang
2021-07-22 15:42 ` Andreas Schwab [this message]
2021-07-22 15:42 ` Andreas Schwab
2021-07-22 23:54 ` Jisheng Zhang
2021-07-22 23:54 ` Jisheng Zhang
2021-07-23 1:36 ` tongtiangen
2021-07-23 1:36 ` tongtiangen
2021-07-23 4:29 ` Jisheng Zhang
2021-07-23 4:29 ` Jisheng Zhang
2021-07-23 4:40 ` Jisheng Zhang
2021-07-23 4:40 ` Jisheng Zhang
2021-07-23 6:49 ` tongtiangen
2021-07-22 9:02 ` Andreas Schwab
2021-07-22 9:02 ` Andreas Schwab
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=87zguexslf.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=aou@eecs.berkeley.edu \
--cc=atishp@atishpatra.org \
--cc=jszhang3@mail.ustc.edu.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=tongtiangen@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.