Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • include
  • acpi
  • cppc_acpi.h
Find file BlameHistoryPermalink
  • Mario Limonciello's avatar
    ACPI: CPPC: Don't require _OSC if X86_FEATURE_CPPC is supported · 8b356e53
    Mario Limonciello authored Jul 05, 2022
    commit 72f2ecb7 ("ACPI: bus: Set CPPC _OSC bits for all and
    when CPPC_LIB is supported") added support for claiming to
    support CPPC in _OSC on non-Intel platforms.
    
    This unfortunately caused a regression on a vartiety of AMD
    platforms in the field because a number of AMD platforms don't set
    the `_OSC` bit 5 or 6 to indicate CPPC or CPPC v2 support.
    
    As these AMD platforms already claim CPPC support via a dedicated
    MSR from `X86_FEATURE_CPPC`, use this enable this feature rather
    than requiring the `_OSC` on platforms with a dedicated MSR.
    
    If there is additional breakage on the shared memory designs also
    missing this _OSC, additional follow up changes may be needed.
    
    Fixes: 72f2ecb7
    
     ("Set CPPC _OSC bits for all and when CPPC_LIB is supported")
    Reported-by: default avatarPerry Yuan <perry.yuan@amd.com>
    Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    8b356e53
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7