Home | History | Annotate | Download | only in kernel_CheckArmErrata
      1 # Copyright 2016 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 NAME = "kernel_CheckArmErrata"
      6 AUTHOR = "The Chromium OS Authors"
      7 PURPOSE = "Check that ARM errata was applied"
      8 CRITERIA = """
      9     Fails if we detect that we're on a CPU that should have an erratum
     10     fix applied but we can detect that the erratum wasn't applied.
     11     Tests here are focused on errata that are quick to check for.  This
     12     test can also fail if we don't detect the needed kernel infrastructure
     13     for testing for the errata.
     14 """
     15 TIME = "SHORT"
     16 ATTRIBUTES = "suite:kernel_per-build_regression"
     17 TEST_CATEGORY = "Functional"
     18 TEST_CLASS = "kernel"
     19 TEST_TYPE = "client"
     20 
     21 DOC = """
     22     This test will look at /proc/cpuinfo and determine if we're on a CPU
     23     with known errata.  It will then attempt to confirm (perhaps by using
     24     /sys/kernel/debug/arm_coprocessor_debug) that the errata fixes are present.
     25 
     26     If we detect that we're not on an ARM board or if we're running on an ARM
     27     core that we know of no errata for, this test will pass.
     28 """
     29 
     30 job.run_test("kernel_CheckArmErrata")
     31