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 587D3C4332F for ; Thu, 20 Oct 2022 08:18:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231253AbiJTISR (ORCPT ); Thu, 20 Oct 2022 04:18:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231224AbiJTISO (ORCPT ); Thu, 20 Oct 2022 04:18:14 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EE76149DFD for ; Thu, 20 Oct 2022 01:18:12 -0700 (PDT) Received: from zn.tnic (p200300ea9733e710329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9733:e710:329c:23ff:fea6:a903]) (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 A8A081EC0723; Thu, 20 Oct 2022 10:18:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1666253886; 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=RAzpE83MzmvBXvcBI3Gzyypk58bNI4/Dj1+f80hjj9U=; b=ZgvHVHtW8TsewObdMr/knHmzpD0xHVYC3dLSpUgHp11Un0HKQUkY+UPWPa9GO0zGCFKlKn VBSATTA0bGkt4Py4yS+q4prXg5YJaPUqVfTYowDA+WK1qwgSJb2AAoFQiUBvIPcCyxY8q4 YSd+UI7MANqq3ubTtyGM1aDW5FgSs3w= Date: Thu, 20 Oct 2022 10:18:01 +0200 From: Borislav Petkov To: Ashok Raj Cc: Tony Luck , Tom Lendacky , Arjan van de Ven , Jacob Jun Pan , X86 ML , LKML Subject: Re: [PATCH 2/5] x86/microcode: Simplify init path even more Message-ID: References: <20221019175426.31025-1-bp@alien8.de> <20221019175426.31025-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, Oct 19, 2022 at 09:37:59PM +0200, Borislav Petkov wrote: > Ah ok, yes, I need to check ->request_microcode_fw's retval. On a second thought, no I don't have to: the request routine will try to load any new microcode but if it fails, ->apply_microcode later simply won't find it in the cache. And that's perfectly fine. setup_online_cpu() still needs to run on each CPU unconditionally, though, in order to setup the sysfs groups. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette