diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-12-12 14:30:54 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-12-12 14:30:54 -0800 |
commit | 287f037db5b46de5a86e4bdfbf02e0206ca877bf (patch) | |
tree | 56efb3d4d29175a1e98a6ba3e895de522492994e /include | |
parent | a89ef2aa552db985e0ee8cb458846298c007704c (diff) | |
parent | 97fa21f65c3eb5bbab9b4734bed37fd624cddd86 (diff) | |
download | linux-stable-287f037db5b46de5a86e4bdfbf02e0206ca877bf.tar.gz linux-stable-287f037db5b46de5a86e4bdfbf02e0206ca877bf.tar.bz2 linux-stable-287f037db5b46de5a86e4bdfbf02e0206ca877bf.zip |
Merge tag 'x86_cache_for_6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cache resource control updates from Dave Hansen:
"These declare the resource control (rectrl) MSRs a bit more normally
and clean up an unnecessary structure member:
- Remove unnecessary arch_has_empty_bitmaps structure memory
- Move rescrtl MSR defines into msr-index.h, like normal MSRs"
* tag 'x86_cache_for_6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/resctrl: Move MSR defines into msr-index.h
x86/resctrl: Remove arch_has_empty_bitmaps
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/resctrl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/resctrl.h b/include/linux/resctrl.h index 0cf5b20c6ddf..0cee154abc9f 100644 --- a/include/linux/resctrl.h +++ b/include/linux/resctrl.h @@ -89,11 +89,12 @@ struct rdt_domain { /** * struct resctrl_cache - Cache allocation related data * @cbm_len: Length of the cache bit mask - * @min_cbm_bits: Minimum number of consecutive bits to be set + * @min_cbm_bits: Minimum number of consecutive bits to be set. + * The value 0 means the architecture can support + * zero CBM. * @shareable_bits: Bitmask of shareable resource with other * executing entities * @arch_has_sparse_bitmaps: True if a bitmap like f00f is valid. - * @arch_has_empty_bitmaps: True if the '0' bitmap is valid. * @arch_has_per_cpu_cfg: True if QOS_CFG register for this cache * level has CPU scope. */ @@ -102,7 +103,6 @@ struct resctrl_cache { unsigned int min_cbm_bits; unsigned int shareable_bits; bool arch_has_sparse_bitmaps; - bool arch_has_empty_bitmaps; bool arch_has_per_cpu_cfg; }; |