aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2021-12-24 09:04:58 +0800
committerRafael J. Wysocki <[email protected]>2021-12-30 18:51:39 +0100
commit2aeca6bd02776d7f56a49a32be0dd184f204d888 (patch)
tree5e1ef5729753f98e1fd141a155a79150ecd35c3c /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parenta2c8f92bea5f8f1a87fc3caf063d67876dbf5d47 (diff)
ACPI: CPPC: Check present CPUs for determining _CPC is valid
As this is a static check, it should be based upon what is currently present on the system. This makes probeing more deterministic. While local APIC flags field (lapic_flags) of cpu core in MADT table is 0, then the cpu core won't be enabled. In this case, _CPC won't be found in this core, and return back to _CPC invalid with walking through possible cpus (include disable cpus). This is not expected, so switch to check present CPUs instead. Reported-by: Jinzhou Su <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Huang Rui <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions