From patchwork Fri Dec 1 18:37:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 172625 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp1335386vqy; Fri, 1 Dec 2023 10:37:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQQ+8NpdXTd6q+YmbB9REBcMDDFSQe1spHR0apxoNuFsFnHOdzOCD9YtkAhdCuQw+mC/z5 X-Received: by 2002:a05:6358:2489:b0:16d:ed11:4d19 with SMTP id m9-20020a056358248900b0016ded114d19mr22857326rwc.19.1701455876616; Fri, 01 Dec 2023 10:37:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701455876; cv=none; d=google.com; s=arc-20160816; b=wyqYpPF3LVv2i5Gor6ZzMtZLUZXFo7E89amqzki7ITKr+ZhB6Rb2vBm3BTtj+C1Kja 9X/pqjO8bAxsBr5zgCzdUHQzWIxOTECG1CXKIygJGObWEiahNd7XCS8TfVMrhgtlhzW9 jXC2TD+gPJCEY2t7sepVduMTpFuso9WnpexK9qBoOhOqZa/TN7SKj85+Xmdd2edbI0LU mwlP3KwKPQl8wK6m4fuWqbqJP548DIhPIedEaSmYnySAbjXHHx8F92r4ry7P7o8+q0Q/ UKeOq+W/0KBWrBS+kcnOZV2OcXm/FjT8VKcOJ4ZZ4Q72geVqekA6409L2CHDcVfb6Z3Q RySA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=fIxb9RrJ1lv9j0KiMvs3PD5T32FeHGynP5aqt1392L4=; fh=FR+zK3Yh2EueN45Yakz1a5ZjKRaWHM8H88LO8rGxyUk=; b=UH23DQ1YzuEzqPtwH5cp1Jzzz9BkHJq2P87cdi+35WGPfyQzAUXfOQT9IXuOSbl3Rx catuAOfaHiRnkVyx5Zd8CwDLWeTBXsbVoaadTUpXxwIuU3uCrcxR1lPAcbADgLlW2E32 vKFJWMXhhGOCM4ra+BGKaA9EbJrS3Rrv0wBd5oGzovHhPBIqHuj5eoQyD+oeVsAOdigF qCa9xpcbE47fkhxTQT5x+q2j6hPqeQX7U6L6C46T5J1PenVO2ksX2RzD30DaY8uVf6zc jZtzDgFY/GVJWZXGTFAp32Hwg1ybfSzSDZsDHNDDd+wbW3ndm2NMuPs7Rm9SWb7ixReo SY+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="H/cSWktp"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="1P/XNiHX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 30-20020a630e5e000000b005bd68976351si3795650pgo.55.2023.12.01.10.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 10:37:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="H/cSWktp"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="1P/XNiHX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3CBC0812D238; Fri, 1 Dec 2023 10:37:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230207AbjLAShq (ORCPT + 99 others); Fri, 1 Dec 2023 13:37:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjLAShp (ORCPT ); Fri, 1 Dec 2023 13:37:45 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49507131; Fri, 1 Dec 2023 10:37:51 -0800 (PST) Date: Fri, 01 Dec 2023 18:37:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1701455869; 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=fIxb9RrJ1lv9j0KiMvs3PD5T32FeHGynP5aqt1392L4=; b=H/cSWktp6BjzceTIBS2+PxM1CP/pdkHWzKZLgahAr3On3lCtRPp70vFY/6XE7YM2fl6xBD Mze66VihSAtNaRbJN3xXc0F0uWP/W5dpJYWeu1kc/zTo33uc63n4wSocI5X3TFtz2hj5iG tVmfP5OUob7BFLuEsE27DNA1f+XZ5OTUHiS6xPhb/kJVRhrYPetszkwapgA9FWjtk38Ota tADHozPKjeJF1NItNztMWcwmy0dP8Okktz4jkdKfMqajoHppAYoyV+yZY82x9AIHdZbaCF Z3oxeteSis5+VJmLQsnB3TXbTFT42J1ydlZEfxJ7uXuE8dabf5k/o9T6AgPAQA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1701455869; 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=fIxb9RrJ1lv9j0KiMvs3PD5T32FeHGynP5aqt1392L4=; b=1P/XNiHXEJWjOTkcF4bEWofkYqz8jstOO/YUvGlj4yuqf4ILJQoqCNAtCEW8xzjdZtq0dz dDrWCOSdROhjN8CA== From: "tip-bot2 for Ashok Raj" 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/intel: Remove redundant microcode late updated message Cc: Ashok Raj , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: MIME-Version: 1.0 Message-ID: <170145586850.398.10184003704108915953.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_PDS_OTHER_BAD_TLD,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 01 Dec 2023 10:37:55 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784105797246953124 X-GMAIL-MSGID: 1784105797246953124 The following commit has been merged into the x86/microcode branch of tip: Commit-ID: 1f693ef550f051ef6a95dbfadfa4fbd600769a81 Gitweb: https://git.kernel.org/tip/1f693ef550f051ef6a95dbfadfa4fbd600769a81 Author: Ashok Raj AuthorDate: Wed, 29 Nov 2023 13:56:43 -08:00 Committer: Borislav Petkov (AMD) CommitterDate: Fri, 01 Dec 2023 18:52:01 +01:00 x86/microcode/intel: Remove redundant microcode late updated message After successful update, the late loading routine prints an update summary similar to: microcode: load: updated on 128 primary CPUs with 128 siblings microcode: revision: 0x21000170 -> 0x21000190 Remove the redundant message in the Intel side of the driver. [ bp: Massage commit message. ] Signed-off-by: Ashok Raj Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/ZWjYhedNfhAUmt0k@a4bf019067fa.jf.intel.com --- arch/x86/kernel/cpu/microcode/intel.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86/kernel/cpu/microcode/intel.c b/arch/x86/kernel/cpu/microcode/intel.c index 070426b..5d6ea87 100644 --- a/arch/x86/kernel/cpu/microcode/intel.c +++ b/arch/x86/kernel/cpu/microcode/intel.c @@ -457,12 +457,6 @@ static enum ucode_state apply_microcode_late(int cpu) if (ret != UCODE_UPDATED && ret != UCODE_OK) return ret; - if (!cpu && uci->cpu_sig.rev != cur_rev) { - pr_info("Updated to revision 0x%x, date = %04x-%02x-%02x\n", - uci->cpu_sig.rev, mc->hdr.date & 0xffff, mc->hdr.date >> 24, - (mc->hdr.date >> 16) & 0xff); - } - cpu_data(cpu).microcode = uci->cpu_sig.rev; if (!cpu) boot_cpu_data.microcode = uci->cpu_sig.rev;