Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1440557rwb; Mon, 7 Nov 2022 01:28:46 -0800 (PST) X-Google-Smtp-Source: AMsMyM5dhPJhvSmoGX/BcyJvVI3Tz+jemlI64lsEetDVe35RSAD8rgxKtjwiUgdbcA1bzE/UKJCP X-Received: by 2002:a17:907:a48:b0:7a7:3714:1629 with SMTP id be8-20020a1709070a4800b007a737141629mr45169329ejc.569.1667813326125; Mon, 07 Nov 2022 01:28:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667813326; cv=none; d=google.com; s=arc-20160816; b=MZ+SjOQ4SaoWSvNI1tQNY4x38Qc36xre+tVceZyzHpF5pdTPpzjqeYMyriFwiTPydS FvQC2Q7kO3FG8RSdxez7sRA7QAiqAveJ4kZjeOL0bQLwRNPc5lSZgZxIeMC/ke5QCcUD KnlmAaNnuFUd3UYZM1wUS+G4+1j+SMRt5xAzmPKfjwnDWPj0F4wZdpFGrMK/gbJRaQSa /bgUnMuxk2j0V8tRJt9JvgJQ6PH4FGq1NP6h6hEUIlujGqTFzFIzdWIg+V4vWiCS/wfy rRwFDB4dQGcs1MVSjzgwCFoma/5jCPW0bgrDn9lkYrOGiF6GJJ3dUi5NCoFHFgSMCAeu wvlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=zudUvGHItJCXzYsNesQp/1KXLKVzgoLhNyUkkrXfU2g=; b=mbKLvC1oTyRXmfBSlXQxX89Q9BhD52+bYZu+j6Axb+eMRNwRnArR9D3sqGuGCsGa26 zsdvwy1P8clT/zupWFHOeC+f91PCj2AQaZ/vEP/oveqyJWusQOqhXFHZJ9LsEHCph7Db oOpOcaoa1Yebnev6GokyP2ssB6kg9egTiKlpFkf78TLFLZmDPt7QrlpRCgboD1uDdE5a jLRag8iyClQp28Ew0yXGD06glYZuDwerENfG163dYD69iLQnNt6gSLn9d8N82CixRbVC yEdn1KY+lRAOyzbM1HLSdLx+quEMFtstmwsE5VVJlbnfEio4FcDTrR+L0VLli7eyf3an 1xaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bSYnSrJz; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fg14-20020a056402548e00b004608c0b9a8asi8795927edb.201.2022.11.07.01.28.23; Mon, 07 Nov 2022 01:28:46 -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=@redhat.com header.s=mimecast20190719 header.b=bSYnSrJz; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231186AbiKGJ0H (ORCPT + 96 others); Mon, 7 Nov 2022 04:26:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231855AbiKGJZh (ORCPT ); Mon, 7 Nov 2022 04:25:37 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1430117AA0 for ; Mon, 7 Nov 2022 01:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667813055; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zudUvGHItJCXzYsNesQp/1KXLKVzgoLhNyUkkrXfU2g=; b=bSYnSrJziPC7ixuEt8Q3dVB1ccofUquC7xTjbBZPWKnTYFIbLv3bKFpl0W6hzxftCLgOql SpofdvlYPdqMH/JcruHKtwpq5NMjbZz3KPtRNXxSMlIk5KlfWBz6wEoUdtJm/SLvsFidfj gmvHKraSn9XzZAKsjbbcDtTJfQTzdgI= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-536-DnpndvbjOCSgmlw8bPnobA-1; Mon, 07 Nov 2022 04:24:11 -0500 X-MC-Unique: DnpndvbjOCSgmlw8bPnobA-1 Received: by mail-ed1-f70.google.com with SMTP id dz9-20020a0564021d4900b0045d9a3aded4so7999106edb.22 for ; Mon, 07 Nov 2022 01:24:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zudUvGHItJCXzYsNesQp/1KXLKVzgoLhNyUkkrXfU2g=; b=VsZ4gr6Evg1otQcVeTZtMmhqinYJR0bnA+0aPK77Ypt46a5XS1k+f+hRHZzoBs07d0 yEhO2+yiiBTf6U+ILAxMFsMTUiDfxXbZZLwHiFJX9YCUtL/EUwe0wphQJg5mvximlrek Xi/ZUKFrn5CDRZpDk6ok4Nlz5WGBDYJ5MEoutHq9+JbCahVGLe28AC5nZ7QiZ+c20fFa Loyi9C+Xmavzq8ZJV0kW8EbH3UEL6OIgXAD4EAkWBcdFv3BDxhBbofZiFeTg4svqjWsN eKOZc7S82d2M+7jl0aUdgooEw21d+O26b50qxKg9/d/a3Bw2APhQNDLgXHdC7LRJC72B udRQ== X-Gm-Message-State: ACrzQf3Xd2rh+6PnJx5qAot3C/ridwCofAJzEGMemVnLfca5Q4tqSHi+ 2Mk7jzzlBPAZRcT5CjbDbZHTZPjoT80YPBEWT2wuNpBqLf4V0XrJ+S9/I9wNfzIb7MA/1y9oA39 W4MbfAXMXXX6zh8poypg3WcKB X-Received: by 2002:aa7:d80a:0:b0:462:2c1c:8716 with SMTP id v10-20020aa7d80a000000b004622c1c8716mr50284535edq.185.1667813050605; Mon, 07 Nov 2022 01:24:10 -0800 (PST) X-Received: by 2002:aa7:d80a:0:b0:462:2c1c:8716 with SMTP id v10-20020aa7d80a000000b004622c1c8716mr50284526edq.185.1667813050439; Mon, 07 Nov 2022 01:24:10 -0800 (PST) Received: from [10.40.98.142] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id kx5-20020a170907774500b00738795e7d9bsm3105053ejc.2.2022.11.07.01.24.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Nov 2022 01:24:09 -0800 (PST) Message-ID: Date: Mon, 7 Nov 2022 10:24:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH 00/14] IFS multi test image support and misc changes To: Jithu Joseph , markgross@kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, 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 References: <20221021203413.1220137-1-jithu.joseph@intel.com> Content-Language: en-US From: Hans de Goede In-Reply-To: <20221021203413.1220137-1-jithu.joseph@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Hi, On 10/21/22 22:33, Jithu Joseph wrote: > Initial implementation of IFS driver assumed a single IFS test image > file with a fixed name. > > Subsequently, it became evident that supporting more than one > test image file is needed to provide more comprehensive > test coverage. (Test coverage in this scenario refers to testing > more transistors in the core to identify faults). > > This series makes the driver aware of multiple scan test image files, > modifies IFS test image file headers to make it fully compatible > with microcode headers and adds a few other bug fixes and changes. > > Patch organization: > Patches 1, 2, and 3: bug fixes > Patch 4: Removes image loading during init path > Patch 5, 6 and 7: exports a couple of microcode/intel.c functions > for use by driver > Patch 8: Adds Meta-data support in microcode file > > Rest of them are IFS driver changes > Patches 9 and 10: IFS header format changes to make it fully compatible > to intel microcode header format > Patches 11, 12 and 13: native support for multiple scan test image files > Patch 14: reverts the broken flag Thank you for your work on this. Due to personal circumstances I have been unable to do any pdx86 patch review for the last 2 weeks. I see that there have been lots of comments on this series already please send a new version 2 addressing all the existing comments. Then I will review version 2 once posted. Regards, Hans > > Ashok Raj (1): > x86/microcode/intel: Meta-data support in microcode file > > Jithu Joseph (13): > platform/x86/intel/ifs: Remove unused selection > platform/x86/intel/ifs: Propagate load failure error code > platform/x86/intel/ifs: return a more appropriate Error code > platform/x86/intel/ifs: Remove image loading during init > x86/microcode/intel: Expose find_matching_signature() for IFS > x86/microcode/intel: Use appropriate type in microcode_sanity_check() > x86/microcode/intel: Expose microcode_sanity_check() > platform/x86/intel/ifs: Use generic microcode headers and functions > platform/x86/intel/ifs: Add metadata validation > platform/x86/intel/ifs: Remove reload sysfs entry > platform/x86/intel/ifs: Add current_batch sysfs entry > Documentation/ABI: Update IFS ABI doc > Revert "platform/x86/intel/ifs: Mark as BROKEN" > > arch/x86/include/asm/microcode_intel.h | 25 ++- > drivers/platform/x86/intel/ifs/ifs.h | 27 ++- > arch/x86/kernel/cpu/microcode/intel.c | 81 ++++++-- > drivers/platform/x86/intel/ifs/core.c | 7 +- > drivers/platform/x86/intel/ifs/load.c | 174 +++++++++--------- > drivers/platform/x86/intel/ifs/runtest.c | 10 +- > drivers/platform/x86/intel/ifs/sysfs.c | 41 +++-- > .../ABI/testing/sysfs-platform-intel-ifs | 30 +-- > drivers/platform/x86/intel/ifs/Kconfig | 4 - > 9 files changed, 243 insertions(+), 156 deletions(-) > > > base-commit: f76349cf41451c5c42a99f18a9163377e4b364ff