summaryrefslogtreecommitdiffstats
path: root/lib/show_mem.c
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2022-09-02 17:48:09 +0200
committerBorislav Petkov <bp@suse.de>2022-09-22 14:34:33 +0200
commit4d269ed485298e8a09485a664e7b35b370ab4ada (patch)
tree8bced6db60eefe46b0045bcfaf14883e243e1d0e /lib/show_mem.c
parentx86/resctrl: Fix to restore to original value when re-enabling hardware prefe... (diff)
downloadlinux-4d269ed485298e8a09485a664e7b35b370ab4ada.tar.xz
linux-4d269ed485298e8a09485a664e7b35b370ab4ada.zip
x86/resctrl: Kill off alloc_enabled
rdt_resources_all[] used to have extra entries for L2CODE/L2DATA. These were hidden from resctrl by the alloc_enabled value. Now that the L2/L2CODE/L2DATA resources have been merged together, alloc_enabled doesn't mean anything, it always has the same value as alloc_capable which indicates allocation is supported by this resource. Remove alloc_enabled and its helpers. Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Jamie Iles <quic_jiles@quicinc.com> Reviewed-by: Shaopeng Tan <tan.shaopeng@fujitsu.com> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Tested-by: Xin Hao <xhao@linux.alibaba.com> Tested-by: Shaopeng Tan <tan.shaopeng@fujitsu.com> Tested-by: Cristian Marussi <cristian.marussi@arm.com> Link: https://lore.kernel.org/r/20220902154829.30399-2-james.morse@arm.com
Diffstat (limited to 'lib/show_mem.c')
0 files changed, 0 insertions, 0 deletions