From nobody Fri Jun 12 20:21:40 2026 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 61B01309DB5; Tue, 12 May 2026 16:39:59 +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=1778604000; cv=none; b=TcwylLjk5t5zL4tXbF/Y8yhBXGEkTGpbObd3CyVMYe9CjkhkPhjBpZsD+/h9xOxNMb69PwmYshcfm1xdChjgqm6QB+6sHcAghGQh1FxYGUgv2zfnz6G5jnd5JgT+8S8bdD8yC64VMJUk4eUyrAer6g47zTjgMRYwVdOM1oRQpEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778604000; c=relaxed/simple; bh=UXlG+/FQLRtVtgCY8X7yWAqDdDuXRi6IWDvjs4a+zN4=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=coCPk4TAiwy70PShpXmhah+8VF2xWbXq4jPayvDfmrs5QTagBYWW0avlFUJcxKLWDbiLdvGVSvSxRFmhnrbHvLfryfd832N+TqsJX+2wGTZtci0E0aXuagJQ9smFEDLJP+G5we7xY4O5eJlcOHyDgz70EMrbdTdg74w7U0/mt4A= 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=K9ajNby4; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=xokAsUSm; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="K9ajNby4"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="xokAsUSm" Date: Tue, 12 May 2026 16:39:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1778603997; 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=6CW8234fhh1UudOlcbp9DjiNRBEUgI5xTvAI0u9wqcE=; b=K9ajNby4C0MH3bIR1e1pJnW0mvak4DEdeUu2w8E5/n+3vSvbaoYAgpGgjV5eWvBRH/BnUC vuGiowJ6kpYcHStvWZqt2/6eFG0b9I7GH/Zo4pJogoMUGr08timMY70AiwBagLbUhdlV5h Xb+bEXFnoDJ5sLwQfCAi7bhs9sRbouzfh83IZb36a9d+YI+zhe6VjZPHEbLXmFbYPw4jA3 62DqnxfaUHqDUT/IVdJYq1OstqzAGwNyGs7/C7/l+UGWtoyQ67aDW0laKyua4IqM6ze9m8 D0JcnT1cVYzfzipjO38rmOyzS5oyriKfkbwLR7O09VgE3p3mNyi6760+BIHNBw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1778603997; 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=6CW8234fhh1UudOlcbp9DjiNRBEUgI5xTvAI0u9wqcE=; b=xokAsUSmOsslFdz8oPCvIOlnPPeiIoKo4xino2gdkSby2vUCo1qE1qA6wLBM3EXDjIH2Bc 9IvekMBfiYsQfaBQ== From: "tip-bot2 for Xiaoyao Li" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/microcode] x86/microcode: Fix comment in microcode_loader_disabled() Cc: Xiaoyao Li , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260512152754.671760-1-xiaoyao.li@intel.com> References: <20260512152754.671760-1-xiaoyao.li@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177860399559.188840.968265245790922772.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: quoted-printable The following commit has been merged into the x86/microcode branch of tip: Commit-ID: 1458ade7469d7447499d4651abfaee9d4374857f Gitweb: https://git.kernel.org/tip/1458ade7469d7447499d4651abfaee9d4= 374857f Author: Xiaoyao Li AuthorDate: Tue, 12 May 2026 23:27:54 +08:00 Committer: Borislav Petkov (AMD) CommitterDate: Tue, 12 May 2026 18:28:04 +02:00 x86/microcode: Fix comment in microcode_loader_disabled() The code in microcode_loader_disabled() actually checks for the bit 31 in CPUID[1]:ECX being set. Update the comment to match the code. No functional change intended. Signed-off-by: Xiaoyao Li Signed-off-by: Borislav Petkov (AMD) Link: https://patch.msgid.link/20260512152754.671760-1-xiaoyao.li@intel.com --- arch/x86/kernel/cpu/microcode/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/microcode/core.c b/arch/x86/kernel/cpu/mic= rocode/core.c index 651202e..68a1a89 100644 --- a/arch/x86/kernel/cpu/microcode/core.c +++ b/arch/x86/kernel/cpu/microcode/core.c @@ -126,7 +126,7 @@ bool __init microcode_loader_disabled(void) } =20 /* - * 2) Bit 31 in CPUID[1]:ECX is clear + * 2) Bit 31 in CPUID[1]:ECX is set * The bit is reserved for hypervisor use. This is still not * completely accurate as XEN PV guests don't see that CPUID bit * set, but that's good enough as they don't land on the BSP