Received: by 2002:ab2:7988:0:b0:1f4:b336:87c4 with SMTP id g8csp93004lqj; Thu, 11 Apr 2024 10:42:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX8BBvn5hM1COYQaCR8QLoAqlHGeuryhRLW9uzvnLfISEpD4gZEqfblAR+jrgOHMzCO0B2/5jGdPmvQ0vOQCeLVT84plWhmvIZ/mD2vRA== X-Google-Smtp-Source: AGHT+IEDVT6E3B31KYCtM2YQ950dNJ47Vl3nX9eAJaLeoJ4BKi9yMOUHE11/gYjZTmLdD0uNCnua X-Received: by 2002:a17:902:d588:b0:1e4:48a6:968b with SMTP id k8-20020a170902d58800b001e448a6968bmr213021plh.13.1712857329631; Thu, 11 Apr 2024 10:42:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712857329; cv=pass; d=google.com; s=arc-20160816; b=pVT0ncyPE7Q+z7N83zP+wN3oJ+XVuXGQLbRem4WLx57HgtYTMdKVhAHy1yabvX2d7k 6YGm8TrHomfxOJjPOiMzMpzJHnhznx1srWK3wkIIlnrgaqYv4YGBIBkzWaBNnxlyQhJa WXUyEve8FHM0zCuhZY3YeyZAI52XCsF3qZd9qT6jQuxuFiZvAq9B4ucRMojEuQMUH3k+ i9ZjwulDDc9YnOCDz+b2L4qH2FVoWb1HcRKXRiNqYcVuFoXen/HN650HbCgH3NyUbwC3 hJVXNpm41EFXlNj8M3fgDrWnh5mYQie7fZuNpa4/McRHSQ/xT02ozb+MQJkWjScOrsID XbLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=dA3lLmzuvL7jU0zNfJHm6+v36KvfdVGE0I5vccyMUwM=; fh=6VKnlaUnCpWUzot/j9IwQ+Rj9l9/j4dP9Vfodc6XIU8=; b=0s7RlZxs19fjC7lXdY3iPYLMiqn8/g5+7HkGUR1VU3Zwk10yxR+sggLOK1ZMGUSCMK cfy301MScuA2ZHVCUUTLsBRqQteXHydXB21vPa2BY+uGk2z+jB4QSaOTK8AKL/pnIdo5 /w2ThZmNIV6C6UM73J4gOguGYbOuUvtm2XjYSlp/pasPXa7y5RxvMhWUlsATQV82xNyF nDaJAxh2bTFVIMKci89GHhTrnV5rVzwNCxH3Ze905xHSQItpGR9KkzAHN3D4bKtUEQDv 3njjpYW+qKGzG0XP2mdui1OWQkTZJ8VJg+beKAFvnoJmuyzlbPzMFOZDnhgRCNMnIwoJ P7eA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="mbjBTsh/"; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-141292-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v11-20020a170903238b00b001e23ce121cbsi1659853plh.610.2024.04.11.10.42.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 10:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141292-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="mbjBTsh/"; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-141292-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 45B562832F4 for ; Thu, 11 Apr 2024 17:41:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7249A15AAC9; Thu, 11 Apr 2024 16:11:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="mbjBTsh/" Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B40653815 for ; Thu, 11 Apr 2024 16:11:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712851902; cv=none; b=iHjqGiFl5sZ6s5O7rwMZeIvzpAhER8kY/m2uzy4O8TztHrEVl52zG5ozApPx60j/Y8e/N/LRUQ3jwGj1ks0AFU8hZ9XzOEakArOlAFsrQLpJjBGWsWUsIUEWFeWLEpJhJwh4HfnEQcPuFpI3o8vWY3ff6KRm8N+e0Ixk3n/7eQA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712851902; c=relaxed/simple; bh=L2jcJnuTYJv0eRkkE+PmZ1tBb2gSNZLLy/FJPeuq3kM=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=CCFyv2aOZMIDRAs2J9MbdTkB2MMG3CZtryTjxDDwyxWDWBvu5ViL1Yx4yl7A6YE313FKn3H5KFXQ967al153hEd1H7SGD51mFmi7Z3mfchBUXcZtGOM4qVEA/XZIN9EUEv8S5tlANmZkBoahTc2RHu0H/17dztyKzvAA3SKePpY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=mbjBTsh/; arc=none smtp.client-ip=209.85.128.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-618409ab1acso35188577b3.3 for ; Thu, 11 Apr 2024 09:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712851900; x=1713456700; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=dA3lLmzuvL7jU0zNfJHm6+v36KvfdVGE0I5vccyMUwM=; b=mbjBTsh/VDOesvG0e/jdH5R+MP4tTXHdtKcWdsj4jYRVaG3Fa2RGrsCf2XXgqnVelg WOR5V2AKalGzMbB2LgUXG+mwgNZonwUjEXXZXlfk+urPGKAxSBKA9ts081sJ4CXhI3Y3 drC3IPVlz46yW8rAfZ++7nIB2W7IDZoYd14Ude48q9ea6kJbG/jGfSxtD7AjfQYRWdlF bF4/6qZ4ivMJaTXUUTC4guYS3Jn/9vNMPahzntZZZkOmDOycuTGBfy6T8KVkFm3gwmo1 aKW2rGdD6eZi0xThVZveSSGtFXDq/M5wloWjF/Acd4Z52oehMcaX7oBi5bEvm3SSrP5j I+4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712851900; x=1713456700; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dA3lLmzuvL7jU0zNfJHm6+v36KvfdVGE0I5vccyMUwM=; b=pnu+aGOXgNQvAcE0BkI9A0hJdlOn2r71Wc+oWAANzDhcpX+kJnB7OWJemCUoArWfzv O5T0MPfC9u9pLofnFYaA+57sp6DW6zy55vBI5NEzaXlluaRV/Q5Wj6LmUmpcqZJLrdMq mbg0mfQgaUUbr8F1o6j18ogLJNiNst8BqbiP3RTtlPdnI1yGXGM4WjOQuTIrVZRYenjs RTXS1CnZw6wKcuDhUL2E2nHNVvHGorhCBiAq1akvDUzuU6qV0EhL8uBR+7bsAdXdn1NK GG+s5Nlr01EDrDqDTFXAU6jxyXuM0RcxOWf3u6bReswj+2j1ANZ99tLl0KOqrhC5vUVz ROwQ== X-Forwarded-Encrypted: i=1; AJvYcCU5QR6K4tiAxYmf9A1OcdXYTaPSpYTskQJaUd9c6cHKbuUXLataocl0LFmMcQxqdve8zDIXsshQlWdSEf9j01PIqQK/y3qXa04inwrn X-Gm-Message-State: AOJu0Yzu1TsQ1a6rdw24sD//Ot303z3GLzh/WU9nZlRvUwkNnzUeLUdm Ge0DJfE3IkfVa5A7ihHxNrAsC9IwZrrbfkbfj6soVGbGQjdMi3VmazMBeMIJsMbeSLZRzyEy4rK 1Sg== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a81:4f58:0:b0:615:577e:6af with SMTP id d85-20020a814f58000000b00615577e06afmr1325384ywb.0.1712851900307; Thu, 11 Apr 2024 09:11:40 -0700 (PDT) Date: Thu, 11 Apr 2024 09:11:38 -0700 In-Reply-To: <20240411144322.14585-1-xry111@xry111.site> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240411144322.14585-1-xry111@xry111.site> Message-ID: Subject: Re: [PATCH v7 1/2] x86/mm: Don't disable INVLPG if "incomplete Global INVLPG flushes" is fixed by microcode From: Sean Christopherson To: Xi Ruoyao Cc: Dave Hansen , Michael Kelley , Pawan Gupta , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, Andrew Cooper Content-Type: text/plain; charset="us-ascii" Don't disable *PCID*. On Thu, Apr 11, 2024, Xi Ruoyao wrote: > Per the "Processor Specification Update" documentations referred by the > intel-microcode-20240312 release note, this microcode release has fixed > the issue for all affected models. > > So don't disable INVLPG if the microcode is new enough. The precise Same thing here. INVLPG is very much still a thing, it's only PCID that gets disabled.