From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 6344D3E122B for ; Thu, 5 Mar 2026 17:13:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772730833; cv=none; b=i8J92tzjnMKNr+7iaYgCoPREXV4OQT5u/w13TOFvcpE0lfQ7onJk2yybFeDdJ+P2oV+G52tXfmSYJgcya0+oZ1JO19YSc3TYEE8dW036IW+wFmcODFN3NHeODMy933GTjXeQMJAfSkjuPG2S1WLSVV3xIVilLgUEy5vVl+SXgas= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772730833; c=relaxed/simple; bh=0XUD5BAnUCRqJrt5J3VfKN54QNwr0xLXKDTL1rvjViE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=C3ltTFH8RtquRXT7nRo0BKFhNy4+EnB/KfCMDPD+C7kGQGZ62KME9IM9BVkcA5jKTAa7mtIfAzJ9egO9+aiyred2/1tEWjU2SFJDio9akFn08Ova04IbEFolPTofXYYdykxx13o2S3macVEWojKuQBEAxw/j7bTwTAPRPQg4648= 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=Iyii2bst; arc=none smtp.client-ip=209.85.214.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Iyii2bst" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-2ae50386da7so29521065ad.0 for ; Thu, 05 Mar 2026 09:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772730832; x=1773335632; 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=CRZNdKY8tcJVfQEc8w3qKnNfGaHAS44lUi77zj94QkM=; b=Iyii2bstoZp520uCQzk25DnB1mZ7R2cMiBWbD/+XfBe8Z+3nvE+MfMsFmJ8Msg/nYX w7DRV4m1ymWbrNmMJbtqshc1Eb6pTY3fwWu4RfoWm7cghT8lksenxPJXMIYV/0iDzaGk agu9Wk/z5aNmxjv0O9JjQQWpafp0ZHkuVuk8iYmrWu3Ks3YW/kzS7Z6KYnJASmWStEe5 gICOoAG32G+GfQFqHtnlxsmNCRGYUC2AUT2vae+H3MFUW98FJOL8kaUp5I8zAmlZEcR9 ZWmFEEZr8PpyjTDzUG1Hbhhyha/yKwEZpo0NJgEtNzpusJxC9LvRiX2NnciU7gJTV3K9 OkJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772730832; x=1773335632; 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=CRZNdKY8tcJVfQEc8w3qKnNfGaHAS44lUi77zj94QkM=; b=aW0cYA3Va7tBwdukQPoPG5+tHB4TVhchAKtM2mkNnjGV2skJr41Cjhasm30p4CdyXK fChF/JlW6kj8hzLphDyB8Yrp7ioA6B0xwsc/EYf4gguI1Iy0Uh+jlcvyp+cQOvIccZkN GLwzUb0tnr56RPXgmJpRaITc+pG5e07I/LENM6pxXUZc4vMmiEZMpdkS7RvNLpiyJ4Hn 2gnlOlePmA7ts5FK63dX8vO8SX1HCuwmY7qkDrPE/cxIAF/XPrmdpfIS6dfVr7X+eivK wI69HmisX43s5qPARyNjJ6OBkv38OwPTWbwFM3TKZXFb0jmBjbY3JSvdWJYLziO0bGo6 xarw== X-Forwarded-Encrypted: i=1; AJvYcCUI6uY2X4dN02qwix9wndC5XJqoFlx1l+oG1LOtPspLdEiBJ3rcQyXq+h7xk36J+AFkDyLOhJqbI8Fd5T8=@vger.kernel.org X-Gm-Message-State: AOJu0Yw1oB5JdoNaXdYsWYe+4IzQGVPSYEB8ZKgCBGVogen/Y0uX9eRq 9TKL8QEgAtzMnsN8gRtAzPIqNCfH5L14sybZs5RzJUqq6I1Q6otGaL7LYpz++nmbTVsIncSWsd2 WdHEXVg== X-Received: from plbbh8.prod.google.com ([2002:a17:902:a988:b0:2ae:3c5d:ec0e]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:c410:b0:2ae:5346:d4e6 with SMTP id d9443c01a7336-2ae75c6c932mr33611435ad.28.1772730831639; Thu, 05 Mar 2026 09:13:51 -0800 (PST) Date: Thu, 5 Mar 2026 09:08:41 -0800 In-Reply-To: <20260211102928.100944-1-ubizjak@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260211102928.100944-1-ubizjak@gmail.com> X-Mailer: git-send-email 2.53.0.473.g4a7958ca14-goog Message-ID: <177272954596.1565167.8442601996349101861.b4-ty@google.com> Subject: Re: [PATCH 1/2] KVM: VMX: Drop obsolete branch hint prefixes from inline asm From: Sean Christopherson To: Sean Christopherson , kvm@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, Uros Bizjak Cc: Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" Content-Type: text/plain; charset="utf-8" On Wed, 11 Feb 2026 11:28:49 +0100, Uros Bizjak wrote: > Remove explicit branch hint prefixes (.byte 0x2e / 0x3e) from VMX > inline assembly sequences. > > These prefixes (CS/DS segment overrides used as branch hints on > very old x86 CPUs) have been ignored by modern processors for a > long time. Keeping them provides no measurable benefit and only > enlarges the generated code. > > [...] Applied to kvm-x86 vmx, thanks! [1/2] KVM: VMX: Drop obsolete branch hint prefixes from inline asm https://github.com/kvm-x86/linux/commit/6dad59124e15 [2/2] KVM: VMX: Use ASM_INPUT_RM in __vmcs_writel https://github.com/kvm-x86/linux/commit/192f777b3af0 -- https://github.com/kvm-x86/linux/tree/next