** Description changed:

  SRU Justification
  
  [Impact]
+ 
+ Intel has introduced support for their new Emerald Rapids CPU.
+ This support is a nice feature to have in Jammy because it is an LTS release 
and enabling extra hardware adds to its usability.
+ 
  Usually backporting new features to existing kernels it's not a common 
practice.
- But these commits were easy to pick. Some of the commits were already applied.
- More information about backporting these commits is addressed inline.
+ But these commits were easy to backport. Most of them were clean cherry 
picks. Some of them were already picked up from upstream stable releases,
+ and some required manual intervention because Jammy did not have some commits 
applied but the actual changes were very minimal.
+  
+ More information about each commit is addressed inline.
  
  [Commits]
  
- 1. Add New CPU Model Number for EMR in Core Kernel: 7beade0dd41d
- Already applied to jammy. Picked up in v5.15.80 upstream stable release
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2003122
- 
- 2. Linux kernel: add EMR support to uncore-frequency driver: 9c252ecf3036
+ 1. 9c252ecf3036:
+ "platform/x86: intel-uncore-freq: add Emerald Rapids support"
  Had to adjust the path to uncore-frequency.c
  In ce2645c458b5c83b0872ea9e39d2c3293445353a commit, this was moved to 
uncore-frequency dir
  
- 3. PMU Update to Support New EMR CPU model Number:
- 3.1 5268a2842066c227e6ccd94bac562f1e1000244f already applied from 5.15.91 
upstream https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2011467
- 3.2 5a8a05f165fb18d37526062419774d9088c2a9b9
- Small adjustment needed because saphire, raptor changes were not there.
- done in 528c9f1daf20d "perf/x86/cstate: Add SAPPHIRERAPIDS_X CPU support"
+ 2. 5a8a05f165fb18d37526062419774d9088c2a9b9
+ TODO explain 
  
- 3.3 6795e558e9cc6123c24e2100a2ebe88e58a792bc already applied from 5.15.93 
upstream
- https://bugs.launchpad.net/bugs/2012665
- 3.4 69ced4160969025821f2999ff92163ed26568f1c already applied in 5.15.91
- https://bugs.launchpad.net/bugs/2011467
+ 3. Perf RAPL PMU support on EMR: 57512b57dcfaf63c52d8ad2fb35321328cde31b0
+ Manually solved small conflicts due to missing
+ - 80275ca9e525c "perf/x86/rapl: Use standard Energy Unit for SPR Dram RAPL 
domain"
+ - 1ab28f17eeeec "perf/x86/rapl: Add support for Intel AlderLake-N"
+ - eff98a7421b3e "perf/x86/rapl: Add support for Intel Raptor Lake"
+ - f52853a668bfe "perf/x86/rapl: Add support for Intel Meteor Lake"
  
- 4. Perf RAPL PMU support on EMR: 57512b57dcfaf63c52d8ad2fb35321328cde31b0
- Manually solved small conflict due to missing 80275ca9e525c
- where a fixed DRAM domain energy unit is introduced
- TODO not sure if this one is correct.
- 
- 5. linux kernel: add EMR support to the intel_idle driver: 
74528edfbc664f9d2c927c4e5a44f1285598ed0f
+ 4. 74528edfbc664f9d2c927c4e5a44f1285598ed0f
  clean cherry-pick
  
- 6. intel-speed-select tool support for EMR: 
61f9fdcdcd01f9a996b6db4e7092fcdfe8414ad5
+ 5. 61f9fdcdcd01f9a996b6db4e7092fcdfe8414ad5
  clean cherry-pick
  
- 7. Turbostat support on EMR: 93cac4150727dae0ee89f501dd75413b88eedec0
+ 6. 93cac4150727dae0ee89f501dd75413b88eedec0
  clean cherry-pick
  
- 8. intel-RAPL drivers to support new EMR CPU model number: 
7adc6885259edd4ef5c9a7a62fd4270cf38fdbfb
+ 7. 7adc6885259edd4ef5c9a7a62fd4270cf38fdbfb
  clean cherry-pick
  
