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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67773C433EF for ; Tue, 28 Sep 2021 00:17:04 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2CA97610A2 for ; Tue, 28 Sep 2021 00:17:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2CA97610A2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=67a2AtG09xmNJ/qFlOkKiQj/T581VKDtd7xkWsIKBVo=; b=xkTf3qKTYghQ1b 9FGKvPsaYXxgId8NFHdhZZ5PVV0xwovWN/+eQ24/li77C3rfPeQPiyswU40HLP1tbSHWUyjc0w45C ilpYC4f+HNwWkTuvY9XONZGhpU3XuGtgMLtDV6Ux+W9ZcOtJ1yV9vFj9IS4mxRJfNCJcM5LDOnaK3 JbDfYm6jB1Ts4Z95OXZsZcfnu7EoscS+4D5AmqX0wbBEU5zNEkuvpVNenHzGCbjUB0jgfZ6HdkiQ1 zrZqCeKh+jOoHtzRqK1mNqIze3U/uHZIpBfFjtlvcCHsu+beDdEMt9P3e/N/TOZMM8rzsLYbrDMBM +B9LVerWzBi0ikIWlXqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV0nV-004zb1-Hf; Tue, 28 Sep 2021 00:16:37 +0000 Received: from gandalf.ozlabs.org ([2404:9400:2:0:216:3eff:fee2:21ea]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV0nH-004zYY-VR; Tue, 28 Sep 2021 00:16:25 +0000 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4HJKmX5spJz4xLs; Tue, 28 Sep 2021 10:16:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1632788176; bh=40Qjcb8alQIKNQ7ovWDvb3uMDNOj6u2mSouvybd+c8U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=YE4vK5P9YiusbQolaISGGqbw4MSmlgr0kC9O4dDE4vhOWZ2Fmo0BVq9wmxsDcZ3hV W80h/uxllRg+IcULCeIMjbu3sqqPuAPrhZu9NMVfNoCPQsrpi2y4ER2uyYZY/53m0D fzEBhgCmKTGrvLM/c7bXFjD8K1vu/5nMylk9VLD1Z2g4eAhWey750rJgPZlLTesnu1 rIaQj9Am5NVESisHbWmUMdEJgSwf5cPVGlWxWbpytvh99D8VzQKASAnBo3Awc53QqK yX8rx2Tk57NXkKKqSY+WGSvevVjmx5jEYC5fZ/F48e11+PeLesWlKR8my9tSeWcRt+ yTiwhk81hk9gQ== From: Michael Ellerman To: Ard Biesheuvel , Linux Kernel Mailing List Cc: Keith Packard , Russell King , Catalin Marinas , Will Deacon , Benjamin Herrenschmidt , Christophe Leroy , Paul Mackerras , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Peter Zijlstra , Kees Cook , Andy Lutomirski , Linus Torvalds , Arnd Bergmann , Linux ARM , "open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)" , linux-riscv , "open list:S390" Subject: Re: [RFC PATCH 4/8] powerpc: add CPU field to struct thread_info In-Reply-To: <87ee99lii7.fsf@mpe.ellerman.id.au> References: <20210914121036.3975026-1-ardb@kernel.org> <20210914121036.3975026-5-ardb@kernel.org> <87ee99lii7.fsf@mpe.ellerman.id.au> Date: Tue, 28 Sep 2021 10:16:10 +1000 Message-ID: <87pmst1rn9.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_171624_198506_26097FCE X-CRM114-Status: GOOD ( 14.50 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Michael Ellerman writes: > Ard Biesheuvel writes: >> On Tue, 14 Sept 2021 at 14:11, Ard Biesheuvel wrote: >>> >>> The CPU field will be moved back into thread_info even when >>> THREAD_INFO_IN_TASK is enabled, so add it back to powerpc's definition >>> of struct thread_info. >>> >>> Signed-off-by: Ard Biesheuvel >> >> Michael, >> >> Do you have any objections or issues with this patch or the subsequent >> ones cleaning up the task CPU kludge for ppc32? Christophe indicated >> that he was happy with it. > > No objections, it looks good to me, thanks for cleaning up that horror :) > > It didn't apply cleanly to master so I haven't tested it at all, if you can point me at a > git tree with the dependencies I'd be happy to run some tests over it. Actually I realised I can just drop the last patch. So that looks fine, passes my standard quick build & boot on qemu tests, and builds with/without stack protector enabled. cheers _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E54EC433F5 for ; Tue, 28 Sep 2021 00:16:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4928E611EF for ; Tue, 28 Sep 2021 00:16:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238241AbhI1AR5 (ORCPT ); Mon, 27 Sep 2021 20:17:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238236AbhI1AR4 (ORCPT ); Mon, 27 Sep 2021 20:17:56 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee2:21ea]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C246C061575; Mon, 27 Sep 2021 17:16:17 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4HJKmX5spJz4xLs; Tue, 28 Sep 2021 10:16:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1632788176; bh=40Qjcb8alQIKNQ7ovWDvb3uMDNOj6u2mSouvybd+c8U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=YE4vK5P9YiusbQolaISGGqbw4MSmlgr0kC9O4dDE4vhOWZ2Fmo0BVq9wmxsDcZ3hV W80h/uxllRg+IcULCeIMjbu3sqqPuAPrhZu9NMVfNoCPQsrpi2y4ER2uyYZY/53m0D fzEBhgCmKTGrvLM/c7bXFjD8K1vu/5nMylk9VLD1Z2g4eAhWey750rJgPZlLTesnu1 rIaQj9Am5NVESisHbWmUMdEJgSwf5cPVGlWxWbpytvh99D8VzQKASAnBo3Awc53QqK yX8rx2Tk57NXkKKqSY+WGSvevVjmx5jEYC5fZ/F48e11+PeLesWlKR8my9tSeWcRt+ yTiwhk81hk9gQ== From: Michael Ellerman To: Ard Biesheuvel , Linux Kernel Mailing List Cc: Keith Packard , Russell King , Catalin Marinas , Will Deacon , Benjamin Herrenschmidt , Christophe Leroy , Paul Mackerras , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Peter Zijlstra , Kees Cook , Andy Lutomirski , Linus Torvalds , Arnd Bergmann , Linux ARM , "open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)" , linux-riscv , "open list:S390" Subject: Re: [RFC PATCH 4/8] powerpc: add CPU field to struct thread_info In-Reply-To: <87ee99lii7.fsf@mpe.ellerman.id.au> References: <20210914121036.3975026-1-ardb@kernel.org> <20210914121036.3975026-5-ardb@kernel.org> <87ee99lii7.fsf@mpe.ellerman.id.au> Date: Tue, 28 Sep 2021 10:16:10 +1000 Message-ID: <87pmst1rn9.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-s390@vger.kernel.org Michael Ellerman writes: > Ard Biesheuvel writes: >> On Tue, 14 Sept 2021 at 14:11, Ard Biesheuvel wrote: >>> >>> The CPU field will be moved back into thread_info even when >>> THREAD_INFO_IN_TASK is enabled, so add it back to powerpc's definition >>> of struct thread_info. >>> >>> Signed-off-by: Ard Biesheuvel >> >> Michael, >> >> Do you have any objections or issues with this patch or the subsequent >> ones cleaning up the task CPU kludge for ppc32? Christophe indicated >> that he was happy with it. > > No objections, it looks good to me, thanks for cleaning up that horror :) > > It didn't apply cleanly to master so I haven't tested it at all, if you can point me at a > git tree with the dependencies I'd be happy to run some tests over it. Actually I realised I can just drop the last patch. So that looks fine, passes my standard quick build & boot on qemu tests, and builds with/without stack protector enabled. cheers 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 846B8C433F5 for ; Tue, 28 Sep 2021 00:16:55 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 016CE60FBF for ; Tue, 28 Sep 2021 00:16:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 016CE60FBF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HJKnK1Nprz3036 for ; Tue, 28 Sep 2021 10:16:53 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=YE4vK5P9; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ellerman.id.au (client-ip=2404:9400:2:0:216:3eff:fee2:21ea; helo=gandalf.ozlabs.org; envelope-from=mpe@ellerman.id.au; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=YE4vK5P9; dkim-atps=neutral Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee2:21ea]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HJKmd0zljz2xWf for ; Tue, 28 Sep 2021 10:16:16 +1000 (AEST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4HJKmX5spJz4xLs; Tue, 28 Sep 2021 10:16:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1632788176; bh=40Qjcb8alQIKNQ7ovWDvb3uMDNOj6u2mSouvybd+c8U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=YE4vK5P9YiusbQolaISGGqbw4MSmlgr0kC9O4dDE4vhOWZ2Fmo0BVq9wmxsDcZ3hV W80h/uxllRg+IcULCeIMjbu3sqqPuAPrhZu9NMVfNoCPQsrpi2y4ER2uyYZY/53m0D fzEBhgCmKTGrvLM/c7bXFjD8K1vu/5nMylk9VLD1Z2g4eAhWey750rJgPZlLTesnu1 rIaQj9Am5NVESisHbWmUMdEJgSwf5cPVGlWxWbpytvh99D8VzQKASAnBo3Awc53QqK yX8rx2Tk57NXkKKqSY+WGSvevVjmx5jEYC5fZ/F48e11+PeLesWlKR8my9tSeWcRt+ yTiwhk81hk9gQ== From: Michael Ellerman To: Ard Biesheuvel , Linux Kernel Mailing List Subject: Re: [RFC PATCH 4/8] powerpc: add CPU field to struct thread_info In-Reply-To: <87ee99lii7.fsf@mpe.ellerman.id.au> References: <20210914121036.3975026-1-ardb@kernel.org> <20210914121036.3975026-5-ardb@kernel.org> <87ee99lii7.fsf@mpe.ellerman.id.au> Date: Tue, 28 Sep 2021 10:16:10 +1000 Message-ID: <87pmst1rn9.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Zijlstra , Catalin Marinas , Paul Mackerras , linux-riscv , Will Deacon , "open list:S390" , Arnd Bergmann , Russell King , Christian Borntraeger , Ingo Molnar , Albert Ou , Kees Cook , Vasily Gorbik , Heiko Carstens , Keith Packard , Borislav Petkov , Andy Lutomirski , Paul Walmsley , Thomas Gleixner , Linux ARM , "open list:LINUX FOR POWERPC \(32-BIT AND 64-BIT\)" , Palmer Dabbelt , Linus Torvalds Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Michael Ellerman writes: > Ard Biesheuvel writes: >> On Tue, 14 Sept 2021 at 14:11, Ard Biesheuvel wrote: >>> >>> The CPU field will be moved back into thread_info even when >>> THREAD_INFO_IN_TASK is enabled, so add it back to powerpc's definition >>> of struct thread_info. >>> >>> Signed-off-by: Ard Biesheuvel >> >> Michael, >> >> Do you have any objections or issues with this patch or the subsequent >> ones cleaning up the task CPU kludge for ppc32? Christophe indicated >> that he was happy with it. > > No objections, it looks good to me, thanks for cleaning up that horror :) > > It didn't apply cleanly to master so I haven't tested it at all, if you can point me at a > git tree with the dependencies I'd be happy to run some tests over it. Actually I realised I can just drop the last patch. So that looks fine, passes my standard quick build & boot on qemu tests, and builds with/without stack protector enabled. cheers 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C74C0C433EF for ; Tue, 28 Sep 2021 00:18:23 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 85BCB61181 for ; Tue, 28 Sep 2021 00:18:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 85BCB61181 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4VGuEFFQYdaW/HqBjoFp5M9MdgSHI+JyOdVE3LtZFFo=; b=CIZl5Z75xgLArh wlXJyAEG6Iqh3wOMvTZuqTu2twxYEg0hbh7yqfBAG1Jm+2MZdtsQkZBslVUyWD8GRKVHl0/56NpXD M5n3eLVziRgFr8zbJecBEYtTvGbwJyW6XpZjACEXM1yvqrr4gcGuUjHZ5BWzrbKDI3QkOkbCB4ufl xx3dYmyHlrEQPc/2ZueZBeTnDP39YGShEf+vxkfT5in6EBuDx1I+K5rLqPoXUBlJjZpXY8iERuxEF guR0IDwfxOmh5nVjCDdJL5OtFN1RnblmshfqpdcDkKOYVuVcyjtKqsl9Vgze24/aPBK/od1iz+p6O 90uhd5WUlveZYjAbWE5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV0nM-004zaI-Hv; Tue, 28 Sep 2021 00:16:28 +0000 Received: from gandalf.ozlabs.org ([2404:9400:2:0:216:3eff:fee2:21ea]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV0nH-004zYY-VR; Tue, 28 Sep 2021 00:16:25 +0000 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4HJKmX5spJz4xLs; Tue, 28 Sep 2021 10:16:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1632788176; bh=40Qjcb8alQIKNQ7ovWDvb3uMDNOj6u2mSouvybd+c8U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=YE4vK5P9YiusbQolaISGGqbw4MSmlgr0kC9O4dDE4vhOWZ2Fmo0BVq9wmxsDcZ3hV W80h/uxllRg+IcULCeIMjbu3sqqPuAPrhZu9NMVfNoCPQsrpi2y4ER2uyYZY/53m0D fzEBhgCmKTGrvLM/c7bXFjD8K1vu/5nMylk9VLD1Z2g4eAhWey750rJgPZlLTesnu1 rIaQj9Am5NVESisHbWmUMdEJgSwf5cPVGlWxWbpytvh99D8VzQKASAnBo3Awc53QqK yX8rx2Tk57NXkKKqSY+WGSvevVjmx5jEYC5fZ/F48e11+PeLesWlKR8my9tSeWcRt+ yTiwhk81hk9gQ== From: Michael Ellerman To: Ard Biesheuvel , Linux Kernel Mailing List Cc: Keith Packard , Russell King , Catalin Marinas , Will Deacon , Benjamin Herrenschmidt , Christophe Leroy , Paul Mackerras , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Peter Zijlstra , Kees Cook , Andy Lutomirski , Linus Torvalds , Arnd Bergmann , Linux ARM , "open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)" , linux-riscv , "open list:S390" Subject: Re: [RFC PATCH 4/8] powerpc: add CPU field to struct thread_info In-Reply-To: <87ee99lii7.fsf@mpe.ellerman.id.au> References: <20210914121036.3975026-1-ardb@kernel.org> <20210914121036.3975026-5-ardb@kernel.org> <87ee99lii7.fsf@mpe.ellerman.id.au> Date: Tue, 28 Sep 2021 10:16:10 +1000 Message-ID: <87pmst1rn9.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_171624_198506_26097FCE X-CRM114-Status: GOOD ( 14.50 ) 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 Michael Ellerman writes: > Ard Biesheuvel writes: >> On Tue, 14 Sept 2021 at 14:11, Ard Biesheuvel wrote: >>> >>> The CPU field will be moved back into thread_info even when >>> THREAD_INFO_IN_TASK is enabled, so add it back to powerpc's definition >>> of struct thread_info. >>> >>> Signed-off-by: Ard Biesheuvel >> >> Michael, >> >> Do you have any objections or issues with this patch or the subsequent >> ones cleaning up the task CPU kludge for ppc32? Christophe indicated >> that he was happy with it. > > No objections, it looks good to me, thanks for cleaning up that horror :) > > It didn't apply cleanly to master so I haven't tested it at all, if you can point me at a > git tree with the dependencies I'd be happy to run some tests over it. Actually I realised I can just drop the last patch. So that looks fine, passes my standard quick build & boot on qemu tests, and builds with/without stack protector enabled. cheers _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel