Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp994747rwl; Fri, 24 Mar 2023 05:03:18 -0700 (PDT) X-Google-Smtp-Source: AKy350ZWn9KNJCzARCbW+7i7ds8s4XZoU7s+Ba1Ggzt6F1y3mN/ts5l7jZMY+56aylItd1fZ+G+5 X-Received: by 2002:a17:903:138e:b0:19e:2631:7c01 with SMTP id jx14-20020a170903138e00b0019e26317c01mr2125414plb.37.1679659398246; Fri, 24 Mar 2023 05:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679659398; cv=none; d=google.com; s=arc-20160816; b=WZoJ3al4tat5AjyICysUbkpAuPfpG7L5hBOMuUtZ0aLirmK1tnJnYsHLuyUph4Gek+ I+JgUsUdGxO8fEYEbbifc7K7OPOFITVVM+c7zSODg1xcGQw7sZ/FijbQYls8np1jhgpb uuBI8k0YY+tp1TrTR4CXUuF6ZGYU7CHSPPztG4oMtj/kVfs6ON99cApu//QOuwRRXNjx VJZGMqdZ0PuUOJD9ct+gu6NFXMx/59YbZvR+hRoFr2zx5shxsyMKhN9Y3OkbTyX1O3n2 oSDXWmzxiog2bBX8B9DvORUluuKBvVKWkNrHifxwgEjXfNWdtdVPmJSDXSEUJLezn5tL 8/0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BlnMF+P08ZIVicLwVP2UU5prUkya6K4FHSB2CoG1zy4=; b=oQSBy2oAeyMPl2Z1WWs30p1PK5qglGYqRqkek/4CHIs4ZM66DuQTIhjbArSl1l/jL4 RwNuIPzGw4Ji66WIS520t56c+k83SuVnwvkaOmQcGj25cV4LMzceA7ZKIDgo3veHaPo9 bsIMvig2tmr69rSoJh6HHnpTDd4wuX1UMtj24SC6wne5euF8bVc8iJkul691CmyLr2Z4 izxqdbpkD6UKOiRhvqu/IsM7xWcK7I6lHn3I/LDWcwJ85mPLQJUiq8Bi4clC0SdocUFb yu0u9HxRNr5t/OmceKc3qOgfVQfkYubyYYB3MROiCfy9S27AndfLyZtEGKyp61z+QlCz aQUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=KzQDMS+Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e8-20020a630f08000000b005031231026fsi21524767pgl.543.2023.03.24.05.03.00; Fri, 24 Mar 2023 05:03:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=KzQDMS+Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231545AbjCXMAd (ORCPT + 99 others); Fri, 24 Mar 2023 08:00:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231422AbjCXMA3 (ORCPT ); Fri, 24 Mar 2023 08:00:29 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E5BB23DBA for ; Fri, 24 Mar 2023 05:00:27 -0700 (PDT) Received: from zn.tnic (p5de8e687.dip0.t-ipconnect.de [93.232.230.135]) (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 2F6B51EC0541; Fri, 24 Mar 2023 13:00:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1679659226; 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=BlnMF+P08ZIVicLwVP2UU5prUkya6K4FHSB2CoG1zy4=; b=KzQDMS+YWNqzKnULW0jYzVEIo4zSB1nuTMhGp2XDUz91J8gpUxe7Mfog4KLkEC1viZ1Yme WqOsABFDYVifgpAeAYLJLZ2aYhgUvjG0jN0Jac5DLGpisMXzWoDREsYnuzNMqjJpfgRF2g XgyS0bX6e1i1hNyvzJRuBsMcD9JPwWg= Date: Fri, 24 Mar 2023 13:00:19 +0100 From: Borislav Petkov To: John Ogness Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/microcode: move @microcode_mutex definition near usage Message-ID: <20230324120019.GAZB2Q09ODVq0iYz5l@fat_crate.local> References: <20230324114720.1756466-1-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230324114720.1756466-1-john.ogness@linutronix.de> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On Fri, Mar 24, 2023 at 11:47:20AM +0000, John Ogness wrote: > If CONFIG_MICROCODE_LATE_LOADING is not enabled, the compiler warns: > > 'microcode_mutex' defined but not used How do you trigger this? I haven't seen this until now in my builds and CONFIG_MICROCODE_LATE_LOADING is not enabled here either in most cases: CONFIG_MICROCODE=y CONFIG_MICROCODE_INTEL=y CONFIG_MICROCODE_AMD=y # CONFIG_MICROCODE_LATE_LOADING is not set -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette