diff options
author | Andrew Banman <[email protected]> | 2016-09-21 11:09:16 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-09-22 11:16:13 +0200 |
commit | 5e4f96fe2a61c759d5d47f8112813618805c85a0 (patch) | |
tree | 37224ea5cac6cf9d41ca20db6460daded10c7284 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 60e1c842c7ea3dd6a65660864554565cc737dd86 (diff) |
x86/platform/uv/BAU: Add generic function pointers
Many BAU functions have different implementations depending on the UV
version. Rather than switching on the uvhub_version throughout the driver,
we can define a set of operations for each version. This is especially
beneficial for UV4, which will require many new MMR read/write functions.
Currently, the set of abstracted functions are the same for UV1, UV2, and
UV3. The functions were chosen because each one will have a different
implementation for UV4. Other functions will be added as needed to handle
new implementations or to cleanup the existing differences between UV1,
UV2, and UV3, i.e. read_status and wait_completion.
Signed-off-by: Andrew Banman <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Acked-by: Mike Travis <[email protected]>
Acked-by: Dimitri Sivanich <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions