Public bug reported: BugLink:
[ Impact ] There are Zen 6 platforms that don't support idle mask in scratch register. In that case, amd_pmc/amd_pmc_idlemask under debugfs should not be populated. [ Fix ] Cherry-pick the following patch: - [PATCH 0/2] Drop scratch register for 0x1a/0x80[1] This has been picked up in maintainer's local branch, but hasn't propagate to platform-x86-drivers and linux-next. [ Test plan ] Boot into the said platform, and look into /sys/kernel/debug/amd_pmc/. amd_pmc_idlemask should not show up. [ Where problems could occur ] This change should impact amd_1ah_m80_cpu_info platforms only, so existing platforms shouldn't get impacted. If there are tools making assumption that amd_pmc/amd_pmc_idlemask always exists, they needs to adjust accordingly to continue to work on Zen 6 platforms. [ Additional information ] [1] https://lore.kernel.org/platform- driver-x86/[email protected]/ ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: originate-from-2169613 ** Tags added: originate-from-2169613 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2169675 Title: [SRU] Drop Zen 6 scratch register read for s0i3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2169675/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
