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 36867C433FE for ; Wed, 9 Nov 2022 23:35:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231843AbiKIXfD (ORCPT ); Wed, 9 Nov 2022 18:35:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230080AbiKIXen (ORCPT ); Wed, 9 Nov 2022 18:34:43 -0500 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF3EE2E9D0 for ; Wed, 9 Nov 2022 15:34:42 -0800 (PST) Received: from zn.tnic (p200300ea9733e7bc329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9733:e7bc: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 55AA91EC066B; Thu, 10 Nov 2022 00:34:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1668036881; 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=nUrkqfwst2gPF7A1qYXHvKbpu4a6Mwr08/hjTPPo2Uc=; b=QZ5yA9hW6wz71Mh/dDzG8hHrKfTPfg/mPFJ88It/yXHQmFJdTWvMWIWBkCqqF50L6lyw18 xunYmBebtU0MACwEvvg+TK4sVG64+K/Fo65nUv5baPfK4tDRYB7+twYXxyIOby7ZsST/vY PdH+icLgZEixgXRVXFmkWsjhMMM6Gmo= Date: Thu, 10 Nov 2022 00:34:37 +0100 From: Borislav Petkov To: Ashok Raj Cc: Thomas Gleixner , LKML Mailing List , X86-kernel , Tony Luck , Dave Hansen , Arjan van de Ven , Andy Lutomirski , Jacon Jun Pan , Tom Lendacky , Kai Huang , Andrew Cooper Subject: Re: [v2 03/13] x86/microcode/intel: Fix a hang if early loading microcode fails Message-ID: References: <20221103175901.164783-1-ashok.raj@intel.com> <20221103175901.164783-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 Wed, Nov 09, 2022 at 08:07:32AM -0800, Ashok Raj wrote: > - Take a microcode file from the distribution for a different fms that didn't > belong to the one you are testing. > - You will have to fake the external header data and change it to the one > you want microcode match to work > - recompute all checksums and use that file instead of the original file. This sounds like this cannot happen with officially released microcode - only with something "hacked". If so, I'm not interested in such "fixes". -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette