From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D89820E4 for ; Tue, 3 Jan 2023 08:17:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 973B2C433D2; Tue, 3 Jan 2023 08:17:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1672733850; bh=pcQt+vW2aT7KZ3Obs4fTbKbS5fFF+YhbcdETUQBBgQ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T+FJhk/nFUmmnciyhK5B7A0wUQMJClPHjPh4RWyS+jXVLiTRnyCn7iTbvCvxxb1OJ mI7n+mu4V6jlktwJHLXRpV+CZLPh8daxQxsVGgwY4sChtWNNKEeQsqCnpOojHhgM9X 64IGwG6dZFA4MMWXD2F4RIKJJLQuS+yzRdcqxBh0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Al Viro Subject: [PATCH 5.10 43/63] alpha: fix TIF_NOTIFY_SIGNAL handling Date: Tue, 3 Jan 2023 09:14:13 +0100 Message-Id: <20230103081311.175366973@linuxfoundation.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230103081308.548338576@linuxfoundation.org> References: <20230103081308.548338576@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Al Viro [ Upstream commit e2c7554cc6d85f95e3c6635f270ec839ab9fe05e ] it needs to be added to _TIF_WORK_MASK, or we might not reach do_work_pending() in the first place... Fixes: 5a9a8897c253a "alpha: add support for TIF_NOTIFY_SIGNAL" Signed-off-by: Al Viro Signed-off-by: Greg Kroah-Hartman --- arch/alpha/include/asm/thread_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/alpha/include/asm/thread_info.h +++ b/arch/alpha/include/asm/thread_info.h @@ -77,7 +77,7 @@ register struct thread_info *__current_t /* Work to do on interrupt/exception return. */ #define _TIF_WORK_MASK (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \ - _TIF_NOTIFY_RESUME) + _TIF_NOTIFY_RESUME | _TIF_NOTIFY_SIGNAL) /* Work to do on any return to userspace. */ #define _TIF_ALLWORK_MASK (_TIF_WORK_MASK \