Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp194372iob; Mon, 2 May 2022 16:52:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDe7p5gDC+kwFwYkFLRieqj5msdOVsRSNMnrpfXkHSoz2MfKhejTMxNBck248jMSo1W0cS X-Received: by 2002:a17:90b:4d82:b0:1dc:7c58:3dbb with SMTP id oj2-20020a17090b4d8200b001dc7c583dbbmr1131874pjb.116.1651535552042; Mon, 02 May 2022 16:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651535552; cv=none; d=google.com; s=arc-20160816; b=IToLvstKdiezqMKHZMKlW+EMq13UY9pLYJLGMF7No6R/FXJav/9uluF7zx2Q1Ysv4D c8AhsnMopdL9GBqIF7Kk5p7khogz7bHcsv2Pg1vyEkQQAUWEzwxpfF4mVDNUZNeQiHST 1cI7hOLiAz4t1ycz+HbDbBg2kF4WAdN4R0duOXbvEdj6BxLO54BKDdzqABARW0q6pDkU 3+bYF6tEW+dLjwc2F2tMsh/I9/6/bFxJZR4S74iKW65Bv7dtYDNpT/61wni8VtTr2k7m WMkAwl2Csfdsc19LpX0L7aekRTMUwxRo5ldEQOfZVw46cfOQsdrwFtZ8zXOqgqugHz3U yfwg== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=k0PmxSPmOOMkFAuEyKaFUSMzJFbtZ7TiEfjWg6xe3gM=; b=RJ5Qw9AMiGE6gc+vUFGR/8sJakJOcILLIcMPLK2JHFT/sJs7YzkyaopcPgBrbcpqs0 fA29qp9KlVloTEPTe8F9ZwTaLC89nNtsWOStXC3uNEc+NRpcUhJZbHSUxEZ7wCYubvyG mF4tWbnv0qoOHQxRyMoBDpAqfMWbEtG6QCjRR/22yFuXdWY2VUT+dj36UNOGSFGnN7yt 6pC4vSu7oEHxdHAEGTHtYU9I0j9xBUd1eq3n1QhLl8BRapQJfcMOgCJSag/ZD3ziWJbw Sxoc0vr13BkfjeqZ4iB63dSyoXFdtDac3ps1BsRL0+D3MsjK4CqwE2//dz1WTMRGJ5lf HbSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Gp5j413C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k11-20020aa788cb000000b0050dc64e0685si8511024pff.377.2022.05.02.16.52.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 16:52:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Gp5j413C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 99E47DFA2; Mon, 2 May 2022 16:52:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1385690AbiEBPTO (ORCPT + 99 others); Mon, 2 May 2022 11:19:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385702AbiEBPTN (ORCPT ); Mon, 2 May 2022 11:19:13 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B3F03AE67 for ; Mon, 2 May 2022 08:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651504542; 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=k0PmxSPmOOMkFAuEyKaFUSMzJFbtZ7TiEfjWg6xe3gM=; b=Gp5j413CuAxg8aIJGMonTSHdU2JhTh04uGKpXho3GXI3oR0GUn9hIh3YFAWHmSfUYzRl7M X45fuaFeGhaeNtin5IXiKiFbeha/9fUtO6j8mo461D6PF9svSYSMaPW5V72wc2ST9Ajqem E3W22bUhZdoAWT/YOXrJ3y5FXCxCDZQ= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-512-VsAweHCwN-ulQVdd1QcV4Q-1; Mon, 02 May 2022 11:15:41 -0400 X-MC-Unique: VsAweHCwN-ulQVdd1QcV4Q-1 Received: by mail-ej1-f69.google.com with SMTP id dp12-20020a170906c14c00b006e7e8234ae2so6956596ejc.2 for ; Mon, 02 May 2022 08:15:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=k0PmxSPmOOMkFAuEyKaFUSMzJFbtZ7TiEfjWg6xe3gM=; b=plNEgzZqEPTKyJS0obRmW59Pawo0BPprVEsUZL23Wd8KPqtbBru7+pztVIlTiYMOeq yNnkytT/UZqi9IIHGACBNWbJxD7im+XG249QI17VnkgcabNnRhpYAe36fgxZYVfYRP+4 jzP89tEHK+3C+3aU8TkcAdWJTLgyGmkjC1K2Kh0I+sky3HrZHogKV7Q2Blnc8q/f3TYv 8lmZRNHeb7O57Cal9+VMA/iEDXnIosqDVylAyJqf2ODc7PkW7/vhTRa0oPze7s9UgA2e baIddIqX+gQmO1wUVW+jiNK33ZmHrW+2lBER0II3kGWxS+QQMoWUC1m9zHWTuQP57kYd rEkg== X-Gm-Message-State: AOAM531YFpz3t4sjNJl4WBW1fjMt37lLUWJ+DtJWG4gCjg7kHcswnHtt CXKawb9tcQwYJXij0iZj6sD78dKBcQYHxJ+pQYqovMwS7eLjpMz7FhJ+XCyNYG43EcY21MBIciH hH2jLnuoYtYsQYnQ88lYjyAsM X-Received: by 2002:a05:6402:1148:b0:413:11e0:1f58 with SMTP id g8-20020a056402114800b0041311e01f58mr13664136edw.113.1651504540320; Mon, 02 May 2022 08:15:40 -0700 (PDT) X-Received: by 2002:a05:6402:1148:b0:413:11e0:1f58 with SMTP id g8-20020a056402114800b0041311e01f58mr13664112edw.113.1651504540096; Mon, 02 May 2022 08:15:40 -0700 (PDT) Received: from [10.40.98.142] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id dq9-20020a170907734900b006f3ef214de3sm3671912ejc.73.2022.05.02.08.15.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 May 2022 08:15:39 -0700 (PDT) Message-ID: <13054c5c-ed48-b7a2-a800-25b9b1b1ab0d@redhat.com> Date: Mon, 2 May 2022 17:15:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v5 00/10] Introduce In Field Scan driver Content-Language: en-US To: Tony Luck , markgross@kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, corbet@lwn.net, gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com, jithu.joseph@intel.com, ashok.raj@intel.com, rostedt@goodmis.org, dan.j.williams@intel.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, platform-driver-x86@vger.kernel.org, patches@lists.linux.dev, ravi.v.shankar@intel.com References: <20220422200219.2843823-1-tony.luck@intel.com> <20220428153849.295779-1-tony.luck@intel.com> From: Hans de Goede In-Reply-To: <20220428153849.295779-1-tony.luck@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 4/28/22 17:38, Tony Luck wrote: > Hopefully this is close enough to done to begin discussion on which > maintainer tree will take this series. > > Choices: > 1) Hans/Mark take it into the platform-drivers tree > Needs an Ack from x86 maintainers on parts 1 & 2 > 2) X86 maintainers take it into TIP > Needs Ack from Hans/Mark on parts 2-10 I've taken a quick look at the entire series and it looks good to me. I'm fine with this entire series getting merged through the TIP tree, here is my ack for merging the drivers/platform/x86 bits through the TIP tree: Acked-by: Hans de Goede Regards, Hans > > TL;DR this driver loads scan test files that can check whether silicon > in a CPU core is still running correctly. It is expected that these tests > would be run several times per day to catch problems as silicon ages. > > Changes since v4: > > Greg Kroah-Hartman > ------------------ > "Cute way to do this, but I don't see you ever have any more devices > added to this list in this series." > > Removed the enum, arrays, loops, and count of test types discovered. > Now just check for enumeration of the single test type that is being > deployed on Sapphire Rapids. > > > Jithu Joseph (7): > x86/microcode/intel: Expose collect_cpu_info_early() for IFS > platform/x86/intel/ifs: Read IFS firmware image > platform/x86/intel/ifs: Check IFS Image sanity > platform/x86/intel/ifs: Authenticate and copy to secured memory > platform/x86/intel/ifs: Add scan test support > platform/x86/intel/ifs: Add IFS sysfs interface > platform/x86/intel/ifs: add ABI documentation for IFS > > Tony Luck (3): > x86/msr-index: Define INTEGRITY_CAPABILITIES MSR > platform/x86/intel/ifs: Add stub driver for In-Field Scan > trace: platform/x86/intel/ifs: Add trace point to track Intel IFS > operations > > .../ABI/testing/sysfs-platform-intel-ifs | 39 ++ > MAINTAINERS | 8 + > arch/x86/include/asm/cpu.h | 18 + > arch/x86/include/asm/msr-index.h | 7 + > arch/x86/kernel/cpu/intel.c | 32 ++ > arch/x86/kernel/cpu/microcode/intel.c | 59 +--- > drivers/platform/x86/intel/Kconfig | 1 + > drivers/platform/x86/intel/Makefile | 1 + > drivers/platform/x86/intel/ifs/Kconfig | 13 + > drivers/platform/x86/intel/ifs/Makefile | 3 + > drivers/platform/x86/intel/ifs/core.c | 80 +++++ > drivers/platform/x86/intel/ifs/ifs.h | 123 +++++++ > drivers/platform/x86/intel/ifs/load.c | 262 ++++++++++++++ > drivers/platform/x86/intel/ifs/runtest.c | 332 ++++++++++++++++++ > drivers/platform/x86/intel/ifs/sysfs.c | 147 ++++++++ > include/trace/events/intel_ifs.h | 38 ++ > 16 files changed, 1111 insertions(+), 52 deletions(-) > create mode 100644 Documentation/ABI/testing/sysfs-platform-intel-ifs > create mode 100644 drivers/platform/x86/intel/ifs/Kconfig > create mode 100644 drivers/platform/x86/intel/ifs/Makefile > create mode 100644 drivers/platform/x86/intel/ifs/core.c > create mode 100644 drivers/platform/x86/intel/ifs/ifs.h > create mode 100644 drivers/platform/x86/intel/ifs/load.c > create mode 100644 drivers/platform/x86/intel/ifs/runtest.c > create mode 100644 drivers/platform/x86/intel/ifs/sysfs.c > create mode 100644 include/trace/events/intel_ifs.h > > > base-commit: af2d861d4cd2a4da5137f795ee3509e6f944a25b