From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) (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 22B332571DE for ; Thu, 2 Oct 2025 18:39:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759430348; cv=none; b=Zi2C0MMQqXAfXyTKXY9X2hkcRZm4zVSNpHtRUNiXmN8DIb3Ce+VfrWrQq68lnKqH71mLxdiXZKQMjZoPmaXw0F/IUYl9ien2X0q1EqMQIYSRa3zPfsRlQIPNosmMbFZPvZJBFDXdTwQ45OowH/0/CdtfNfbNgMqXloA4ZyDiyc8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759430348; c=relaxed/simple; bh=G09Kpo4xTPUVEiyG22AAm1ZAbiJJ+0YFliGitufaR1g=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=lVMl5947NVXOdk8Jc7s/oJADoHWxmhhoVwvDLHBLZn0cn3w0byDFa7pAkI6/jMqFNF9pljelq/Qj3B7kfWwXPfzVByuAUO37BS9+tXgmi0tIDUTwf1xFh7BOTEVYy2/bjPcMzX60ar4c+470Jh5Jo81KmhaxRUteTZJqpDLMgsI= 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=BiEIH/OB; arc=none smtp.client-ip=209.85.216.73 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="BiEIH/OB" Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-336b646768eso2045270a91.1 for ; Thu, 02 Oct 2025 11:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1759430346; x=1760035146; 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=duEE5S2daxBtDzrQtu0r5VIf4FyGlLEemzqCmyOwWzI=; b=BiEIH/OBSrVZYDvsKyOSgTxnTSgN8HZTuT5R6BMusTMVgJkQICuztelM0x1mgaTt4A /tfRkr8W/HA9Imf0ThUw7fELjzpyxyLdYaRAy6n1IUCBgmEhkw/Ge1q/FvmN/HOLLzhL T+liuJl8ZlnCCaI7rFQ6OwtsacD+Uz9VR1rIjTHoeMAI9n4v+79ZA4cUz0Z0KiBgkrlK K801K2RjdXYAl4mifr0OnaJ/h+IkzHfWTy7rQ3uUZYLWj82XHUywOh7KRfEB3TTL+oeT nitF7UIWLXo+0v73y9UV9ecol+MAqUqNJaW9uuBuS1j0bwiqM7ilQv36k9JlIKqf8DgK 1gGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759430346; x=1760035146; 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=duEE5S2daxBtDzrQtu0r5VIf4FyGlLEemzqCmyOwWzI=; b=mrzs+YnJMxw0cVAndzA/pCe9HYn+JDSwBHEo6NUJ8abwm1fczFKbbPkwajfIP6TXCG VK+qwdyu7r7JnhrtYr/LT9+/gmiI+wT2MLQ41AT4ye0I+5dzjU1M9JNNI6QQIz0i0tpB 8uC5iU/j3eaqYB0sQBGsTGFYSKLKmGqoLMSd91LNbkdNu5MbwQUGDhJ++1Q52FTExN5w iVHCwcFr8XLFeTbuKcjwT+E74zlqLjyabbdB9AXfjdaxUv6NkTjgP63h3MeAd/Hw1c7y xN160ytXpf8T9msHJ8IhPkJ2EEvA2b/o6GDGmTYDC3SasayTHyLweRwtl9vyP2iYwIun cGWA== X-Forwarded-Encrypted: i=1; AJvYcCXTCv4RyGt/2Wb3rlEDA3DL/Wd9190I4hzPCHaNIhNV3K4gejxqyXHAnmqJqnjC3yxOwKw8U2iJ/i6htkw=@vger.kernel.org X-Gm-Message-State: AOJu0Yzdne47wE3d0Cl/+kJAXoLymEozkY1n7FGTn7abLzVWh6ai8Xe1 UZOzreGVINarnIQw08mSJ48nwZCO2XYLC1MVGlmwMJXa/r1H2uagWNPON8jpQEKG1L1ryF8UznK /t8p4/A== X-Google-Smtp-Source: AGHT+IEFL9bqgbP8tD63/vZT6rn/5qVLAEV3U7x2zSmWmIO2mCnwPRYoP1fhIFqrQuodI6f+gnNPUZpWXpc= X-Received: from pjbgb10.prod.google.com ([2002:a17:90b:60a:b0:325:220a:dd41]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:1642:b0:32d:601d:f718 with SMTP id 98e67ed59e1d1-339c27d3eacmr345300a91.31.1759430346442; Thu, 02 Oct 2025 11:39:06 -0700 (PDT) Date: Thu, 2 Oct 2025 11:39:05 -0700 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: Message-ID: Subject: Re: linux-next: manual merge of the kvm tree with the origin tree From: Sean Christopherson To: Mark Brown Cc: Paolo Bonzini , KVM , Babu Moger , Borislav Petkov , Linux Kernel Mailing List , Linux Next Mailing List , Xin Li Content-Type: text/plain; charset="us-ascii" On Thu, Oct 02, 2025, Mark Brown wrote: > Hi all, > > Today's linux-next merge of the kvm tree got a conflict in: > > arch/x86/include/asm/cpufeatures.h > > between commit: > > e19c06219985f ("x86/cpufeatures: Add support for Assignable Bandwidth Monitoring Counters (ABMC)") > > from the origin tree and commit: > > 3c7cb84145336 ("x86/cpufeatures: Add a CPU feature bit for MSR immediate form instructions") > > from the kvm tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > diff --cc arch/x86/include/asm/cpufeatures.h > index b2a562217d3ff,f1a9f40622cdc..0000000000000 > --- a/arch/x86/include/asm/cpufeatures.h > +++ b/arch/x86/include/asm/cpufeatures.h > @@@ -496,7 -497,7 +497,8 @@@ > #define X86_FEATURE_TSA_L1_NO (21*32+12) /* AMD CPU not vulnerable to TSA-L1 */ > #define X86_FEATURE_CLEAR_CPU_BUF_VM (21*32+13) /* Clear CPU buffers using VERW before VMRUN */ > #define X86_FEATURE_IBPB_EXIT_TO_USER (21*32+14) /* Use IBPB on exit-to-userspace, see VMSCAPE bug */ > -#define X86_FEATURE_MSR_IMM (21*32+15) /* MSR immediate form instructions */ > +#define X86_FEATURE_ABMC (21*32+15) /* Assignable Bandwidth Monitoring Counters */ > ++#define X86_FEATURE_MSR_IMM (21*32+16) /* MSR immediate form instructions */ Just in case anyone else is starled by the change in bit number, these are synthetic (or scattered) flags, i.e. the the bit number is arbitrary and not tied to hardware.