Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2200299rwb; Thu, 19 Jan 2023 22:57:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXsNtXR8iwEY1xVmQKKibxlaggbnDC3v4q2PqvmNcDbc5SHFMf25CyBbX1MI4uBLaB0WY9Vj X-Received: by 2002:a17:902:bd85:b0:194:9984:8085 with SMTP id q5-20020a170902bd8500b0019499848085mr11568485pls.40.1674197863127; Thu, 19 Jan 2023 22:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674197863; cv=none; d=google.com; s=arc-20160816; b=u9cQhKowjqhUiwq6gMWHh3YZUuMkTcnyWBxn8Ubd8gAUwyUniFFHsJQ44XREFBI7hf FAPSzBZkqFdccAcfFDlNglTWxUN8Yy+Um5PpTohTAe/r0HpFX+1GKVInIueWXJEv7jO6 IiLPfcnJsk1OvElL/hGHA7txoArcce+6jYG9uXVle+mF6c7edw1LG9bAxc8UfJbOVYT2 7iJld+Dsov46x+6Zta1b2C9eoz+Ce87otmpDNWyJBqRBycIoudwwrIH3Cvyqpuc9jFku a1kBy+qbY/Ryc61dbgrRP/DSigJXrNgAKUw8Wl8YmVGgWwvXRny0bpr21bDjvSB5OB3k J7hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:user-agent:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=GcnLmGQ86f/VU6l0Qirc5T7a3lZXTUjtWwqjD1kIf3E=; b=LLkcRGU/ypDckF8uunQqhcYe0f5eMwQUWfyLiAreMdEvsDEeU6SSHsdCIg3RJSQzTM nWwqeyKZuZdK3LpS9IlQeb53RQsk5uu8i8zC3D3THGDEpg6VAbf8s3xvnirBXGrupl9g r9N2pihbXrYaqEm6LJPIGVS/XiC/AUY+FGPyFGt2ifLq4ebQ5J0S5GsxEaSlYNWqNUVI 9DQaU3hMdP5KSea0oD22EUfmz3b0DCpxnCq4vFIqBHRZlCF/9a6dR6SIuucylPI2xukb 5RUsJ2jVEo1+7NNFgm5A8RHBPtDL3Lwia+7jD5wBh57IgCIegNfAMmQ+aXtuXiJDoGt+ D4sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=CXCcqAAj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k5-20020a170902694500b0017f97fe774fsi37650584plt.445.2023.01.19.22.57.35; Thu, 19 Jan 2023 22:57:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=CXCcqAAj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229458AbjATGB7 (ORCPT + 47 others); Fri, 20 Jan 2023 01:01:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229701AbjATGB4 (ORCPT ); Fri, 20 Jan 2023 01:01:56 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BB9E2B2A9; Thu, 19 Jan 2023 22:01:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1674194486; bh=2HTFXG94hmGf8elB+ZGfbE05fbZFJ3N1BBWe/PnHMYg=; h=X-UI-Sender-Class:Subject:From:To:Cc:Date:In-Reply-To:References; b=CXCcqAAjf3jrbmcESAaVjifzWD4XGAJDWhDIcbzxTaTmr1yuchXTueHqsio/yrb1G ft49Gqn5tkv90edo1fBSQhNqVZgk2FWuqPuRssbw523kEuH7370SgiDblq+0LM9GVM 4l9fU+cLNOYFHj6shVb/g4oO0GoXNFYQlwJwrlmbyHjnsrka8EEU31FQc+0g5X4pmd irFf++3FKQvCOA5RwocFNPKtd26VOgNsQlPAby4oDnONg8M9fcEgobQQK2rEYfMFQl FGGAYy6HbRbAGeCz7le7lxMU8hrK05QKrtDRVpwSGxu3mDVzEsJk8igpld3PatNLLN 20pJI5/+oseGg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from homer.fritz.box ([185.221.149.244]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MvK0X-1oSR1g3vaz-00rI6r; Fri, 20 Jan 2023 07:01:26 +0100 Message-ID: Subject: Re: [ANNOUNCE] 5.10.162-rt78 From: Mike Galbraith To: Jens Axboe , Salvatore Bonaccorso , "Luis Claudio R. Goncalves" Cc: Pavel Machek , Vignesh Raghavendra , LKML , linux-rt-users , stable-rt , Steven Rostedt , Thomas Gleixner , Carsten Emde , Sebastian Andrzej Siewior , Daniel Wagner , Tom Zanussi , Clark Williams , Mark Gross , Jeff Brady Date: Fri, 20 Jan 2023 07:01:23 +0100 In-Reply-To: References: <40de655e-26f3-aa7b-f1ec-6877396a9f1e@ti.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:ny3ueawLfOJf2WQgVtegw2ap7gBT/CvPRPQCFdlKZODxWZ2vuuA iRFFo+iiO8MWT288kxpCwH0BDCRWL8yS9dIOh5CoYDyUvSq8iD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Pj6eTjiptxJqcnpXvNmwM6JEGnLY3m78NOJLbdKgCKn7VCk6gx/TYEn5xAEdtBHb G5b3CHZANeiPaOb2RM5ReyLmx3w= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2023-01-19 at 16:09 -0700, Jens Axboe wrote: > > I guess we need to twiddle that asm to deal with eg 16 bits, rather than > attempt to backport any TIF removal patches. Hm, 'mov' gets past the weird ass rules committee, so seems it should be trivial for someone who speaks arm. This built/booted once on rpi4. diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S index d5bc1dbdd2fd..a4931bff8ea9 100644 =2D-- a/arch/arm64/kernel/entry.S +++ b/arch/arm64/kernel/entry.S @@ -751,7 +760,12 @@ SYM_CODE_START_LOCAL(ret_to_user) bl trace_hardirqs_off #endif ldr x19, [tsk, #TSK_TI_FLAGS] +#ifndef CONFIG_PREEMPT_RT and x2, x19, #_TIF_WORK_MASK +#else + mov x2, #_TIF_WORK_MASK + and x2, x19, x2 +#endif cbnz x2, work_pending finish_ret_to_user: user_enter_irqoff