[PATCH 1/6] x86/platform/uv/BAU: Add uv_bau_version enumerated constants

2017-03-09 Thread Andrew Banman
Define enumerated constants for each UV hub version and replace magic numbers with the appropriate constant. Signed-off-by: Andrew Banman --- arch/x86/include/asm/uv/uv_bau.h | 7 +++ arch/x86/platform/uv/tlb_uv.c| 16 2 files changed, 15

[PATCH 1/6] x86/platform/uv/BAU: Add uv_bau_version enumerated constants

2017-03-09 Thread Andrew Banman
Define enumerated constants for each UV hub version and replace magic numbers with the appropriate constant. Signed-off-by: Andrew Banman --- arch/x86/include/asm/uv/uv_bau.h | 7 +++ arch/x86/platform/uv/tlb_uv.c| 16 2 files changed, 15 insertions(+), 8 deletions(-)

[PATCH 1/6] x86/platform/uv/BAU: Add uv_bau_version enumerated constants

2017-02-17 Thread Andrew Banman
Define enumerated constants for each UV hub version and replace magic numbers with the appropriate constant. This makes our checks against uvhub_version more robust, and any use of unsupported archs will be caught during compilation. Signed-off-by: Andrew Banman Acked-by: Mike

[PATCH 1/6] x86/platform/uv/BAU: Add uv_bau_version enumerated constants

2017-02-17 Thread Andrew Banman
Define enumerated constants for each UV hub version and replace magic numbers with the appropriate constant. This makes our checks against uvhub_version more robust, and any use of unsupported archs will be caught during compilation. Signed-off-by: Andrew Banman Acked-by: Mike Travis ---