Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2154305rwb; Fri, 11 Nov 2022 05:54:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf7w/HnATuGHrv4/6AM/Ui0zqWqudMM4+2hMbV4oXdHoL9nNsvIxb2OQqb1/YEL4ijiMYx/l X-Received: by 2002:a05:6402:1506:b0:461:79ee:ee8 with SMTP id f6-20020a056402150600b0046179ee0ee8mr1526240edw.194.1668174892551; Fri, 11 Nov 2022 05:54:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668174892; cv=none; d=google.com; s=arc-20160816; b=TaSEB0qF9bKw41upRFmiwvthtax5XG88RXxM+Hs4mICSDE4lIv2OFLIWSKQF1/MX3G yr9fIwOBlMUkgDpNgMIXGRD9jsVByVzKwMuz+/XJPMgXkj5VzvrrKMMmU06K+r28eeTq 29lyCR7E6txo6OM9jhl9H9X1TmQ3L8cYErICr1LcAuO7lOHkOLLuDtKXKZtB0JXgtC5U 7XztXzaKpvLfJtg//e6EYSogLN7Y1PRz7gG+F59XOvHmpkhVZGODNNOy1YDdXg/tbKk6 9gxRys5OxKsy/9axjTklhABL/cLbldk+jpbBQUDO+ISMf8V7wB6DV2lmZDHh+M/FI0hf pF+A== 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=srsG+bHZex+4E5+pgOdTVgAoS4ma0+NJPyJOWN0aC9c=; b=DOfZVqTZ/g5Zmo/pZaWgyksV6sqiXx2XTuigSBzezXFwV2+9xuXEiaXWaPap5OXbeG Z9klHKdEnfVfSvFSnBadAit4TpbFbjOgS3MFNqS7/E0mM+ELqOBuTJ0UmYtEW6kyhFO8 xhF1twSes6/NwIMR1bvcQWvvEq5EWUMBo9K2YBew1mL0aE5AVq4NkyjwRapr0BkX/WBc fJChHwJLGdof1ASm8RloEmStR4ZC8nU/UlY4L7krOo+D/aC8ShPhGGFCt9cZ2r7UMK7h zVcUFLfjJQTTD5CaiDZjGIQSWI6ca7wYpER6U9jkMRy70+3tAL9ICPE4HV9LOnBKjycn KMcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=sFdKam8a; 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 u18-20020aa7d552000000b0046277d2cb0csi2004938edr.470.2022.11.11.05.54.28; Fri, 11 Nov 2022 05:54:52 -0800 (PST) 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=sFdKam8a; 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 S233317AbiKKNpK (ORCPT + 92 others); Fri, 11 Nov 2022 08:45:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230270AbiKKNpE (ORCPT ); Fri, 11 Nov 2022 08:45:04 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFA2760367; Fri, 11 Nov 2022 05:45:02 -0800 (PST) Received: from zn.tnic (p200300ea9733e727329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9733:e727: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 751C61EC042F; Fri, 11 Nov 2022 14:45:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1668174301; 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=srsG+bHZex+4E5+pgOdTVgAoS4ma0+NJPyJOWN0aC9c=; b=sFdKam8a6ZqS8S6GcAq2ykRTWDcGmTI1Dveq0uv7eDptxDGID2yfsdO4T41sY7FcPGcc4T IAe2GOZSxZTNcmgKJkkMxWE8wwgNgJRtwRhSLQYamfM9Ln+7Q1hSUvijv3VI7QXs9y2MyY pDnz9krBckGV7WLhUcGq5pvo5I2CdQ8= Date: Fri, 11 Nov 2022 14:44:55 +0100 From: Borislav Petkov To: Jithu Joseph Cc: hdegoede@redhat.com, markgross@kernel.org, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, gregkh@linuxfoundation.org, ashok.raj@intel.com, tony.luck@intel.com, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, patches@lists.linux.dev, ravi.v.shankar@intel.com, thiago.macieira@intel.com, athenas.jimenez.gonzalez@intel.com, sohil.mehta@intel.com Subject: Re: [PATCH v2 04/14] x86/microcode/intel: Expose find_matching_signature() for IFS Message-ID: References: <20221021203413.1220137-1-jithu.joseph@intel.com> <20221107225323.2733518-1-jithu.joseph@intel.com> <20221107225323.2733518-5-jithu.joseph@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221107225323.2733518-5-jithu.joseph@intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Mon, Nov 07, 2022 at 02:53:13PM -0800, Jithu Joseph wrote: > IFS uses 'scan test images' provided by Intel that can be regarded as Why is that in '' quotes? > firmware. IFS test image carries microcode header with extended signature > table. > > Expose find_matching_signature() for verifying if the test image Yeah, not "expose" but "reuse". > header or the extended signature table indicate whether an IFS test image > is fit to run on a system. > Move the function to cpu/intel.c and > add intel_ prefix to the function name. That is not needed in a commit message - it is visible from the diff itself. Please remove the "what" in all your commit messages. ... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette