soc/intel: drop P_BLK support
P_BLK is legacy and superseded by ACPI _CST. Also, the implementation for most platforms in soc/intel is broken. Thus, drop it. For APL the IO redirection is kept since it's used as replacement for the broken MWAIT instructions. Change-Id: I489aa7886dd9a4c1e6c12542bc2a1feba245ec36 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58096 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
@@ -272,17 +272,11 @@ static void generate_p_state_entries(int core, int cores_per_package)
|
||||
void generate_cpu_entries(const struct device *device)
|
||||
{
|
||||
int core;
|
||||
int pcontrol_blk = get_pmbase(), plen = 6;
|
||||
const struct pattrs *pattrs = pattrs_get();
|
||||
|
||||
for (core = 0; core < pattrs->num_cpus; core++) {
|
||||
if (core > 0) {
|
||||
pcontrol_blk = 0;
|
||||
plen = 0;
|
||||
}
|
||||
|
||||
/* Generate processor \_SB.CPUx */
|
||||
acpigen_write_processor(core, pcontrol_blk, plen);
|
||||
acpigen_write_processor(core, 0, 0);
|
||||
|
||||
/* Generate P-state tables */
|
||||
generate_p_state_entries(core, pattrs->num_cpus);
|
||||
|
Reference in New Issue
Block a user