- 9. Provide accel-config for EMR : TODO userspace
-    - this is user-space code, not kernel code (accel-config seems the
-      package that we already have in lunar, sync'ed from Debian, not
-      sure if we need to provide additional changes applied or if we
-      need to backport the whole user-space package to jammy)
- 
- 10. Enable in-field Array BIST for EMR
- code is still in the process of being reviewed, we shouldn't apply/backport 
this for now
- 
- 11. CXL 1.1 Compatibility ECN
- Very big patch -- won't port it to jammy
- 
- 12. Split Lock detection change for EMR:
- d7ce15e1d4162ab5e56dead10d4ae69a6b5c8ee8 linux-next
- Had to apply the following:
- - 727209376f499 x86/split_lock: Add sysctl to control the misery mode
- - b041b525dab95 x86/split_lock: Make life miserable for split lockers
- - 054ed6349c1bd Documentation/x86: Update split lock documentation
- And manually solved a conflict due to missing:
- - d3287fb0d3c8a x86/microcode/intel: Expose collect_cpu_info_early() for IFS
- - 3f2adf00f52b5 x86/cpu: Use MSR_IA32_MISC_ENABLE constants
- - ef79970d7ccdc x86/split-lock: Remove unused TIF_SLD bit
- 
- which are just small improvements and not critical.
- TODO more explanation here
- 
- 13. Add Emerald Rapids CPU model number ID for EDAC driver support: 
e4b2bc6616e21
+ 8. e4b2bc6616e21
  clean cherry-pick
  
- Testing:
- Kernel was built on cbd. roxanan-jammy-cd5956c49599-A3Ur
  
- Regression potential
- Very very low, these are new features, nothing to regress here.
+ [Testing]
+ Kernel was built on cbd and boot tested on a VM.
+ TODO ask for help from intel.
+ 
+ [Regression potential]
+ Very low, these are minimal new features, which actually reuse a lot of the 
existing cpu structures/functions. 
+ 
+ 
+ ------------------------------------------------------------------------
+ 
+ The following changes since commit
+ 4f9b8d032dc91e32d562bb8253097dc9af920269
+ 
+ "platform/x86: intel-uncore-freq: add Emerald Rapids support"
+ 
+ are available in the Git repository at:
+ 
+   git://git.launchpad.net/~~roxanan/ubuntu/+source/linux/+git/jammy
+ 2015372
+ 
+ for you to fetch changes up to commit
+ 8491ea154755d2c8ce59e7e4b9091baa3baef2c5
+ 
+ "EDAC/i10nm: Add Intel Emerald Rapids server support"

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2015372

Title:
  Add support for intel EMR cpu

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Jammy:
  New

Bug description:
  SRU Justification

  [Impact]

  Intel has introduced support for their new Emerald Rapids CPU.
  This support is a nice feature to have in Jammy because it is an LTS release 
and enabling extra hardware adds to its usability.

  Usually backporting new features to existing kernels it's not a common 
practice.
  But these commits were easy to backport. Most of them were clean cherry 
picks. Some of them were already picked up from upstream stable releases,
  and some required manual intervention because Jammy did not have some commits 
applied but the actual changes were very minimal.
   
  More information about each commit is addressed inline.

  [Commits]

  1. 9c252ecf3036:
  "platform/x86: intel-uncore-freq: add Emerald Rapids support"
  Had to adjust the path to uncore-frequency.c
  In ce2645c458b5c83b0872ea9e39d2c3293445353a commit, this was moved to 
uncore-frequency dir

  2. 5a8a05f165fb18d37526062419774d9088c2a9b9
  TODO explain 

  3. Perf RAPL PMU support on EMR: 57512b57dcfaf63c52d8ad2fb35321328cde31b0
  Manually solved small conflicts due to missing
  - 80275ca9e525c "perf/x86/rapl: Use standard Energy Unit for SPR Dram RAPL 
domain"
  - 1ab28f17eeeec "perf/x86/rapl: Add support for Intel AlderLake-N"
  - eff98a7421b3e "perf/x86/rapl: Add support for Intel Raptor Lake"
  - f52853a668bfe "perf/x86/rapl: Add support for Intel Meteor Lake"

  4. 74528edfbc664f9d2c927c4e5a44f1285598ed0f
  clean cherry-pick

  5. 61f9fdcdcd01f9a996b6db4e7092fcdfe8414ad5
  clean cherry-pick

  6. 93cac4150727dae0ee89f501dd75413b88eedec0
  clean cherry-pick

  7. 7adc6885259edd4ef5c9a7a62fd4270cf38fdbfb
  clean cherry-pick

  8. e4b2bc6616e21
  clean cherry-pick

  
  [Testing]
  Kernel was built on cbd and boot tested on a VM.
  TODO ask for help from intel.

  [Regression potential]
  Very low, these are minimal new features, which actually reuse a lot of the 
existing cpu structures/functions. 

  
  ------------------------------------------------------------------------

  The following changes since commit
  4f9b8d032dc91e32d562bb8253097dc9af920269

  "platform/x86: intel-uncore-freq: add Emerald Rapids support"

  are available in the Git repository at:

    git://git.launchpad.net/~~roxanan/ubuntu/+source/linux/+git/jammy
  2015372

  for you to fetch changes up to commit
  8491ea154755d2c8ce59e7e4b9091baa3baef2c5

  "EDAC/i10nm: Add Intel Emerald Rapids server support"

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to