Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4423775pxb; Mon, 27 Sep 2021 17:17:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypoDinckWcvXDk312TbcaRic7QqMQv6sLzOzCbVGRNJlhciBYFNhz0ZuuCA7/YJEdicUDc X-Received: by 2002:a17:90b:80f:: with SMTP id bk15mr1996682pjb.221.1632788235080; Mon, 27 Sep 2021 17:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632788235; cv=none; d=google.com; s=arc-20160816; b=Aa7fJpZhKiT3mfQf6pXgLH722DF3gG8BD/KiXYQAa2PO9fXJSf8nwCAklFITxtA102 VHLQZrHcEEMICJ/GHdY3UyZBiSnulXvLBH2IkMbm+tHiJWl6SbudizE0oKERJmkxG6pO eeDEsrT4SJ3MjRTNgt0Y7IqJH1iKcMu1ZGnXTo8FaNZjbFQh8I7ygzB5ZqenbTjzFPJG MLLz4U4GvY1295NIBth5LucuVotICoOIm5isUmu460dW3gZfxIA1QrKI/y5g0PW/6HOE ODXJjL39L5q6bE0AGpmJ1SgoNLzn6RMJWNurftJnXIJsUcOm86f67pNHTZZTHFrya4AP VBlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=40Qjcb8alQIKNQ7ovWDvb3uMDNOj6u2mSouvybd+c8U=; b=VticmhnvvqMeauYT4B3sFgwYfSomO8ly+/Gr9XQciBSq2sdpc234fEE+zpAvE2KIUZ UtLap0Lw+4bR6+7emYUZ26H29mENxDpl7vGP09aFBnZxPuT6aAMARgzeRxpNoPQrvr6Q K9Xaa/D5nVnZzbBawnAC+iy/i8qqwMggyR/gnSvRDiRqSIopEAqGAlLoGc0QzwmXLAFi MAMfuokRKCldPDQWeEo9nJH/IYHJ+gHAeOtHMWp88CWLuPXevZu7hZFyKwN45tpbc92B iqJzJy7F0k7FFd5yBLpZa/KN6wE5lR1z5cJNN8KS1+vvYAJfhtl44PE9hZzc98XPVo1c boeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=YE4vK5P9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o22si22801734pgv.520.2021.09.27.17.17.02; Mon, 27 Sep 2021 17:17:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=YE4vK5P9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238284AbhI1AR5 (ORCPT + 99 others); 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-kernel@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