Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ISA Compliance & Testing Strategy

💬 Discuss Testing: Join #powercommons:matrix.org to discuss ISA compliance testing strategies, share test results, and collaborate on verification efforts.

When Compliance Testing Happens

Location: WS9 (Integration & Verification)
Timing: Weeks 36-56 of project
Duration: 20 weeks

Week 36-40: Initial test runs, identify failures
Week 41-48: Fix bugs, iterative re-testing  
Week 49-52: Final verification, achieve 100% pass
Week 53-56: Linux validation, certification

Test Suites

1. OpenPOWER ISA Compliance Tests

  • Source: https://github.com/OpenPOWER-Foundation
  • Coverage: Book I (user), Book II (virtual), Book III (privileged)
  • Purpose: Official ISA certification

2. Linux Test Project (LTP)

  • Purpose: OS-level ISA validation
  • Tests: System calls, threading, signals

3. glibc Test Suite

  • Purpose: Validate VMX/VSX usage in standard library
  • Critical for: LCS compliance

4. KVM Selftests

  • Purpose: Hypervisor functionality
  • Tests: Guest isolation, nested paging

Testing Platforms

PlatformWhen AvailablePurpose
RTL SimulationWeek 1+Early testing, detailed debug
FPGA EmulationWeek 20+Faster testing, pre-silicon validation
SiliconPost tape-outFinal validation, performance

Test Execution Process

Phase 1: Discovery (Weeks 36-40)

  1. Run full compliance suite on all platforms
  2. Categorize failures by workstream
  3. Assign to responsible teams

Phase 2: Resolution (Weeks 41-48)

  1. Fix bugs in parallel
  2. Re-test incrementally
  3. Track pass rate improvement
  4. Target: 95%+ pass rate

Phase 3: Certification (Weeks 49-52)

  1. Achieve 100% pass rate
  2. Document any exceptions
  3. Performance validation
  4. Generate compliance report

Phase 4: Validation (Weeks 53-56)

  1. Boot Linux distributions (Fedora, Ubuntu)
  2. Run application workloads
  3. KVM multi-guest testing
  4. Final sign-off

Success Criteria

  • Pass 100% of ISA compliance tests (Book I/II/III)
  • Boot unmodified Linux distributions
  • KVM functional with multi-threaded guests
  • Performance within 90% of baseline

Test Coverage by Workstream

WorkstreamTests
WS1Instruction execution, encoding
WS2Hypervisor, LPAR, privilege levels
WS3Interrupts, exceptions, vectors
WS4MMU, page tables, TLB
WS5Debug facilities, breakpoints
WS6Performance counters, events
WS7VMX/VSX instructions, registers
WS8Prefixed instructions
WS9System integration, Linux boot

Detailed Test Issues

See WS9 section in WS5-WS9_Additional_Workstreams.md for:

  • Issue #371: ISA compliance test suite (30 days)
  • Issue #372: Regression suite (20 days)
  • Issue #373: Linux kernel bring-up (15 days)
  • Issue #374: Distribution testing (20 days)
  • Issue #375: KVM testing (15 days)