Public bug reported:

Description:   kernel: s390/cpum_cf: make crypto counters upward
compatible

Symptom:       The CPU Measurement facility crypto counter set is not
               listed in the device sysfs tree.  

Problem:       The CPU Measurement facility crypto counter set is not
               exported in the sysfs directory
               /sys/devices/cpum_cf/events.
               The attribute files for each CPU-MF counter defined
               in the crypto counter set is missing. This is caused
               by the counter second version number of the CPU
               Measurement Facility hardware being incremented on
               new machines.  This causes a sanity check to fail,
               but the counters are supported by hardware.

Solution:      Remove upper limit in counter second version number
               check.

Reproduction:  Run command on a new machine generation:
                # ls -l /sys/devices/cpum_cf/events/ | grep AES
                # 
               If the output is empty than this patch is required.
               The output should be:
                # ls  /sys/devices/cpum_cf/events/ | grep AES
                AES_BLOCKED_CYCLES
                AES_BLOCKED_FUNCTIONS
                AES_CYCLES
                AES_FUNCTIONS
                #

Upstream-ID of fix:   f10933cbd2dfddf6273698a45f76db9bafd8150f

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Skipper Bug Screeners (skipper-screen-team)
         Status: New


** Tags: architecture-s39064 bugnameltc-207993 severity-high 
targetmilestone-inin---

** Tags added: architecture-s39064 bugnameltc-207993 severity-high
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)

** Package changed: ubuntu => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2074380

Title:
  [UBUNTU 22.04] kernel: s390/cpum_cf: make crypto counters upward
  compatible

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2074380/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to