From patchwork Tue Jan 31 23:42:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jithu Joseph X-Patchwork-Id: 4787 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp97971wrn; Tue, 31 Jan 2023 15:45:33 -0800 (PST) X-Google-Smtp-Source: AK7set/pBR+SPdgF70+TWBpc8UQMdL/fi7WqhXB5urXBVIcYR57hwyIIt8FeRn8L/kOOuiI7C5ZT X-Received: by 2002:a17:906:a83:b0:870:95b6:94a4 with SMTP id y3-20020a1709060a8300b0087095b694a4mr146915ejf.48.1675208733451; Tue, 31 Jan 2023 15:45:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675208733; cv=none; d=google.com; s=arc-20160816; b=gVCwrBxAhM83nker0FEdBw2xKhpJckjL/FZB/+J7qzaHAVk2fDbYo8K0T1D2BAQlIZ osoIhXIgbszcxgt1pzRcAhJh97XJ1NR30jhZcdMbCF1cFJJIM9MbKnDBWPBV9Obao1Wb ++XCaTvM+Z4QTJebyVpP5Gxkr2vGqyshFk/IP1Lp9YzLdtUEz3dS0kq02fZc8es9NrKA qzRNkMc8povutueOCnzBWB91+je/NELsuWepXjqlirlj2e1KZtMxZbhLnVVpRKHMV39c pg0VmEO5Ot2/HytVyw5wI6KlZBRNwSbl4gY1z6W3ASypnV4GyS50xaVHzHH5LOwnawue 4Uvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9QNeoqzRARD2qeOW6tvcExB+dFHrMMCz1uMArMdD6JQ=; b=0JsdMyJ+/3+cEu09+LzTnuN05qFaAtsIHw/X9bKB4RMqwE51hYDeh/ZGGnbO7ONVZB G8fh7yDoNE1zzDVVqdCPNGVlK2i56KmDgNTRNHEmxVzcfUHFSDUVQSkh7ZncC+2B5qmG 2v5Ka3Pv4BPiLS+JAEnSbt0t9Q+fIUnmegca75J4JQWsaaGIVxyuy67ydoh7Qc1fVIqx W3PHT9raBHZIhm6JiZ2g2j/JaW83rGDJTMI1DnaAKceJ/1dSpAUmMjkF01alEbfZfGea fELqq0KWyGAjZFVqDV9G2sb5sPLx5hvB9Y5tr6vSTzCGukrNjIx39Q05Ha9rXTVN6BU+ aL2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="VL7Sr/rb"; 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=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d25-20020a05640208d900b004a23413cfb3si10570246edz.500.2023.01.31.15.45.09; Tue, 31 Jan 2023 15:45:33 -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=@intel.com header.s=Intel header.b="VL7Sr/rb"; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230177AbjAaXo6 (ORCPT + 99 others); Tue, 31 Jan 2023 18:44:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229900AbjAaXo4 (ORCPT ); Tue, 31 Jan 2023 18:44:56 -0500 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26C3B2B619; Tue, 31 Jan 2023 15:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675208696; x=1706744696; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=rRr0dU2Ax3D388aE0RxUG7UZP/5GO+5UGBpNxL+OVL0=; b=VL7Sr/rbFqN5pSSkFBT0VkxjOdO29RdwR6T0YCnpT1RLIumPeCdLBZ15 2GmDHIZ9YxDn4o3xCBds129oTehyTxfLGXEKa8TCjcWIPgWQJzlIg+u6A hjwplqm5xLbF7GP9tehVnM7UkEDQcwiE4hLW9/7CqKnWv57QlYXwG6KPc hRMmi76xeVJo2J2go01dnPfsekqUbEDcfNVtB1EVoDVGTQi+0u3zv+v/S 857VODHKlTbJHYnoUq9KUuzGiSqRfxn7F+mnVeAnXDyBEmeHgtwGVJTdb osD3OQrzi5uR9w3Se1tywT1P+1a/TQoTv7lTUZronNqjQXAe0XicgfOPn Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10607"; a="390360409" X-IronPort-AV: E=Sophos;i="5.97,261,1669104000"; d="scan'208";a="390360409" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2023 15:44:55 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10607"; a="773192021" X-IronPort-AV: E=Sophos;i="5.97,261,1669104000"; d="scan'208";a="773192021" Received: from jithujos.sc.intel.com ([172.25.103.66]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2023 15:44:55 -0800 From: Jithu Joseph To: hdegoede@redhat.com, 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, rostedt@goodmis.org, jithu.joseph@intel.com, 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: [PATCH 0/5] Add Array BIST test support to IFS Date: Tue, 31 Jan 2023 15:42:57 -0800 Message-Id: <20230131234302.3997223-1-jithu.joseph@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756583672739970599?= X-GMAIL-MSGID: =?utf-8?q?1756583672739970599?= Array BIST is a new type of core test introduced under the Intel Infield Scan (IFS) suite of tests. Emerald Rapids (EMR) is the first CPU to support Array BIST. Array BIST performs tests on some portions of the core logic such as caches and register files. These are different portions of the silicon compared to the parts tested by Scan at Field (SAF). Unlike SAF, Array BIST doesn't require any test content to be loaded. Jithu Joseph (5): x86/include/asm/msr-index.h: Add IFS Array test bits platform/x86/intel/ifs: Introduce Array Scan test to IFS platform/x86/intel/ifs: Sysfs interface for Array BIST platform/x86/intel/ifs: Implement Array BIST test platform/x86/intel/ifs: Trace support for array test arch/x86/include/asm/msr-index.h | 2 + drivers/platform/x86/intel/ifs/ifs.h | 18 ++++ include/trace/events/intel_ifs.h | 27 ++++++ drivers/platform/x86/intel/ifs/core.c | 82 ++++++++++++------ drivers/platform/x86/intel/ifs/runtest.c | 104 ++++++++++++++++++++++- drivers/platform/x86/intel/ifs/sysfs.c | 17 +++- 6 files changed, 223 insertions(+), 27 deletions(-) base-commit: 6d796c50f84ca79f1722bb131799e5a5710c4700