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 82FA8C7EE25 for ; Fri, 9 Jun 2023 12:29:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238515AbjFIM3c (ORCPT ); Fri, 9 Jun 2023 08:29:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231731AbjFIM3a (ORCPT ); Fri, 9 Jun 2023 08:29:30 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9981F35B1 for ; Fri, 9 Jun 2023 05:28:51 -0700 (PDT) Received: from zn.tnic (pd9530d32.dip0.t-ipconnect.de [217.83.13.50]) (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 9D7511EC02F2; Fri, 9 Jun 2023 14:28:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1686313712; 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=XGeGq5u0I7nlT2+Nk15j13YTNrhGHxxYvdudMYCDfzU=; b=GS0rAJNQaGRzKqlcqwE08LquusefK3ay91ri5KZXzEWkFdgrlaaCxU5/tSbPmVIbKFoVoY BA3lOrQjtri1SjxJ8XOgnJQXJwuEKBKkD4rTKsdH1NNbXFZAMjY0PWPQtFgRAHqHG331e4 h1JdISbTLnAt2f3vbd/mzLJjJvevHUQ= Date: Fri, 9 Jun 2023 14:28:28 +0200 From: Borislav Petkov To: Ashok Raj Cc: X86 ML , LKML , Dave Hansen , Thomas Gleixner Subject: Re: [PATCH 2/2] x86/microcode: Add a "microcode=" command line option Message-ID: <20230609122828.GBZIMa7OtCIpSkYGxV@fat_crate.local> References: <20230605141332.25948-1-bp@alien8.de> <20230605141332.25948-2-bp@alien8.de> 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 Wed, Jun 07, 2023 at 06:55:39PM -0700, Ashok Raj wrote: > When end user changes the behavior, isn't it against the design > specification? And if so, should that result in kernel being tainted > after a reload? That's a chicken bit and should not be used usually. I'm adding it just in case. > Is this reload on all threads required by all models, or only certain > models? I was wondering if the forced reload could be limited to only > affected CPUs instead of doing it on all unconditionally. Unconditionally. > Shouldn't the "control" be under LATE_LOADING? Since this only controls > late-loading behavior? No, that's a bitfield and is going to be used for other flags, if needed and which are not necessarily late-loading related. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette