Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-679

general/memory/config testcase nopti_noibrs_noibpb fails in rhel7 when spectre_v2 is auto due to ibrs_enhanced being enabled

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      This is a clone of https://gitlab.cee.redhat.com/kernel-qe/kernel/-/issues/119 after the failing test was moved to the public repo. Already existing MR will be migrated to the public GitLab instance.


      Beaker job: https://beaker.engineering.redhat.com/recipes/16148150#task177753792
      Failing test case: general/memory/config/testcase/cmdline/nopti_noibrs_noibpb.sh

      From resultoutput.log:

      :: [ 19:15:42 ] :: [ FAIL ] :: ibrs_enabled should be 0 (Assert: '4' should equal '0')
      

      DataWarehouse issue: https://datawarehouse.cki-project.org/issue/2758

      Additional details

      This testcase expects debugfs /sys/kernel/debug/x86/ibrs_enabled to be 0 after adding kernel parameter noibrs and rebooting. But the spectre_v2 mitigation selection automatically enables ibrs_enhanced if spectre_v2 kernel param is set to auto (the case by default). See function __spectre_v2_select_mitigation.
      This means that ibrs_enabled debugfs file will read '4' when this test case is run with cmdline noibrs and spectre_v2 parameter set to auto.

              rhn-support-jguisado Jose Guisado Gomez
              rhn-support-jguisado Jose Guisado Gomez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: