From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B812C61D92 for ; Tue, 21 Nov 2023 12:27:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234674AbjKUM1g (ORCPT ); Tue, 21 Nov 2023 07:27:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230428AbjKUM1f (ORCPT ); Tue, 21 Nov 2023 07:27:35 -0500 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E78FE7; Tue, 21 Nov 2023 04:27:31 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id DB2BC32014FC; Tue, 21 Nov 2023 07:27:28 -0500 (EST) Received: from imap44 ([10.202.2.94]) by compute3.internal (MEProxy); Tue, 21 Nov 2023 07:27:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1700569648; x=1700656048; bh=sVBBvqTkj9q2vNx24eU0OMVGviLHmJMCGMu iAotm8W0=; b=MyUt5DgjSax4zCgEeSm14lSY3UJKiScQT8sTh3VhPPjRKU6WXIy orySfNt28HjamadVjM+TB2Tyitl9TN4cFHtK79GE/kJ5YlL8/CiD/KlEW42y8Cuk C3IaSgg8LeJzxu6DvkOuOipl+h+bKyd8RmBdZg842CHgqinbDoPOGQjq2gCW8ySP 06y1L2GnRpbJ2g3FqWCc/ZmyQyYA9UiVeTvcsKA4UgYZ4IiFNRrxNBDhL98PB2oi qE5KkV9E0XJPZfZbEYivK0FCpNDBCs/hb+KEfQ5HEaAMDQQNzLzglzJbTxEsUMfb ychke6JmFyffNu0RY8AVn4Tc18T/LlRwOsg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1700569648; x= 1700656048; bh=sVBBvqTkj9q2vNx24eU0OMVGviLHmJMCGMuiAotm8W0=; b=T sGfoFyfx+2UWmQwMeedGtOB1jlOt7Ejf2kfn+DXxl08Z0jnvnIT87YRXWPNYRui+ n/gJSyRBzC/Iiv4TPU1YuLaluZVyigO/lVj73zTjPsphBtsGBujlEQ7B03ny9A1x bwu8DzfDbJk4dJ3dcKP7/5SGle8PRSBsqIMLHbfvvgSKHInnq7nlVBPJ5UKTwTUy COGEelkCX47qCxZQJRgHpl1hqFM+p53edKU8miry+4O8aMUucencGSjI2zrX3t0E m3lilzhn5QLEQyzjFzXv2Z1zNxxatZOjBKOMp6R5up1SlwwiN29VQr3gTCEf0XjJ 0Ka1/vnNHT9vmgl3vjQog== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudegledgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedflfhi rgiguhhnucgjrghnghdfuceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh eqnecuggftrfgrthhtvghrnhepfeetgeekveeftefhgfduheegvdeuuddvieefvddvlefh feehkeetfeeukedtfeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id CD83D36A0075; Tue, 21 Nov 2023 07:27:27 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1178-geeaf0069a7-fm-20231114.001-geeaf0069 MIME-Version: 1.0 Message-Id: In-Reply-To: References: <20231026111715.1281728-1-jiaxun.yang@flygoat.com> Date: Tue, 21 Nov 2023 12:27:11 +0000 From: "Jiaxun Yang" To: "Thomas Bogendoerfer" , "linux-mips@vger.kernel.org" , linux-kernel@vger.kernel.org, "YunQiang Su" , "stable@vger.kernel.org" Subject: Re: [PATCH] MIPS: process: Remove lazy context flags for new kernel thread Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =E5=9C=A82023=E5=B9=B411=E6=9C=8820=E6=97=A5=E5=8D=81=E4=B8=80=E6=9C=88 = =E4=B8=8B=E5=8D=887:08=EF=BC=8CThomas Bogendoerfer=E5=86=99=E9=81=93=EF=BC=9A > On Sat, Nov 18, 2023 at 04:36:45PM +0100, Aurelien Jarno wrote: >> > Anyway, I have been able to test a backport of the patch onto the 5= .10 >> > kernel (with minor adjustments) and I confirm it fixes the reported >> > issue. >> >=20 >> > Tested-by: Aurelien Jarno >>=20 >> It seems that this patch hasn't been merged yet, either in Linus' tree >> or in the MIPS tree. Is there anything blocking? > > sorry, took some time to get really back from vacation... > > I don't like the patch doing too much code restructing. I can't > reproduce on my loongson machine, so I can't test below patch... I intentionally do code shuffle to match with other arches :-) To reproduce, you can just install Debian sid and build kitinerary with sbuild. However, it seems like loongson3_defconfig won't expose this problem, you'll have to build kernel with Debian's config. I'll test this patch later today. Thanks - Jiaxun > > What cmake version do I need and what would be a package to > reproduce the bug ? > > Thomas. > [...]