Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp958110ybg; Wed, 29 Jul 2020 02:04:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+02bt6wH62UhwDafYf5kD/y3CmbaCSmzMH62O64Wu9iIokmv/ainqAMKNXmn0PQ/jzxTo X-Received: by 2002:a05:6402:1846:: with SMTP id v6mr22802521edy.179.1596013456466; Wed, 29 Jul 2020 02:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596013456; cv=none; d=google.com; s=arc-20160816; b=swG+VO+LE/F96MeIjyL64uVVCQkway6SAi7D+rBfjxdAkc9dsXG6r6lOrJCzCfrQG7 411iusIpKmALV4d07CiLKI5hlzMWyA7UAy5iS+568tIL280Awu7j2gOdExAjLRDmqnrw bZxYoTqaWX2Trl/VMebnsiJgOYWWcelX/9l0E8Mrp/bkOPEc1CY3CmoK5AoEW87bjYmB 9jRuo+2y7Kga3tRn/r0dxbmIwaoQVHrR4NgAwEf0CkhPik/9HPvyZ+Z5IFRGid5TAoQ4 J4Hqykp9pnJe0ZpsDh+qrmBH/CuUrAIB/i83+QLs2a4YPQtGjXYgOOvfKZr1VmWxX+OS GQMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=p8xM3KLUYVzo1b9pVgABw20nOWvB/g3PfvGdgdfnwY8=; b=FsQGrLVWF+G+5SpbDf7J6X01TyEc7oc30Kyn27LrArxbgCTrSyCbLQH/31BPnThDJB YkHNW5KtaJrqN9CQtyeMXuRANqdPJVDBt1QMR2yDeTq2scU0lJmzVWo9oBAhx7DN6IGM diH/Jt2BCU4QTIYnPwvJztWoPt/HptWpudm0XVyV2sWtxAOSJ9ZrdJi4xoyieaWNcJYP X4fhBh0Jy9tllSursfEvwY5m7xPZIk1Lvz9ktUQbwaJSUTpAgQ7hbTdLyZQzqr7FNBgr 1VLkygZ4qcC2vftd7yx5z5GODGYcOAbUqJoD3nP4ra1AAv/Ir8Pbu26m8+PlcCVQCm/+ /zrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=iT11XOfi; 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 h4si676113eje.121.2020.07.29.02.03.54; Wed, 29 Jul 2020 02:04:16 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=iT11XOfi; 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 S1727006AbgG2JD0 (ORCPT + 99 others); Wed, 29 Jul 2020 05:03:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726299AbgG2JD0 (ORCPT ); Wed, 29 Jul 2020 05:03:26 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67BFEC061794 for ; Wed, 29 Jul 2020 02:03:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=p8xM3KLUYVzo1b9pVgABw20nOWvB/g3PfvGdgdfnwY8=; b=iT11XOfih4eckS10psH1Uerktp td89OM7E7oj/M/Gtiatb7O12JLz9UAkpVhqE8FwCAyeUescHPsKF+a3I5e3FrakWEWWZyCexrZC4t dEzlNerj3KkD8957V516sBGj/SkZxNopTkW1kSer7dJf3y5OlZKa17N8iiQ/VoT0wTzQefmxmrv9Q aKzI6lu/+l1QrmLLDHARVWZnQPxrq3p8M85wIR6d739rparoRiN4sD5FE4O/de4aDFnyOO0lgI2b1 tubnRdlypdkmeKY3RMOihBmUY+3Dxh/GGS63G7s4aVCUh4kFo8eFLaY7F8UNOgteez8ICiGWprKli dciA1uFg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k0hzd-0002zv-Ht; Wed, 29 Jul 2020 09:03:21 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 3547C300238; Wed, 29 Jul 2020 11:03:19 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 12E322B804950; Wed, 29 Jul 2020 11:03:19 +0200 (CEST) Date: Wed, 29 Jul 2020 11:03:19 +0200 From: peterz@infradead.org To: Gabriel Krisman Bertazi Cc: luto@kernel.org, tglx@linutronix.de, keescook@chromium.org, x86@kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, tony.luck@intel.com Subject: Re: [PATCH 1/6] arch: x86: Don't use TIF flags for mm context Message-ID: <20200729090319.GA119549@hirez.programming.kicks-ass.net> References: <20200728202229.1195682-1-krisman@collabora.com> <20200728202229.1195682-2-krisman@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200728202229.1195682-2-krisman@collabora.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 28, 2020 at 04:22:24PM -0400, Gabriel Krisman Bertazi wrote: > diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h > index 267701ae3d86..934aa15b20f2 100644 > --- a/arch/x86/include/asm/thread_info.h > +++ b/arch/x86/include/asm/thread_info.h > @@ -53,6 +53,12 @@ struct task_struct; > #include > #include > > +enum { > + PSABI_IA64 = 0, That's the Itanic, and it has sailed. I think you want PSABI_X86_64 or something. > + PSABI_IA32 = 1, > + PSABI_X32 = 2 > +};