]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/power turbostat: Process HT siblings in CPU order
authorLen Brown <len.brown@intel.com>
Wed, 22 Apr 2026 15:13:00 +0000 (11:13 -0400)
committerLen Brown <len.brown@intel.com>
Wed, 22 Apr 2026 15:31:57 +0000 (11:31 -0400)
commit58839fdbd441dc079800f2575013f2c438159d5a
tree28b3424ef36ef15a125ff24157aa78da033002d1
parentaea40f1e2d77a5581539d1ec6366c7dc7566321d
tools/power turbostat: Process HT siblings in CPU order

On large systems with HT sibling cpu#'s more than 32 apart,
HT siblings were processed and displayed in reverse order.

This was due to how set_thread_siblings() parsed the
sibling-bit-mask.

Update set_thread_siblings to instead parse the sibling-list,
like other cpu lists, and to thus order HT siblings
by ascending CPU number, no matter the size of the system.

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c