Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4948659pxb; Tue, 5 Oct 2021 14:00:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYKaevGUVv+ztiwLYdW/ugtScO9LE8bmI7VbKGMtlDKvlnF+VyHcpQUhahZUgtyWHj0JnJ X-Received: by 2002:a50:e08c:: with SMTP id f12mr29052456edl.178.1633467658143; Tue, 05 Oct 2021 14:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633467658; cv=none; d=google.com; s=arc-20160816; b=ZqEM4UiARslSLyi4/sefgNGvcZoxb3INPOP68yp6Y9hXW4EObICdvcTrVjEGpRDZuI hcTTn06FmC9bGgcDkPNGCzfraTUmiyBr2GK+DyLq7qSQftYEPnJARriTxSPBt4CWfEYY iUfWjJrvYJQisMpZw4ZIIun942aUwvJe604y5v1H3+z0tuyyWW18DChNleoGRPPzK34v DkY0MywjdrL3b3pNYVkd3NtW3RKvKf5/FNgYLmscoXIQf2KPozOq9CDmxiXO+NpqC8RR 6TbxbCGkxrgGymuOf4zJLmhkCqYBz4Qd5Qp9mQMe2cw989q/EARzR6VMXiJR7iJl6JXT 9EFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:dkim-signature; bh=EyRXcdqtI+K25QRnWA1w1cpYgdn+P+iGzSFAQ224jOc=; b=c7uYfK3Lf9oPmUhWbHKgG8J1Cs1bJI7GHELKBCmYXV2mb1B9LoXAte9np3bx5Za7VJ 4lPxDvH6e3jZalDJjyG02hN7c39ukjNdKwCFG6mRQwlxrFaS075bY2hnl/Hp6So0cSbP tzoV9eWZU7DpL9CqB4+Y5GjIxLTfeU+hmdTjTFEPl0IAEbt/PaqBWb3W3l0pipwJS+92 lMG6BE2HtrWdXb2w7Zb0VSv6YKqlnhUmLhrWrjUnEcxjTjcYf2xur22pfpYubFEEhaWx EpHnWUZS3L+wpdpWqPqmQVqbaLIYmeo86zj7QUHymvZ6TkhGsi5hyuG7/NWBzkBmYkW6 bnNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fdZH7LQe; 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 h20si12363259eds.283.2021.10.05.14.00.35; Tue, 05 Oct 2021 14:00:58 -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=fdZH7LQe; 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 S236659AbhJEVBA (ORCPT + 99 others); Tue, 5 Oct 2021 17:01:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:60188 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230019AbhJEVA7 (ORCPT ); Tue, 5 Oct 2021 17:00:59 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 669D66138F; Tue, 5 Oct 2021 20:59:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633467548; bh=bsjXpRYx2mjsrpqtJvNuzokSpYL8w21ACNuobJf3GCk=; h=In-Reply-To:References:Date:From:To:Cc:Subject:From; b=fdZH7LQeLuFJ7jCyJmZcvtita6gTE2s7ey7YadkHhkIcSfrkh10KQw1aDkr4RgbiD pWwi9/Ub/GAZEeTQoEMYx/eZ3VmZS/oj4PBH0tNKEv42933srip+bDCkz6tHp0Th9O vEo6SYJkOMtEfPhYkB5/bexeXsJvGBmmhmZVe/H6l5I54qykL5c2MavNazHq4yU3Dv rF73bFINNy2AYx+SePT+e5DMKWjQ1brYWM5B7bjXOJpkU0FNz/81284UY2cdk3K8Mf BxTB8N+8RqfnEVGRTnGIz9X8hU0BpIy1mL8hSbr+bSeOeDiYMnaVEnYztCYoj0GSsu La4X1/z8K+G4Q== Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 7EDF227C0054; Tue, 5 Oct 2021 16:59:06 -0400 (EDT) Received: from imap48 ([10.202.2.98]) by compute6.internal (MEProxy); Tue, 05 Oct 2021 16:59:06 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudelgedgudehhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftehn ugihucfnuhhtohhmihhrshhkihdfuceolhhuthhosehkvghrnhgvlhdrohhrgheqnecugg ftrfgrthhtvghrnheptdfhheettddvtedvtedugfeuuefhtddugedvleevleefvdetleff gfefvdekgeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homheprghnugihodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdduudeiudek heeifedvqddvieefudeiiedtkedqlhhuthhopeepkhgvrhhnvghlrdhorhhgsehlihhnuh igrdhluhhtohdruhhs X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6051721E0063; Tue, 5 Oct 2021 16:59:05 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1322-g921842b88a-fm-20210929.001-g921842b8 Mime-Version: 1.0 Message-Id: <1166eaec-f655-4f77-bf3f-b04dcb62d4fe@www.fastmail.com> In-Reply-To: <20211001133349.9825-1-jane.malalane@citrix.com> References: <20211001133349.9825-1-jane.malalane@citrix.com> Date: Tue, 05 Oct 2021 13:58:45 -0700 From: "Andy Lutomirski" To: "Jane Malalane" , "Linux Kernel Mailing List" Cc: "the arch/x86 maintainers" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "H. Peter Anvin" , "Pu Wen" , "Paolo Bonzini" , "Sean Christopherson" , "Peter Zijlstra (Intel)" , "Andrew Cooper" , "Yazen Ghannam" , "Brijesh Singh" , "Huang Rui" , "Kim Phillips" , stable@vger.kernel.org Subject: Re: [PATCH] x86/cpu: Fix migration safety with X86_BUG_NULL_SEL Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 1, 2021, at 6:33 AM, Jane Malalane wrote: > -static void detect_null_seg_behavior(struct cpuinfo_x86 *c) > +void detect_null_seg_behavior(struct cpuinfo_x86 *c) __init, please