** Description changed:

  [Impact]
  
  linux-nvidia-7.3 carries an early version of the
  cppc_cpufreq.auto_sel_mode boot parameter as SAUCE (LP: #2131705).
  Upstream has accepted a reworked version for 7.5, along with changes that
  restore OS-written CPPC registers (autonomous selection, EPP, min/max
  performance) after CPU hotplug and resume. Without those, these settings
  can be lost when a CPU goes offline or the system resumes.
  The series also adds a cpufreq ospm_nominal_freq attribute for the ACPI
  6.6 OSPM Nominal Performance register; current Vera and Spark firmware
  does not implement it, so the attribute returns EOPNOTSUPP there.
  
  7.3 also lacks the CPPC fixes from the 7.4 merge window: _CPC
  validation, PCC update serialisation, CPC descriptor lifetime, and
  Performance Limited handling on NVIDIA T41 (Vera).
  
  auto_sel_mode now takes a mode name (disabled, performance,
  balance_performance, balance_power, power, default_epp). The old
  auto_sel_mode=1 is ignored with a warning; use auto_sel_mode=performance.
  
  [Fix]
  
  Revert the SAUCE patch:
  
    NVIDIA: SAUCE: cpufreq: CPPC: add autonomous mode boot parameter
  support
  
  Cherry-pick from mainline:
  
    fb345025f161 ACPI: CPPC: Validate the _CPC package header
    32299b29a887 ACPI: CPPC: Validate _CPC entry and control semantics
    3685d9829c71 ACPI: CPPC: Propagate performance-control write errors
    50affbde6410 ACPI: CPPC: Serialize PCC single-register payload updates
    76e6914a843e ACPI: CPPC: Serialize PCC EPP payload updates
    27954e29d7de ACPI: CPPC: Release CPC descriptors through kobject
    968e29db97bb ACPI: CPPC: Release PCC data after probe failures
    2221dc547b38 ACPI: CPPC: Reject unsafe cross-CPU SystemMemory RMW
    09d911c99663 ACPI: CPPC: Reject direct reads of write-only controls
    fd1bb9a6cb1f ACPI: CPPC: Validate and access PCC register layouts
    ea5ed1f82e22 ACPI: CPPC: Validate SystemIO register layouts
    908a87126a7e ACPI: CPPC: Validate PCC overlaps across processors
    3051865865a8 ACPI: CPPC: Validate SystemIO overlaps across processors
    a97aaf2aedae ACPI: CPPC: Clear Performance Limited without a stale read
    487d1ad7535e ACPI: CPPC: Keep Performance Limited clearable on NVIDIA T41
    6b016c5c9644 ACPI: CPPC: Validate FFH register fields before hardware access
    36e96b469da2 ACPI: CPPC: Propagate errors from cross-CPU FFH calls
    4bcc60d326c5 ACPI: CPPC: Accept requests to retain immutable autonomous 
selection
    21e018235d99 cpufreq: CPPC: Select the frequency-invariance callback per CPU
    995e7d468070 cpufreq: CPPC: Create the FIE worker before enabling PCC 
callbacks
+   e6f50e602e37 cpufreq: Hold the policy write lock when changing boost state
  
  Cherry-pick from linux-next:
  
    21a4b625f449 ACPI: CPPC: Order performance-control updates
    2f1583ed5955 cpufreq: CPPC: Keep the policy across CPU hotplug
    ccd739c4a6f8 ACPI: CPPC: Make autonomous selection helpers take a u64
    e921207c4f94 cpufreq: CPPC: Preserve OSPM-set registers across hotplug and 
unload
    22f2a52b46d5 cpufreq: CPPC: Preserve OSPM-set registers across 
suspend/resume
    697bcc5b7c3c ACPI: CPPC: Add ospm_nominal_perf support
    f65cb2edd139 cpufreq: CPPC: Add ospm_nominal_freq attribute
    d2c6f15e2192 cpufreq: CPPC: Reflect the OSPM nominal in boost and limits
    7cca01c39cc8 cpufreq: CPPC: Set CPPC Enable register in cpu_init()
  
  Cherry-pick from linux-pm:
  
    a11a42dc8ad4 cpufreq: CPPC: Program policy limits during initialization
    f69bf9e54e11 cpufreq: CPPC: Add autonomous mode boot parameter support
    7aca8e31a8fb ACPI: CPPC: Reject EPP registers narrower than 8 bits
  
  [Test]
  
  On Vera, DGX Spark and RTX Spark: every auto_sel_mode value; reads,
  writes and restore of the CPPC sysfs attributes across CPU hotplug and
  module reload (and suspend on the Sparks); and a 300 s race of hotplug
  against sysfs writes. No failures or kernel warnings.

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

Title:
  [linux-nvidia-7.3]: Replace the CPPC autonomous mode SAUCE with the
  upstream series and backport CPPC fixes

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


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

Reply via email to