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 3F90CC0015E for ; Sat, 12 Aug 2023 07:16:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229511AbjHLHQe (ORCPT ); Sat, 12 Aug 2023 03:16:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbjHLHQL (ORCPT ); Sat, 12 Aug 2023 03:16:11 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B87D30D6 for ; Sat, 12 Aug 2023 00:16:10 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1691824567; 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: in-reply-to:in-reply-to:references:references; bh=5LGyzicZVP07rxfxQyStf44fzHwtf7f58uRuZrtNG8A=; b=mwOJIjD6SZ+l0xonXEx++cXUyXafoZ77DXk+lXKX0hijeReQyI9n6oC0Lo8tcmwAVGo+Vz NMau8Gp9G+3R4ncj5eFRio5gvBtGmrMEjBjEs/XkPzz+ePEA4K/GrebDjrYQFjCSNvClpH NlYsls3JPwl2J4V6IFsNhnsV3TB2NVgyo7IxWyAdpeRgjfqZrn/mL2Hrck5Ek2vOCeIGrS VzxA0WbjWsNcgeepwZQp2yPO0dpqL2DHrJPMZ78IQgMXCGO+NHKY7NGYzT9Ec3L5L5XJ/6 weSh/zs39kDsRZJyDcOByC6kC49WthcrADSnMGiwWEe4Q0Mk3R1cEVK31VoIJw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1691824567; 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: in-reply-to:in-reply-to:references:references; bh=5LGyzicZVP07rxfxQyStf44fzHwtf7f58uRuZrtNG8A=; b=kCrkW0ptI16v0gQCzcevWFGVtMKPiPSf1JaqkD7OHId7GQA0ox1DIbffubHQyQHkjPkpDe BPuoAQWgVaEJuAAA== To: Borislav Petkov Cc: LKML , x86@kernel.org, Ashok Raj , Arjan van de Ven Subject: Re: [patch 08/30] x86/microcode/intel: Rip out mixed stepping support for Intel CPUs In-Reply-To: <20230811222500.GOZNa1PIUVJeBDiBGI@fat_crate.local> References: <20230810153317.850017756@linutronix.de> <20230810160805.418991257@linutronix.de> <20230811222500.GOZNa1PIUVJeBDiBGI@fat_crate.local> Date: Sat, 12 Aug 2023 09:16:07 +0200 Message-ID: <878raghgso.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 12 2023 at 00:25, Borislav Petkov wrote: > On Thu, Aug 10, 2023 at 08:37:38PM +0200, Thomas Gleixner wrote: > I'm confused: when you look at those statements when this patch is > applied, they look like this: > > /* BSP scan: Check whether there is newer microcode */ > if (save && cur_rev >= mc_header->rev) > goto next; Bah. this clearly must be !save here. > Uff, this function is ugly and can be simplified. Perhaps that happens > later. Yes, it is cleaned up later. I tried it the other way round, but that didn't really work out. Thanks, tglx