Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4888998pxb; Tue, 28 Sep 2021 06:23:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSGO6opDrDGQLvTUjsjz8ZFDsCEbAnrAtLNQfL+D+nehF+3oxZ+jToP1KwTp4ezPrInqTL X-Received: by 2002:a17:907:7704:: with SMTP id kw4mr6881318ejc.23.1632835407856; Tue, 28 Sep 2021 06:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632835407; cv=none; d=google.com; s=arc-20160816; b=EiyIWIkMTdhjRM8oR10FCDcOH9+W/WnfUsYY36sM6ps1cDerKNHuPqD1ufstVGCfST 36bYi9t5I3C52mtjhLk7smlvSUsNO2bFCNyK3ItzOIFO+02EfghG/agZy9Yi7I8ZVXOm wsBwh52miqEohud5UBCVCZljUnbsUXdrXDNhdGcgRzH2oGxgQaXabi2KoQ6oleDvulRC kS9Ak5x2R+0CJqFppp6ywiz+4xN0RfqKbkePhVqmsypl3/wjdRrXq4e0bAC2NnNxoh6C RmSdKobDMky4tVYMBae7wqSc2eLQgAZIucKCeKex6IJ0Evev9tuG+H/oTF8mj8VOCNbi TaSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=tDImvIk//dBT64nAvFK7uLMfsDY4liea2Zkhfu0gsR0=; b=hDcKKPRbT3E8qDlzN8i1Spbvdk/CY8LlUpRrnFOvTHsaBsgW6b1ui7fxiir6inq177 I00lk004wYT+lwULNr7iRyCFYHG8g397BgS6oLl1khwWMe1KJAAUjUHVQkDg8z4HQbgM ecQX0Y6bmm1bfWtyTRlL5WRudIL6ojHMoa78opE6Q+Z0kjgwUueVb/zIVraC70swK2iH W5/sRH6cmLl+qzsdotF/9LRmSxMoH5L+JKRt+x0LNhWUcwgi0XPMDz5FSqCueV4TZmt1 yr3LLDLWhDDOplf3+GevWjXBLnPscPRjYQsyMW1mgFpGlPydRHUhjINbUaVhATwF7l3f fyOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D3dc8sMv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x17si23812674edi.396.2021.09.28.06.22.59; Tue, 28 Sep 2021 06:23:27 -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=@kernel.org header.s=k20201202 header.b=D3dc8sMv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240912AbhI1NUi (ORCPT + 99 others); Tue, 28 Sep 2021 09:20:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:59174 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240907AbhI1NUg (ORCPT ); Tue, 28 Sep 2021 09:20:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3CF44611CC; Tue, 28 Sep 2021 13:18:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632835137; bh=VeB5GXPFGYAi+MDx0ZEO0Lyx1tXoFrq/FrWnMOweEWQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=D3dc8sMvlzcVo4NjXJ2vCRYVxSd/g7YSq3UTSfBOQFPNSX//4VhBwZC3SAWmebs/Q iHi/R9QijnXcrS5mBfMuL34YavB44RRDFDtOkkKW6diQ08yr76Z06D7TQDyweNMim1 87hzyb5rjoc4JbHlt9OKqreZ14uLoiJtGPYxRZYxgfI47GSGbk3hGjd50oUO9x8/6/ z9yjU+XfDMXOieObCTTm20a1I1NWslqCYKQ1z0NsGimH0+rt72IVWKA9UtU2K7x+ag 0YHiMFXNMvZO93ij5Kqk/yZUxaU8LZDdOWuhm6olHJ19+zelgyeEb3E7rfpuTp9qC2 nHGTzbmrO+G3w== Received: by mail-oi1-f174.google.com with SMTP id s24so27324696oij.8; Tue, 28 Sep 2021 06:18:57 -0700 (PDT) X-Gm-Message-State: AOAM531wJ9oTHOJWYqDDXg4ZKxL5KRcXzOAeFDS9KApx4OOakfQkdJel DGfhKtjs7gYwuk8yqQBlZx4nYdlQ4clRGdwoyls= X-Received: by 2002:a05:6808:1148:: with SMTP id u8mr3509831oiu.33.1632835136613; Tue, 28 Sep 2021 06:18:56 -0700 (PDT) MIME-Version: 1.0 References: <20210914121036.3975026-1-ardb@kernel.org> <20210914121036.3975026-5-ardb@kernel.org> <87ee99lii7.fsf@mpe.ellerman.id.au> <87pmst1rn9.fsf@mpe.ellerman.id.au> In-Reply-To: <87pmst1rn9.fsf@mpe.ellerman.id.au> From: Ard Biesheuvel Date: Tue, 28 Sep 2021 15:18:45 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 4/8] powerpc: add CPU field to struct thread_info To: Michael Ellerman Cc: Linux Kernel Mailing List , 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" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Sept 2021 at 02:16, Michael Ellerman wrote: > > 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. > Thanks. Do you have any opinion on how this series should be merged? Kees Cook is willing to take them via his cross-arch tree, or you could carry them if you prefer. Taking it via multiple trees at the same time is going to be tricky, or take two cycles, with I'd prefer to avoid. -- Ard.