[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0c62fbca-87e1-f53a-26e1-35244e2e6f48@kernel.dk>
Date: Wed, 6 Jan 2021 19:13:03 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Vineet Gupta <Vineet.Gupta1@...opsys.com>,
linux-snps-arc@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARC: unbork 5.11 bootup: fix snafu in _TIF_NOTIFY_SIGNAL
handling
On 1/6/21 5:12 PM, Vineet Gupta wrote:
> Linux 5.11.rcX was failing to boot on ARC HSDK board. Turns out we have
> a couple of issues, this being the first one, and I'm to blame as I
> didn't pay attention during review.
>
> TIF_NOTIFY_SIGNAL support requires checking multiple TIF_* bits in
> kernel return code path. Old code only needed to check a single bit so
> BBIT0 <TIF_SIGPENDING> worked. New code needs to check multiple bits so
> AND <bit-mask> instruction. So needs to use bit mask variant _TIF_SIGPENDING
Sorry about that, my arc asm isn't that strong :-)
Thanks for fixing it.
--
Jens Axboe
Powered by blists - more mailing lists