Replies: 15 comments 25 replies
-
Sure, I will need the following output to verify how CPPC has been discovered.
|
Beta Was this translation helpful? Give feedback.
-
Using commit deee601 we will now track the BIOS support of _CPC disabled_CPC enabled but another feature ..._CPC enabled without any feature preventing Firmware |
Beta Was this translation helpful? Give feedback.
-
Zen2/LucienneThis Initial state as disabled_thus CPC does not matter in this case Request to enable CPPCCPPC activated |
Beta Was this translation helpful? Give feedback.
-
Holy crap, god bless you. My BIOS does not have any setting for X2APIC/Local APIC, sadly ;-; (ASRock B450M Steel Legend) Do you know of any other names for this setting? |
Beta Was this translation helpful? Give feedback.
-
I just tried the Live ISO and it works. It is just an issue with my kernel, I have linux-cachyos-bore with the amd_pstate_epp patches so that's the problem. |
Beta Was this translation helpful? Give feedback.
-
Looking at kernel, Patch has changed code as below: static int cppc_get_perf(int cpunum, enum cppc_regs reg_idx, u64 *perf)
{
struct cpc_desc *cpc_desc = per_cpu(cpc_desc_ptr, cpunum);
struct cpc_register_resource *reg;
int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpunum);
struct cppc_pcc_data *pcc_ss_data = NULL;
int ret = -EINVAL;
if (!cpc_desc) {
pr_debug("No CPC descriptor for CPU:%d\n", cpunum);
return -ENODEV;
}
reg = &cpc_desc->cpc_regs[reg_idx];
if (CPC_IN_PCC(reg)) {
if (pcc_ss_id < 0)
return -EIO;
pcc_ss_data = pcc_data[pcc_ss_id];
down_write(&pcc_ss_data->pcc_lock);
if (send_pcc_cmd(pcc_ss_id, CMD_READ) >= 0)
cpc_read(cpunum, reg, perf);
else
ret = -EIO;
up_write(&pcc_ss_data->pcc_lock);
return ret;
}
cpc_read(cpunum, reg, perf);
return ret;
}
I can change CoreFreq to handle |
Beta Was this translation helpful? Give feedback.
-
Based on your indication, I have search and found this patch
If all theses changes are going into future mainstream 6.1 or later versions, it's worth working on CoreFreq driver adaptions when release candidates will show up. EDIT: See below for the committed workaround |
Beta Was this translation helpful? Give feedback.
-
Meanwhile I have made a working fix for |
Beta Was this translation helpful? Give feedback.
-
Commit 6b80b85 is adding the support of the build directive You should now be able to run CoreFreq with no change in your kernel setup. |
Beta Was this translation helpful? Give feedback.
-
Please come back here if you are aware of any change in this CPPC lib implementation. |
Beta Was this translation helpful? Give feedback.
-
@gel-crabs Hello,
Usually when a driver has dependencies, it has to be specified. But here, none. |
Beta Was this translation helpful? Give feedback.
-
Since commit 80d6e11 HWP or CPPC capabilities are refactored to print values per CPU Intel Hardware HWPBefore enabling HWPHWP enabledRemark (EDIT)
AMD Firmware CPPC
Remarks
Please try and let me know ... |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
TODO when those get merged into kernel:
Will impact this line: Line 3911 in 6a4b450 |
Beta Was this translation helpful? Give feedback.
-
Since kernel
|
Beta Was this translation helpful? Give feedback.
-
Hello, I have a Ryzen 5 5600X and I am unable to enable CPPC (CPPC/CPPC-PC is enabled in BIOS). acpi_cppc gives the preferred cores information however. I've gathered that the MSRs are not known for this model of CPU; is there any way I can help? I would be glad to provide any information.
Beta Was this translation helpful? Give feedback.
All reactions