Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4916321pxb; Tue, 28 Sep 2021 06:54:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+Lkd0oJO9CuUmXhHb0HCMQcer3smlZPUL3otIEhBXKHPCKlhpXiiyr82BF/2wDOAkLbci X-Received: by 2002:a17:90a:514b:: with SMTP id k11mr65071pjm.103.1632837269850; Tue, 28 Sep 2021 06:54:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632837269; cv=none; d=google.com; s=arc-20160816; b=Mmo0L+e7S0d0SF6Ovb/gkpkL/KmXpC/6ia28sFiJrC9SfcN5DQuvZOpwXcJm016Vd5 F+ubFqqMG8j4Ta/446fov9icmSVWLaxo518jwa+h+MGp4OaLsWgKRYo/crwuQa3ByKG6 6SaW/dNeHmcynm/1bbHEnAnhNahC1Ati9teq48dwkl3HKfoqVz1AD7YPDMAsAuVkzL39 DnDPg3v6DEsvlBY8iMAPTinSBqEBHHfhmXn00H6iekwalMOAiJConcKBu0E0nLt5sh6s rNUYMcuDXIDiA6VfYLFBZB+bE6avHKFb96fbkyMBe0mQh4+r+2oCxE3JWehO+5EWGAgK 40gQ== 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=tzS48f1AHUq+1Bee/pCNC9OBkDxxslPsoo0D85DNy2s=; b=wLG4xBhfZff985/T60qaW0HYbqsxOBQbUYG85MEJ+8IAohDOn0NFTLAvItnejbbl6c W8SgphjT9Y98/H0AvdlcaUN20ZEmuPQCs4+ca1dwxgTSJUMy9Rzy5AVYv5PvDkcVPSPD RfPypGVQEYRphylwxQJWqYamhBBC6U+JocXvGRo3kk+Y8rve5sqeIsHpPWjpaVA6GPha XZEbdhoJVNyey9gT/0Diip9rmZS1gMiSjfIJ99Jipr3Tnz9NSxcEBoevfEnEabXXRD0L VQx+NfiBDdDkp0MGrLX7dPrf/aq8hxHLDHhs/D9Ckfyatv9IiAC+TXK1Monqan4zZgZF +4Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BJTpbVzx; 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 18si3309175plo.443.2021.09.28.06.54.14; Tue, 28 Sep 2021 06:54:29 -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=BJTpbVzx; 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 S240969AbhI1Nyu (ORCPT + 99 others); Tue, 28 Sep 2021 09:54:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:55888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241045AbhI1Nyt (ORCPT ); Tue, 28 Sep 2021 09:54:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CF84B6127C; Tue, 28 Sep 2021 13:53:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632837189; bh=jrbVenceAWLgQkHzrFIo4zTN1wFu086UNecp+tCchZ4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BJTpbVzxSlWP7bMXn78zpcAI8AzZBFum7ggL0nmew76COMAheV0+QtFCooIzVjSA+ 8BTYrxda+iUt4es/uiEyCPAxXqJfu/6LLciq4r/IBalgwp0FbcCIjVx2qs2I5M8yyY 9MUZsUqJA8Wzkd560YijUKsvx54Y3nhT5/PNRqyjRt1rSNxgLMltgQPPPsanqi3v84 3pgfA/EtgGoCRNd75w4xMl3PrVxKHdDcAz/y9a2ZY2YZFj8NPQydK5G/tqtxxdEGT2 lRmWsIR4tF3IJIqtUlksoXB1ehXeu0YUl0qxeZms7xxpFa7nQqutq2pMNklY79Ncob AMSiwHlYGRgtA== Received: by mail-oi1-f182.google.com with SMTP id z11so30082326oih.1; Tue, 28 Sep 2021 06:53:09 -0700 (PDT) X-Gm-Message-State: AOAM531dVnBEuDH3ATIw4F2RoMjkS7VSJrKoPGGsilIDDLajKkC3b96q Y/9cBT3iV1HvFLWZdWv2kVUZnNTbGa5zHzevTMI= X-Received: by 2002:a05:6808:1148:: with SMTP id u8mr3628695oiu.33.1632837188990; Tue, 28 Sep 2021 06:53:08 -0700 (PDT) MIME-Version: 1.0 References: <20210914121036.3975026-1-ardb@kernel.org> <20210914121036.3975026-4-ardb@kernel.org> In-Reply-To: <20210914121036.3975026-4-ardb@kernel.org> From: Ard Biesheuvel Date: Tue, 28 Sep 2021 15:52:57 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 3/8] s390: add CPU field to struct thread_info To: Linux Kernel Mailing List , Heiko Carstens , Christian Borntraeger , Vasily Gorbik Cc: Keith Packard , Russell King , Catalin Marinas , Will Deacon , Michael Ellerman , Benjamin Herrenschmidt , Christophe Leroy , Paul Mackerras , Paul Walmsley , Palmer Dabbelt , Albert Ou , 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, 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 s390's definition of > struct thread_info. > > Signed-off-by: Ard Biesheuvel > --- > arch/s390/include/asm/thread_info.h | 1 + > 1 file changed, 1 insertion(+) > Heiko, Christian, Vasily, Do you have any objections to this change? If you don't, could you please ack it so it can be taken through another tree (or if that is problematic for you, could you please propose another way of merging these changes?) Thanks, Ard. > diff --git a/arch/s390/include/asm/thread_info.h b/arch/s390/include/asm/thread_info.h > index e6674796aa6f..b2ffcb4fe000 100644 > --- a/arch/s390/include/asm/thread_info.h > +++ b/arch/s390/include/asm/thread_info.h > @@ -37,6 +37,7 @@ > struct thread_info { > unsigned long flags; /* low level flags */ > unsigned long syscall_work; /* SYSCALL_WORK_ flags */ > + unsigned int cpu; /* current CPU */ > }; > > /* > -- > 2.30.2 >