Skip to content

Add Sunrise Point-H support to intel_pmc_core for EEVDF, BORE and MuQSS kernels - #815

Open
angellindo wants to merge 1 commit into
omacom:masterfrom
angellindo:intel-pmc-spt-h
Open

angellindo wants to merge 1 commit into
omacom:masterfrom
angellindo:intel-pmc-spt-h

Conversation

@angellindo

@angellindo angellindo commented Oct 5, 2026 •

Copy link
Copy Markdown

On Skylake-H/Kaby Lake-H laptops with a Sunrise Point-H PCH (PMC 8086:a121), intel_pmc_core only knows the SPT-LP PMC ID (0x9d21), so spt_core_init() falls back to the Cannon Point register map meant for Coffee Lake. With the stock module, ltr_show lists Cannon Point IP names (SOUTHPORT_A, CNV, EVA, ...) and every RAW value is 0xffffffff.

This adds 0810-platform-x86-intel-pmc-sunrise-point-h.patch (two lines in core.h/spt.c) to linux-omarchy (BORE), linux-omarchy-eevdf and linux-omarchy-muqss, and bumps pkgrel 10 -> 11 in all three. linux-omarchy-bore is transitional and is not touched. (Was 0802 before the 7.2.8 rebase.)

  • Impact: diagnostics only (the intel_pmc_core debugfs files). No change to power management behaviour.
  • Upstream: https://lore.kernel.org/r/20261005-intel-pmc-spt-h-v1-1-78c98e4f4620@gmail.com (not merged yet). Drop this carry patch once it lands in a stable release.
  • Applies with patch -Np1 --fuzz=0 on 7.2.8-10 (master at 172df0f8) in all three flavors. v7.2.8 still only matches INTEL_SKYLAKE_L. makepkg validated the checksums.

Tested on a MacBookPro14,3 (i7-7820HQ, PCH-H). On 7.2.5-omarchy, with the module built with this ID:

  • ltr_show shows the Sunrise Point names and matches the raw PMC registers read through /dev/mem bit for bit;
  • pch_ip_power_gating_status follows device state (LPSS goes Off once the UART at 00:1e.0 is unbound and enters D3hot).

On 7.2.8-11, as a built and booted linux-omarchy package with this patch and #596: tainted=0, no WARN, and ltr_show lists the Sunrise Point IPs with real values.

Related: #596 (other fixes for the same machine). Independent of it. #596 uses 0809 and this uses 0810. Both bump pkgrel to 11, so whichever merges second needs a pkgrel/source=/checksum rebase.

🤖 Generated with Claude Code

…SS kernels

Skylake-H/Kaby Lake-H laptops with a Sunrise Point-H PCH (PMC 8086:a121)
fall back to the Cannon Point register map, so the intel_pmc_core debugfs
files read the wrong registers. Carry the pending upstream fix until it
lands in a stable release; v7.2.8 still matches only INTEL_SKYLAKE_L.

Link: https://lore.kernel.org/r/20261005-intel-pmc-spt-h-v1-1-78c98e4f4620@gmail.com
Signed-off-by: Angel Lindo <angellindo@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@angellindo angellindo changed the title Add Sunrise Point-H support to intel_pmc_core for base and BORE kernels Add Sunrise Point-H support to intel_pmc_core for EEVDF, BORE and MuQSS kernels Oct 22, 2026
@angellindo

Copy link
Copy Markdown
Author

Rebased onto master (7.2.8-10).

  • The patch is now 0810-platform-x86-intel-pmc-sunrise-point-h.patch. 0802 is taken on master.
  • linux-omarchy-bore is a transitional package now. The patch goes into linux-omarchy (BORE), linux-omarchy-eevdf and linux-omarchy-muqss, with pkgrel 11 in all three.
  • It applies with --fuzz=0 on all three. v7.2.8 still only matches INTEL_SKYLAKE_L, so it is still needed.

Built and booted on my MacBookPro14,3 (PMC 8086:a121) as a 7.2.8-11 package, together with #596:

  • tainted=0, no WARN;
  • ltr_show lists the Sunrise Point IPs (SOUTHPORT_A–E, SATA, GIGABIT_ETHERNET, XHCI, ME, HD_AUDIO, LPSS, ...) with real values, e.g. XHCI 0x887d, HD_AUDIO 0x88c7. On 7.2.5 without the patch it showed Cannon Point names and 0xffffffff everywhere.

Numbering: #596 takes 0809 and this takes 0810. Both add their line after 0808 and bump pkgrel to 11. Whichever merges second needs a small rebase. I built and booted both together, so the merged result is what I tested.

@greptile-apps

greptile-apps Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable defects were found.

Summary

Adds Intel PMC device 8086:a121 to the Sunrise Point match table in the base, EEVDF, and MuQSS kernel packages.

  • Sunrise Point-H laptops get the Sunrise Point PMC debugfs map.

Reviews (1) · Last reviewed commit: "Add Sunrise Point-H support to intel_pmc..." · Reviewed by Greptile

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant