]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/platform/uv/BAU: Add wait_completion to bau_operations
authorAndrew Banman <abanman@hpe.com>
Thu, 9 Mar 2017 16:42:13 +0000 (10:42 -0600)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Thu, 18 May 2017 18:41:37 +0000 (11:41 -0700)
commitd0f4cdee59757dcba994a1710b6d549f76a66ad8
tree97e227b9c2c342f7ea631af65e5b38c7b13b9cd0
parent5f93fb812314456c46aac4de1f2ed0616bfea030
x86/platform/uv/BAU: Add wait_completion to bau_operations

Orabug: 25920237

Remove the present wait_completion routine and add a function pointer by
the same name to the bau_operations struct. Rather than switching on the
UV hub version during message processing, set the architecture-specific
uv*_wait_completion during initialization.

The uv123_bau_ops struct must be split into uv1 and uv2_3 versions to
accommodate the corresponding wait_completion routines.

Signed-off-by: Andrew Banman <abanman@hpe.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Mike Travis <mike.travis@hpe.com>
Cc: sivanich@hpe.com
Cc: rja@hpe.com
Cc: akpm@linux-foundation.org
Link: http://lkml.kernel.org/r/1489077734-111753-6-git-send-email-abanman@hpe.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
(cherry picked from commit 2620bbbf1f4f187952fb35861f4473860c432728)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
arch/x86/include/asm/uv/uv_bau.h
arch/x86/platform/uv/tlb_uv.c