Re: [PATCH 00/12] DT: CPU h/w id parsing clean-ups and cacheinfo id support

From
Florian Fainelli <f.fainelli@gmail.com>
Date
2021-10-07 02:25:14
Also in
linux-arm-kernel, linux-devicetree, linux-riscv, linux-sh, lkml
Reply to
Rob Herring, 2021-10-06

On 10/6/2021 9:43 AM, Rob Herring wrote:
The first 10 patches add a new function, of_get_cpu_hwid(), which parses
CPU DT node 'reg' property, and then use it to replace all the open
coded versions of parsing CPU node 'reg' properties.

The last 2 patches add support for populating the cacheinfo 'id' on DT
platforms. The minimum associated CPU hwid is used for the id. The id is
optional, but necessary for resctrl which is being adapted for Arm MPAM.

Tested on arm64. Compile tested on arm, x86 and powerpc.
On ARM and ARM64:

Tested-by: Florian Fainelli <f.fainelli@gmail.com>

lscpu -C continues to work on ARM64 as before with cache properties provided in the FDT.
-- 
Florian
Thread (29 messages) 29 messages, 9 authors, last reply 2021-10-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help