Skip to content
Commit 18d44f23 authored by James Morse's avatar James Morse
Browse files

fixup for ACPI / PPTT: cacheinfo: Label caches based on fw_token



While the PROCESSOR_ID_VALID flag can't be relied on to indicate
the acpi_processor_id field is valid, they aren't _all_ vaild, only
the leaves.

This patch restores the leaf check from the (leaf && valid_flag)
check that was over-zealously removed.

This stops us taking the lowest uninitialsed value (usually 0) in
the intermediate PPTT nodes as being the id for the chhce.

Reported-by: default avatarShameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com>
Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent 680f0e2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment