Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • linux-vf linux-vf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-vflinux-vf
  • Repository
Switch branch/tag
  • linux-vf
  • tools
  • testing
  • selftests
  • arm64
  • mte
  • Makefile
Find file BlameHistoryPermalink
  • Vincenzo Frascino's avatar
    kselftest/arm64: Check GCR_EL1 after context switch · 725d39a7
    Vincenzo Frascino authored Oct 08, 2020
    
    
    This test is specific to MTE and verifies that the GCR_EL1 register
    is context switched correctly.
    
    It spawns 1024 processes and each process spawns 5 threads. Each thread
    writes a random setting of GCR_EL1 through the prctl() system call and
    reads it back verifying that it is the same. If the values are not the
    same it reports a failure.
    
    Note: The test has been extended to verify that even SYNC and ASYNC mode
    setting is preserved correctly over context switching.
    
    Signed-off-by: Vincenzo Frascino's avatarVincenzo Frascino <vincenzo.frascino@arm.com>
    Signed-off-by: default avatarAndrey Konovalov <andreyknvl@google.com>
    Acked-by: Catalin Marinas's avatarCatalin Marinas <catalin.marinas@arm.com>
    ---
    Change-Id: Ia917684a2b8e5f29e705ca5cbf360b010df6f61e
    725d39a7