• Jinzhou Su's avatar
    ACPI: CPPC: Add CPPC enable register function · fb0b00af
    Jinzhou Su authored
    Add a new function to enable CPPC feature. This function
    will write Continuous Performance Control package
    EnableRegister field on the processor.
    
    CPPC EnableRegister register described in section 8.4.7.1 of ACPI 6.4:
    This element is optional. If supported, contains a resource descriptor
    with a single Register() descriptor that describes a register to which
    OSPM writes a One to enable CPPC on this processor. Before this register
    is set, the processor will be controlled by legacy mechanisms (ACPI
    Pstates, firmware, etc.).
    
    This register will be used for AMD processors to enable AMD P-State
    function instead of legacy ACPI P-States.
    Signed-off-by: default avatarJinzhou Su <Jinzhou.Su@amd.com>
    Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    fb0b00af
cppc_acpi.c 42.8 KB