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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BD89CC74A5B for ; Wed, 29 Mar 2023 17:03:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K//CKbnwMLjfQYKjzSgCwPAhl0oJipycjqfQv+zQurs=; b=msPP67cYKBPVCN RomyMkxpuzD1fkFbBeEtOZo5fuqCjEF/cp7CUIFlVJJkjsOA1ob1x0/DoFR/SFpeOF7Z/HeZCdRWV RgXL8yAUFXrfkp+lfK7WvAD5SZszMrA52/tZjwOlr84W9tk5dATBQj5oFH/3COqJkLRL4UUowGlNn R0zQ/HCgoe63GBGUzea3+tc10db39V8rMpRia1LCrHhZjD274DQ59SNj71AXf1TJvdxFsiS+Hs+d+ gvczbGbVbScK+EkOtSzbeGx6DWJ2YtQQ3vtnHbih4K0D+ybzxQFoRKGKhPH4nKIVHmdUKGrl7bh1l Ma8jK0fEQN6NsYDDwiSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phZC7-001DiK-1E; Wed, 29 Mar 2023 17:02:43 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phZC4-001DhT-1H for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 17:02:42 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E694CB82393; Wed, 29 Mar 2023 17:02:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F034EC433D2; Wed, 29 Mar 2023 17:02:36 +0000 (UTC) Date: Wed, 29 Mar 2023 18:02:34 +0100 From: Catalin Marinas To: Jens Axboe Cc: linux-arm-kernel@lists.infradead.org, Will Deacon Subject: Re: [PATCH v2] arm64: treat PF_IO_WORKER like PF_KTHREAD for mitigations Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230329_100240_594481_2AD0CDED X-CRM114-Status: GOOD ( 10.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 28, 2023 at 10:49:03AM -0600, Jens Axboe wrote: > Like PF_KTHREAD, PF_IO_WORKER never exit to userspace. They exist > entirely within the kernel, and hence don't need any task mitigations > applied. > > Signed-off-by: Jens Axboe > > --- > > v2: include ssbs_thread_switch() too As per the comments here - https://lore.kernel.org/all/Y9KWeyy9tAKYDxGA@arm.com/, I think we should update access_ok() as well. Thanks. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel