Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2075173lqe; Tue, 9 Apr 2024 08:53:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfO4LMs46QGU9I1U4KKD8KJTH68dIB5lZ2lOsq5VotZAEi0CiX69AXEw1jRZUk3pwcijBJ2PYSVZusXsKzJ+PZjJZHHJbGbMLEvpodtg== X-Google-Smtp-Source: AGHT+IHWTpiF9JEbuq5wX9owMd9ARKZC5CCH8p8orWgtRWrXxw4hyZPTZP8biGBtFw9xCOeiWfRn X-Received: by 2002:a05:6358:4b45:b0:183:7ed1:8666 with SMTP id ks5-20020a0563584b4500b001837ed18666mr271878rwc.11.1712677989339; Tue, 09 Apr 2024 08:53:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712677989; cv=pass; d=google.com; s=arc-20160816; b=RKJS531WOUTmkuCDcKnwaeDRZYt9mD9HPHrhDtKsm3F1iO00plZ7UWrLWz271tcFlG jEY83F7Lk1CgoXPoow8+a/IIwu09SVCDpCLk6xhDQtyhyy8kBh5Br6Ehpz3h5huTwHQ9 WiZ+GT9ujT70u0ml+Mt9fKoq9zdDTwHghLdBaPMKbqFCjgHpTKDYzrxxMkJeqnHXXjoE TbuHLwI3NgV2uE+4xSLc+dWr8iVLnsHAaj00ht0sRO65lE6xy7VfZMOGNeczfpVbB1DV lkbnOxi34OkBVmklH0aw/KINU+koAwuWk0o49egh8SkaD3VaTmQzsNtD9uqk9bUKYmDT AhNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=FtR81y4zOVvC4J4BVDpKNhGlG4wYDD1cKR+e6YtcdFU=; fh=KZ3B8sUpjMwuqew5RXb0MJnGjo7CnBGaQpKFVNBQYrU=; b=J3ddota5vD7PM1Gysr3Q9WjKFhCfKB3a/gv/k5E4jTlTlx7Tov+DU88Ma1UuMSXWiD B1yce12+Au1DsNpn14LKsyV8VZw+G2Qqv+5sCySaDKVJg2N9r/JFL7qzUwPmP6dBGX12 Ap7Pjh1YTddWQmlVRMpwbauq23zgEQvAQJk/AIUJhn2/4GNV9QoMlMfLbSAbI6SMCQ/L RMj6qB9xbmhPYvbZRWlX8/b0HL7awK20xSP+YWpTSqvJIgFCo5lrHeQRq4Jv0E0csaa6 B5W0XJtJYr264d91jV3wyZl2cCGG/V7LOq1K57LK1XZ1n9E4YCjxhUFdns66wZJ+CkxG c9aA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Lh6hoEpQ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-137264-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u27-20020a63235b000000b005f06664ef2asi8655727pgm.206.2024.04.09.08.53.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 08:53:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137264-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=@linutronix.de header.s=2020 header.b=Lh6hoEpQ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-137264-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 4B73228400D for ; Tue, 9 Apr 2024 15:49:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1897E13B2A4; Tue, 9 Apr 2024 15:49:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Lh6hoEpQ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="nyVyQv7J" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF0F5137930; Tue, 9 Apr 2024 15:49:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712677746; cv=none; b=Wf1EKxHPgthSC1grFK82K0Xq7FkvZ8nDZurRX3nmYEoePS7Y6+4/NfjiBpfAKUhLBPPZZL6X/TWZ6BrY7RLKJD+dgoXpXbitVAAa8A0tV4MCV5/Kwih3LF4icyXnhN6dN+26Tmk8+LYkGFQ5nrrJcgz2GXCWQ8AJDlvbotrdFe4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712677746; c=relaxed/simple; bh=C/lscghtjNoItk4U+pnESUSZzyRAeKrBWvTPy5/qm5I=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ndtXWEpsHjE7wFdwCgJDZC14XQRAGGS+cJk4MYZUaRiLZMTyN9CLkVwQ+yHbq1BbE7vOGckp9jimDpwAzknY4hP1SdJ646Yx+12uNZKlzJ2pe6x0rrm5aCzrR2Exva8wLWQNCR7NBDZDmuWz/4tld2MpaiKTRDn3Vl6Ek8liOj8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Lh6hoEpQ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=nyVyQv7J; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Tue, 09 Apr 2024 15:49:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1712677741; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FtR81y4zOVvC4J4BVDpKNhGlG4wYDD1cKR+e6YtcdFU=; b=Lh6hoEpQpJAajMtiyx41vw3dlFEjFuIE2rCc3Y3earCb4MgWHTFDGkJNx5a/5K/lBmaFFB SAVBQTiwj+PuKr8CkRgZahUfpnLeOLhuKhnJ6xKLDri+aftG4xzA8hej6kOfZL6csH1lxp fLETSkS5e1tC4xuU9khUIqKGxT+eECf5B+yqLr9VKJ78eP99T/zVEC58W2tHkcSCb9/fcW P53AbGXHH2PlUu7Bj8+9NOkrF3CU6R6rLxDKYr7HPO/fAjQ9L90bSwFfDzWo6og+4ZA7ex aTJQFFIwFygBRd/aDz/nWhqmYVemKpNNQzgzBHJDRcITRZz5wRIJjGd9z85QCg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712677741; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FtR81y4zOVvC4J4BVDpKNhGlG4wYDD1cKR+e6YtcdFU=; b=nyVyQv7J7NQNW5OydikY6vTxh6UkaLR5/z3+cxeHlwNgG7wXstBH8Hd7kYC3WZzmbLy02d rMklYQ6mersLZBAA== From: "tip-bot2 for Pawan Gupta" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/msr: Move ARCH_CAP_XAPIC_DISABLE bit definition to its rightful place Cc: Pawan Gupta , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3C243317ff6c8db307b7701a45f71e5c21da80194b=2E17056?= =?utf-8?q?32532=2Egit=2Epawan=2Ekumar=2Egupta=40linux=2Eintel=2Ecom=3E?= References: =?utf-8?q?=3C243317ff6c8db307b7701a45f71e5c21da80194b=2E170563?= =?utf-8?q?2532=2Egit=2Epawan=2Ekumar=2Egupta=40linux=2Eintel=2Ecom=3E?= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171267774070.10875.16415429453111355258.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 53bc516ade85a764edef3d6c8a51e880820e3d9d Gitweb: https://git.kernel.org/tip/53bc516ade85a764edef3d6c8a51e880820e3d9d Author: Pawan Gupta AuthorDate: Thu, 18 Jan 2024 18:52:24 -08:00 Committer: Borislav Petkov (AMD) CommitterDate: Tue, 09 Apr 2024 17:39:54 +02:00 x86/msr: Move ARCH_CAP_XAPIC_DISABLE bit definition to its rightful place The ARCH_CAP_XAPIC_DISABLE bit of MSR_IA32_ARCH_CAP is not in the correct sorted order. Move it where it belongs. No functional change. [ bp: Massage commit message. ] Signed-off-by: Pawan Gupta Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/243317ff6c8db307b7701a45f71e5c21da80194b.1705632532.git.pawan.kumar.gupta@linux.intel.com --- arch/x86/include/asm/msr-index.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h index 05956bd..961c0eb 100644 --- a/arch/x86/include/asm/msr-index.h +++ b/arch/x86/include/asm/msr-index.h @@ -163,6 +163,10 @@ * are restricted to targets in * kernel. */ +#define ARCH_CAP_XAPIC_DISABLE BIT(21) /* + * IA32_XAPIC_DISABLE_STATUS MSR + * supported + */ #define ARCH_CAP_PBRSB_NO BIT(24) /* * Not susceptible to Post-Barrier * Return Stack Buffer Predictions. @@ -185,11 +189,6 @@ * File. */ -#define ARCH_CAP_XAPIC_DISABLE BIT(21) /* - * IA32_XAPIC_DISABLE_STATUS MSR - * supported - */ - #define MSR_IA32_FLUSH_CMD 0x0000010b #define L1D_FLUSH BIT(0) /* * Writeback and invalidate the