SRU:
* https://lists.ubuntu.com/archives/kernel-team/2024-March/149332.html (noble)
* 
https://kernel.ubuntu.com/gitea/kernel/noble-linux-unstable/src/branch/vicamo/bug-2049793-mtl-sysfs-cacheinfo
 (unstable, to create pull request once branch sync is done)

** Description changed:

+ [SRU Justification]
+ 
+ [Impact]
+ 
+ The interface /sys/devices/system/cpu/cpuX/cache is broken (not populated) if
+ CPUs have different numbers of subleaves in CPUID 4. This is the case of Intel
+ Meteor Lake.
+ 
+ [Fix]
+ 
+ 
https://lore.kernel.org/all/[email protected]/
+ Reviewed, but probably will only land in v6.9.
+ 
+ [Test Case]
+ 
+ Check existence of cpu cache info:
+ 
+   $ ls /sys/devices/system/cpu/cpu0/cache/
+   index0 index1 index2 index3 uevent
+ 
+ [Where problems could occur]
+ 
+ This populates sysfs entries that should have been available, not
+ something new or alters existing interface.
+ 
+ [Other Info]
+ 
+ While this is targets v6.8 for Intel LPMD (Low Power Model Daemon)'s
+ use, only Noble and Unstable will be nominated for fix.
+ 
+ ========== original bug report ==========
+ 
  [Description]
-   The interface /sys/devices/system/cpu/cpu*/cache is empty. In Meteorlake, 
not all CPUs have the same number of subleaves in the CPUID 4 leaf. The compute 
die CPUs have 3 subleaves whereas the CPUs in the SoC die have 2. This problem 
happens because Linux assumes that all CPUs have the same number of subleaves.
+   The interface /sys/devices/system/cpu/cpu*/cache is empty. In Meteorlake, 
not all CPUs have the same number of subleaves in the CPUID 4 leaf. The compute 
die CPUs have 3 subleaves whereas the CPUs in the SoC die have 2. This problem 
happens because Linux assumes that all CPUs have the same number of subleaves.
  
  [Hardware Information]
-   Architecture:
-     Intel / AMD (x86_64)
-   Platform(s):
-     Meteor Lake
-   Date HW is expected at Canonical:
-     
-   Component(s):
-     x86
+   Architecture:
+     Intel / AMD (x86_64)
+   Platform(s):
+     Meteor Lake
+   Date HW is expected at Canonical:
+ 
+   Component(s):
+     x86
  
  [Software Information]
-   Target Version:
-     24.04
-   Target Kernel:
-     6.8
-   Commit IDs:
-     TBD
-   External Links:
-     
https://lore.kernel.org/all/[email protected]/
+   Target Version:
+     24.04
+   Target Kernel:
+     6.8
+   Commit IDs:
+     TBD
+   External Links:
+     
https://lore.kernel.org/all/[email protected]/
  
  [Business Justification]
-   
  
  [Testing guidance]
-   
  
  [External ID]
-   LFE-6901
+   LFE-6901

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

Title:
  [MTL] x86: Fix Cache info sysfs is not populated

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/2049793/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to