Skip to content

Add Array BIST test support to IFS

Jithu Joseph linux-patches lkml platform-driver-x86 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest9 patches 2 repliesIn review
  2. v38 patches 19 repliesSuperseded
  3. v27 patches 18 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches15 repliesSuperseded

Changes in v4 from the cover letter

- Hans de Goede
- Separate patch 1/9 (Separate ifs_pkg_auth) from reorganize driver data patch
- Rework patch 2/9 (Reorganize driver data) to define const ifs_test_caps struct and associate its pointer to miscdevice and to remove dynamic allocation for ifs_data as was done in v3
- Move load check from run_test_store to do_core_test()
- Expand ABI doc to qualify which devices support which attribrutes and the device instance to test mapping

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9platform/x86/intel/ifs: Separate ifs_pkg_auth from ifs_datadrivers/platform/x86/intel/ifs/core.c drivers/platform/x86/intel/ifs/ifs.h drivers/platform/x86/intel/ifs/load.c+10 -90 replies
2/9platform/x86/intel/ifs: Reorganize driver datadrivers/platform/x86/intel/ifs/core.c drivers/platform/x86/intel/ifs/ifs.h drivers/platform/x86/intel/ifs/load.c+25 -120 replies
3/9platform/x86/intel/ifs: IFS cleanupdrivers/platform/x86/intel/ifs/core.c drivers/platform/x86/intel/ifs/ifs.h drivers/platform/x86/intel/ifs/sysfs.c+5 -120 replies
4/9x86/include/asm/msr-index.h: Add IFS Array test bitsarch/x86/include/asm/msr-index.h+2 -00 replies
5/9platform/x86/intel/ifs: Introduce Array Scan test to IFSdrivers/platform/x86/intel/ifs/core.c drivers/platform/x86/intel/ifs/ifs.h+50 -180 replies
6/9platform/x86/intel/ifs: Sysfs interface for Array BISTdrivers/platform/x86/intel/ifs/core.c drivers/platform/x86/intel/ifs/ifs.h drivers/platform/x86/intel/ifs/runtest.c +1 more+24 -60 replies
7/9platform/x86/intel/ifs: Implement Array BIST testdrivers/platform/x86/intel/ifs/ifs.h drivers/platform/x86/intel/ifs/runtest.c+93 -00 replies
8/9platform/x86/intel/ifs: Update IFS docdrivers/platform/x86/intel/ifs/ifs.h+14 -110 replies
9/9Documentation/ABI: Update IFS ABI docDocumentation/ABI/testing/sysfs-platform-intel-ifs+14 -30 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchTony LuckHans de GoedePengfei Xu
SeriesT-b
1/9R-b
2/9R-b
3/9R-b R-b
4/9R-b R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/9] Add Array BIST test support to IFS

Changes in v4
- Hans de Goede
- Separate patch 1/9 (Separate ifs_pkg_auth) from reorganize driver data patch
- Rework patch 2/9 (Reorganize driver data) to define const ifs_test_caps struct and associate its pointer to miscdevice and to remove dynamic allocation for ifs_data as was done in v3
- Move load check from run_test_store to do_core_test()
- Expand ABI doc to qualify which devices support which attribrutes and the device instance to test mapping

V3 submission:

Changes in v3
- GregKH
- Separating read-only fields from rw fields in
struct ifs_device (patch 1/8)
- Remove the subdirectory intel_ifs/<n> for devicenode (patch 2/8)
- Replaced an enum with #define (patch 4/8)
- Dave Hansen
- Remove tracing patch
- ifs_array_test_core() (patch 6/8)
- fix an initialization bug
- other suggested changes
- Use basic types in ifs_array for first two fields. (kept the union to avoid type castings)

v2 submission:

Changes in v2
- remove duplicate initializations from ifs_array_test_core() (Dave Hansen, patch 4/7)
- remove bit parsing from tracing fast path to tracing output (Steven Rostedt, patch 5/7)
- move "ATTRIBUTE_GROUPS(plat_ifs_array)" to core.c and remove exporting function ifs_get_array_groups() (Greg KH, patch 3/7)
- Generalized doc and ABI doc (Greg KH, patches 6/7 and 7/7)

v1 submission:

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 (9):
platform/x86/intel/ifs: Separate ifs_pkg_auth from ifs_data platform/x86/intel/ifs: Reorganize driver data platform/x86/intel/ifs: IFS cleanup 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: Update IFS doc Documentation/ABI: Update IFS ABI doc

 arch/x86/include/asm/msr-index.h              |  2 +
 drivers/platform/x86/intel/ifs/ifs.h          | 68 ++++++++++----
 drivers/platform/x86/intel/ifs/core.c         | 81 +++++++++++-----
 drivers/platform/x86/intel/ifs/load.c         |  9 +-
 drivers/platform/x86/intel/ifs/runtest.c      | 94 ++++++++++++++++++-
 drivers/platform/x86/intel/ifs/sysfs.c        | 21 ++---
 .../ABI/testing/sysfs-platform-intel-ifs      | 17 +++-
 7 files changed, 229 insertions(+), 63 deletions(-)

base-commit: e8d018dd0257f744ca50a729e3d042cf2ec9da65

Signature · 1 line
2.25.1