From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A8E1C54EBD for ; Fri, 6 Jan 2023 21:52:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236000AbjAFVwy (ORCPT ); Fri, 6 Jan 2023 16:52:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbjAFVww (ORCPT ); Fri, 6 Jan 2023 16:52:52 -0500 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77E7C2ACC for ; Fri, 6 Jan 2023 13:52:51 -0800 (PST) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 05DD81EC050D; Fri, 6 Jan 2023 22:52:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1673041970; h=from:from: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:in-reply-to:in-reply-to: references:references; bh=1vG7fuBPXuSMpd/HqQSUuei5CKmi9QnuuMsptlD6Zz0=; b=sEzy+SsOjNvlm8Q86TTK2em+j2IhtNeUfA2qmAqawxJnrJFVd75r+1kIpD27PZSLtTTznX wZ1StJdPanL3qSzt7rL5r/r4Ap3Tm60JySaDs/1Qe5wZkmA4gliae/VJbnygzKXWEZr7Qr s1uS5YNNo86tdG5uc7qsIidky/c/s34= Date: Fri, 6 Jan 2023 22:52:45 +0100 From: Borislav Petkov To: "Luck, Tony" Cc: "Raj, Ashok" , Thomas Gleixner , X86-kernel , LKML Mailing List , "Hansen, Dave" , "Schofield, Alison" , "Chatre, Reinette" , Tom Lendacky Subject: Re: [PATCH v3 3/6] x86/microcode: Display revisions only when update is successful Message-ID: References: <20230103180212.333496-1-ashok.raj@intel.com> <20230103180212.333496-4-ashok.raj@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 06, 2023 at 09:35:41PM +0000, Luck, Tony wrote: > # dmesg | tail -1 > microcode revision: 0x40001a -> 0x4001a > > User doesn't notice that the version didn't change and thinks > that all is well. The version did change. One '0' less. Users don't read even if you put in there: "Corrected error, no action required." User still complains about maybe her hardware going bad and "should I replace my CPU" yadda yadda... But whatever, since both of you think this is sooo important, then pls do this: Success: "Reload completed, microcode revision: 0x%x -> 0x%x\n" Failure: "Reload failed, current microcode revision: 0x%x\n" Or something along those lines. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette