aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2020-07-08 16:39:27 +0000
committerBorislav Petkov <bp@suse.de>2020-08-19 09:38:57 +0200
commit5df3ca9334d5603e4afbb95953d0affb37dcf86b (patch)
tree59d5f906af1d0058e4ca919be1004b6cf67dba7a /block
parent41215b7947f1b1b86fd77a7bebd2320599aea7bd (diff)
downloadlinux-5df3ca9334d5603e4afbb95953d0affb37dcf86b.tar.gz
x86/resctrl: Merge AMD/Intel parse_bw() calls
Now after arch_needs_linear has been added, the parse_bw() calls are almost the same between AMD and Intel. The difference is '!is_mba_sc()', which is not checked on AMD. This will always be true on AMD CPUs as mba_sc cannot be enabled as is_mba_linear() is false. Removing this duplication means user-space visible behaviour and error messages are not validated or generated in different places. Reviewed-by : Babu Moger <babu.moger@amd.com> Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Link: https://lkml.kernel.org/r/20200708163929.2783-9-james.morse@arm.com
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions