Hello,
I saw that you marked the discussion as "Solved".
Most likely, the "ACPI: Invalid _PCT data" error message is caused by the ACPI subsystem (in your computer's firmware/BIOS).
This is the kernel function involved:
You may also play around with ACPI* kernel parameters to find one that fits your need, if any:Hope this helps.
I saw that you marked the discussion as "Solved".
Most likely, the "ACPI: Invalid _PCT data" error message is caused by the ACPI subsystem (in your computer's firmware/BIOS).
This is the kernel function involved:
- static int acpi_processor_get_performance_control(struct acpi_processor *pr)
Code:
[..]static int acpi_processor_get_performance_control(struct acpi_processor *pr){int result = 0;acpi_status status = 0;struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };union acpi_object *pct = NULL;union acpi_object obj = { 0 };status = acpi_evaluate_object(pr->handle, "_PCT", NULL, &buffer);if (ACPI_FAILURE(status)) {acpi_evaluation_failure_warn(pr->handle, "_PCT", status);return -ENODEV;}pct = (union acpi_object *)buffer.pointer;if (!pct || (pct->type != ACPI_TYPE_PACKAGE) || (pct->package.count != 2)) {pr_err("Invalid _PCT data\n");result = -EFAULT;goto end;}/* * control_register */obj = pct->package.elements[0];if ((obj.type != ACPI_TYPE_BUFFER) || (obj.buffer.length < sizeof(struct acpi_pct_register)) || (obj.buffer.pointer == NULL)) {pr_err("Invalid _PCT data (control_register)\n");result = -EFAULT;goto end;}memcpy(&pr->performance->control_register, obj.buffer.pointer, sizeof(struct acpi_pct_register));/* * status_register */obj = pct->package.elements[1];if ((obj.type != ACPI_TYPE_BUFFER) || (obj.buffer.length < sizeof(struct acpi_pct_register)) || (obj.buffer.pointer == NULL)) {pr_err("Invalid _PCT data (status_register)\n");result = -EFAULT;goto end;}memcpy(&pr->performance->status_register, obj.buffer.pointer, sizeof(struct acpi_pct_register));end:kfree(buffer.pointer);return result;}[..]
You may also play around with ACPI* kernel parameters to find one that fits your need, if any:Hope this helps.
Statistics: Posted by Aki — 2024-07-12 15:55