Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp283482rdb; Fri, 6 Oct 2023 03:31:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHbcNxnV/MFSYal7JMWlI48O5DwKQY/7M9WTCoNs/GhkSI3LhXAmVhbJQnAcxGNFumUcqAQ X-Received: by 2002:a05:6870:160d:b0:1d6:e8bd:5b48 with SMTP id b13-20020a056870160d00b001d6e8bd5b48mr7994128oae.56.1696588301320; Fri, 06 Oct 2023 03:31:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696588301; cv=none; d=google.com; s=arc-20160816; b=M+HWuaqHQH6H+yaMgP1gIHAf0krR33DuIExmYCHCl1BaYGPpUrlYh6pi5qY0gOwxiz cVF9x6O7P+AUNPurIATd/wYwea/SxAtFRDTM92JPV8Hjs0Pry1HyjmEMX1z5LZyDB+ia NfhBUIuiqlllO++0u01sIa43vCz/wuEWFRNzqeaarQ9VnvFfWSHtHL+uYB6kZ63NboR8 +OaLUjnSdt+4ioLIAwIFRkZg+04UP/H5FwI7PEIbWN7+U2BKpLhCNefNBSZm1/nANuwb KyLXZwCkjuYXkUJJCjVu/aZ/WU+a6q5c7+u2O0fRvsR1T+fZMQZhltCiKJijpcff/rGe go3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=ygxGJsK5opgVU9K/NKEbG33gMO5IEjTWHJWnut0w7cA=; fh=Zx4D0zGMBj+9/N7d/Db2W7/hRmbrTS1pGT/B3fLoF6s=; b=BC2eq9rSqdWsDKDsbO3PSwbOA/iJBG3QjsptsZGPKOWYjHy/DIWmJQnmAT0lkgZmku vBIMbCtIdglBc1xGoQZG81yExCIVG6UXOF07MPYs4KLgTyzGDx8mdH+NvDVJ0ZbdjC0X LBBby1gr2M05Qi5/VC5o53WK84FOdr2dWwqH8A+VyDTEwIgv9NlXj/jXbGwfydr6wXMY voAycSI54jeLL7oDct9ahl0/YMcJaOJkJ4E8Z9TyVtq3YFYnBj1pff2Az7l8tK+9vAje vAjljtykMV0PLvmlaKsvf2IVn4iEFNeTGCTNvGp6mk976GMk5r62mltpyB1jXTLIDuYw nnig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=g1YCK6eM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id g67-20020a636b46000000b00573ff1f360bsi3320556pgc.479.2023.10.06.03.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 03:31:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=g1YCK6eM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 922CF82E15B9; Fri, 6 Oct 2023 03:31:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231497AbjJFKbU (ORCPT + 99 others); Fri, 6 Oct 2023 06:31:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231758AbjJFKa7 (ORCPT ); Fri, 6 Oct 2023 06:30:59 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B52AEA; Fri, 6 Oct 2023 03:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696588257; x=1728124257; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=XqzqC3u6ICreoTyLjbtbD1a0rx/MReQVULfRZwZtusQ=; b=g1YCK6eMZA37ztaP5c3yELVv08veGzfUnCySKqvhBL8utPLitrK9mXvr JQejtunm6t7AVcoicymHRTDexJY4rcdwH7b4mJPWRbDBcXDZjn69MSqtq OqHoK+VSQ8uBBKqFiuS0ofD17CIRnicABUG10ejoIFito2GyX6kLVzYFL z/r2P9UasTfcE11SbHRI5xyps2udnTznZiRiH23gBVlKfr5g4cS0Pdl81 tgsElbCO2AlPHA2HbvWQlt0Fb6gmhE0uBzrQF2ME+27MWgrT2FyoLOMO0 XenvPKo3V+iEOjnVMaYy0OEwJrLaWZLdiY3JimOeDzZc1yRQLThH+ddEv Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10854"; a="469993915" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="469993915" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2023 03:30:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10854"; a="822459341" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="822459341" Received: from srab-mobl1.ger.corp.intel.com ([10.252.43.69]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2023 03:30:37 -0700 Date: Fri, 6 Oct 2023 13:30:33 +0300 (EEST) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: Jithu Joseph cc: Hans de Goede , markgross@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, rostedt@goodmis.org, ashok.raj@intel.com, tony.luck@intel.com, LKML , platform-driver-x86@vger.kernel.org, patches@lists.linux.dev, ravi.v.shankar@intel.com, pengfei.xu@intel.com Subject: Re: [PATCH v4 9/9] platform/x86/intel/ifs: ARRAY BIST for Sierra Forest In-Reply-To: <20231005195137.3117166-10-jithu.joseph@intel.com> Message-ID: <34d7c827-4437-93c6-4c72-8b9b0c5f988@linux.intel.com> References: <20230929202436.2850388-1-jithu.joseph@intel.com> <20231005195137.3117166-1-jithu.joseph@intel.com> <20231005195137.3117166-10-jithu.joseph@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=2.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 06 Oct 2023 03:31:34 -0700 (PDT) X-Spam-Level: ** On Thu, 5 Oct 2023, Jithu Joseph wrote: > Array BIST MSR addresses, bit definition and semantics are different for > Sierra Forest. Branch into a separate Array BIST flow on Sierra Forest > when user invokes Array Test. > > Signed-off-by: Jithu Joseph > Reviewed-by: Tony Luck > Tested-by: Pengfei Xu > --- > drivers/platform/x86/intel/ifs/ifs.h | 7 +++++ > drivers/platform/x86/intel/ifs/core.c | 15 +++++----- > drivers/platform/x86/intel/ifs/runtest.c | 37 +++++++++++++++++++++++- > 3 files changed, 51 insertions(+), 8 deletions(-) > > diff --git a/drivers/platform/x86/intel/ifs/ifs.h b/drivers/platform/x86/intel/ifs/ifs.h > index f0dd849b3400..2dd5e3406dac 100644 > --- a/drivers/platform/x86/intel/ifs/ifs.h > +++ b/drivers/platform/x86/intel/ifs/ifs.h > @@ -137,6 +137,8 @@ > #define MSR_CHUNKS_AUTHENTICATION_STATUS 0x000002c5 > #define MSR_ACTIVATE_SCAN 0x000002c6 > #define MSR_SCAN_STATUS 0x000002c7 > +#define MSR_ARRAY_TRIGGER 0x000002d6 > +#define MSR_ARRAY_STATUS 0x000002d7 > #define MSR_SAF_CTRL 0x000004f0 > > #define SCAN_NOT_TESTED 0 > @@ -146,6 +148,9 @@ > #define IFS_TYPE_SAF 0 > #define IFS_TYPE_ARRAY_BIST 1 > > +#define ARRAY_GEN_0 0 > +#define ARRAY_GEN_1 1 Thank you for your contribution. I've applied this series to my local review-ilpo branch. I ended up renaming these defines ARRAY_GEN_* -> ARRAY_GEN* to make them more consistent. -- i.