Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1000562pxb; Wed, 6 Apr 2022 06:25:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw75FBfsuJ35bGs1bq0lp5PQw0MuvvcVq2lc061qWXZymh0O69lNi7xcbOCDIK4LoY1mL/a X-Received: by 2002:a17:90a:cf94:b0:1ca:9374:97fc with SMTP id i20-20020a17090acf9400b001ca937497fcmr10057251pju.162.1649251533847; Wed, 06 Apr 2022 06:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649251533; cv=none; d=google.com; s=arc-20160816; b=dFXDbQ2uHl3ORYtlyxyD6UrRo7uoD7ckAGFYxGh77DD13/4Hg3CMz41BIpc8yROwxD 0e5CKOAxfEIu2i2eK/rML5nOHcy7i7ZsC+kUedSTLMrEqAA5UwKxeV6VO9vCOuZctImA lZDzDMIKyfEI8GwopJhUjGJf/muqkwx033T9DEcyA7TMnp5d2984EqVgNQpjUJ8kAGED b6gcsqvRZpiNx6wGUW3dJwCD/65m/C/GZVsylwrlYMyOdISIBqbBYtcEW48hAPnPKM/J SsBjA770KXUHFR9Vb//gmlpqJGnj/ov5yEbnCWgQiMmANkgDJT3wcODFylwrfigAZZZa stFw== 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:dkim-signature:dkim-signature:from; bh=qNm+9V5x8K8pd4DpHAVUkys7MPqoZfGpc+Mw3U+A+aU=; b=xvfLgg/Ct96rnc4nF4sz3KwsVz2Dr3bON4src6FEHbsBuPGxHhih8pvZrkmJ7IOySA NJlmR1cM1gIXhCATmZJqFWuKRUg1UJR/ZjGVCJlVDy7Q/uFyG7VfSRt5MO7BayPCrBFl b2zM5iMF8c76wmMd7yCqowYM5ppALXZNEvpH50VmDGcwFqyoUt9g5GNvTs9r6lv8WcL3 BwpfUKTiGgHXTxL2fbRGPOwGiY3PY84NjHMGMEM36I2OB93eFZWT3US0HJiH4hFBWEYD JdYbvKtSucRBh4mUaGuvou3HIF2s7lnZln+Znhl+m8C9LQC4yD8Fozy+vE+7dD8tBzYV Gnaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=jioPHs0U; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y1-20020a634941000000b003816043f0e2si7913668pgk.727.2022.04.06.06.25.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:25:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=jioPHs0U; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 95CF45B5892; Wed, 6 Apr 2022 04:02:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1457003AbiDEWq6 (ORCPT + 99 others); Tue, 5 Apr 2022 18:46:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1457598AbiDEQOF (ORCPT ); Tue, 5 Apr 2022 12:14:05 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59D43140FF for ; Tue, 5 Apr 2022 09:12:06 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1649175125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qNm+9V5x8K8pd4DpHAVUkys7MPqoZfGpc+Mw3U+A+aU=; b=jioPHs0UCLFhqN7mVdCqSP7fCBRnzbhqBo0Kq/KZVudoOiR1evP5vnBBLeUwNNcIRhPlhN z7FCe3CHlCupgjZ2pXxToigM+GBxAWwtokajRe1/mQtCVGOo9MTeT7LoU8eQlnFWkV6xvS oephkeMIX5xpu4VyBs3UVK5Pif3NfSvQpWu50/j9qA3410d+HmRyHaCTl5u7lmgevvuJbm h3cWlybGUPs+205qwNL6cqMVUPOzAKt/LDMGjU9El0U75PSOl8mTjonlP23hj/9hk0gwvZ RS6rnLnuUMRipnrndM/sxhAuct0FznT2rzzI1AwASrVIm29woJk6sXuGZiwLEg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1649175125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qNm+9V5x8K8pd4DpHAVUkys7MPqoZfGpc+Mw3U+A+aU=; b=P8R+/+Q0099wdlG5pYMKgeC0QKYV+ZuRgZ5f5AkfC4kexLzSWLKcaJ4UacxzxOgZSIeTRY aQmRLSW2iLH4rSAA== To: Brian Gerst , linux-kernel@vger.kernel.org, x86@kernel.org Cc: Andy Lutomirski , Borislav Petkov , "H . Peter Anvin" , Peter Zijlstra , Brian Gerst Subject: Re: [PATCH 0/4] x86-32: Clean up GS segment handling In-Reply-To: <20220325153953.162643-1-brgerst@gmail.com> References: <20220325153953.162643-1-brgerst@gmail.com> Date: Tue, 05 Apr 2022 18:12:04 +0200 Message-ID: <87y20j1pd7.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 25 2022 at 11:39, Brian Gerst wrote: > Since commit 3fb0fdb3bbe ("Make the canary into a regular percpu > variable"), the GS segment is no longer switched on kernel entry for > 32-bit kernels. Clean up the remaining code that handled lazy GS > switching. Reviewed-by: Thomas Gleixner