diff options
author | James Morse <[email protected]> | 2020-07-08 16:39:27 +0000 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-08-19 09:38:57 +0200 |
commit | 5df3ca9334d5603e4afbb95953d0affb37dcf86b (patch) | |
tree | 59d5f906af1d0058e4ca919be1004b6cf67dba7a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 41215b7947f1b1b86fd77a7bebd2320599aea7bd (diff) |
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 <[email protected]>
Signed-off-by: James Morse <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions