]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/platform/uv/BAU: Add status mmr location fields to bau_control
authorAndrew Banman <abanman@hpe.com>
Thu, 9 Mar 2017 16:42:12 +0000 (10:42 -0600)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Thu, 18 May 2017 18:41:30 +0000 (11:41 -0700)
commit5f93fb812314456c46aac4de1f2ed0616bfea030
tree35070b653b454c1846d1f9d000132f1ceb616922
parent7f378029e92b7c8ecf54780e54d8210b976ef87e
x86/platform/uv/BAU: Add status mmr location fields to bau_control

Orabug: 25920237

The location of the ERROR and BUSY status bits depends on the descriptor
index, i.e. the CPU, of the message. Since this index does not change,
there is no need to calculate the mmr and index location during message
processing. The less work we do in the hot path the better.

Add status_mmr and status_index fields to bau_control and compute their
values during initialization. Add kerneldoc descriptions for the new
fields. Update uv*_wait_completion to use these fields rather than
receiving the information as parameters.

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-5-git-send-email-abanman@hpe.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
(cherry picked from commit dfeb28f068ff9cc4f714c7d1edaf61597ea1768b)
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