[PATCH 1/6] x86/platform/uv/BAU: Declare bau_operations struct after other BAU structs

2017-02-14 Thread Andrew Banman
We must declare bau_operations after the other BAU structs so that we may reference them in the bau_operations function declarations. Signed-off-by: Andrew Banman <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/include/asm/uv/uv_bau.h | 22 +++--

[PATCH 1/6] x86/platform/uv/BAU: Declare bau_operations struct after other BAU structs

2017-02-14 Thread Andrew Banman
We must declare bau_operations after the other BAU structs so that we may reference them in the bau_operations function declarations. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 22 +++--- 1 file changed, 11 insertions(+), 11

[PATCH 6/6] x86/platform/uv/BAU: Add payload descriptor qualifier

2017-02-14 Thread Andrew Banman
requirement. Signed-off-by: Andrew Banman <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/include/asm/uv/uv_bau.h | 23 +-- arch/x86/platform/uv/tlb_uv.c| 22 +++--- 2 files changed, 40 insertions(+), 5 deletions(-) Index: co

[PATCH 6/6] x86/platform/uv/BAU: Add payload descriptor qualifier

2017-02-14 Thread Andrew Banman
requirement. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 23 +-- arch/x86/platform/uv/tlb_uv.c| 22 +++--- 2 files changed, 40 insertions(+), 5 deletions(-) Index: community/arch/x86/include/asm/uv/uv_bau.h

[PATCH 4/6] x86/platform/uv/BAU: Implement uv4_wait_completion with read_status

2017-02-14 Thread Andrew Banman
read_status in the uv4_wait_completion routine to handle all possible completion statuses. Signed-off-by: Andrew Banman <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/platform/uv/tlb_uv.c | 65 ++- 1 file changed, 64 inse

[PATCH 4/6] x86/platform/uv/BAU: Implement uv4_wait_completion with read_status

2017-02-14 Thread Andrew Banman
read_status in the uv4_wait_completion routine to handle all possible completion statuses. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/platform/uv/tlb_uv.c | 65 ++- 1 file changed, 64 insertions(+), 1 deletion(-) Index: community/arch/x86

[PATCH 0/6] x86/platform/uv/BAU: UV4 message completion and initialization updates

2017-02-14 Thread Andrew Banman
. [PATCH 6/6] x86/platform/uv/BAU: Add payload descriptor qualifier Please see the commit messages for details on the motivation and content of each patch. Thank you, Andrew Banman <aban...@hpe.com> Linux Kernel Engineer Hewlett Packard Enterprise

[PATCH 3/6] x86/platform/uv/BAU: Add wait_completion to bau_operations

2017-02-14 Thread Andrew Banman
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. Signed-off-by: Andrew Banman <a

[PATCH 2/6] x86/platform/uv/BAU: Add status_mmr_loc to locate message status bits

2017-02-14 Thread Andrew Banman
within each uv*_wait_completion routine. Signed-off-by: Andrew Banman <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/platform/uv/tlb_uv.c | 41 + 1 file changed, 25 insertions(+), 16 deletions(-) Index: community/arch/

[PATCH 0/6] x86/platform/uv/BAU: UV4 message completion and initialization updates

2017-02-14 Thread Andrew Banman
. [PATCH 6/6] x86/platform/uv/BAU: Add payload descriptor qualifier Please see the commit messages for details on the motivation and content of each patch. Thank you, Andrew Banman Linux Kernel Engineer Hewlett Packard Enterprise

[PATCH 3/6] x86/platform/uv/BAU: Add wait_completion to bau_operations

2017-02-14 Thread Andrew Banman
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. Signed-off-by: Andrew Banman Acked

[PATCH 2/6] x86/platform/uv/BAU: Add status_mmr_loc to locate message status bits

2017-02-14 Thread Andrew Banman
within each uv*_wait_completion routine. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/platform/uv/tlb_uv.c | 41 + 1 file changed, 25 insertions(+), 16 deletions(-) Index: community/arch/x86/platform/uv/tlb_uv.c

[tip:x86/platform] x86/platform/uv/BAU: Disable software timeout on UV4 hardware

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: e879c1124a6c5c3367f20a254909605e7ee938c1 Gitweb: http://git.kernel.org/tip/e879c1124a6c5c3367f20a254909605e7ee938c1 Author: Andrew Banman <aban...@sgi.com> AuthorDate: Wed, 21 Sep 2016 11:09:19 -0500 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Thu, 22 Se

[tip:x86/platform] x86/platform/uv/BAU: Disable software timeout on UV4 hardware

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: e879c1124a6c5c3367f20a254909605e7ee938c1 Gitweb: http://git.kernel.org/tip/e879c1124a6c5c3367f20a254909605e7ee938c1 Author: Andrew Banman AuthorDate: Wed, 21 Sep 2016 11:09:19 -0500 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 11:16:14 +0200 x86/platform/uv/BAU

[tip:x86/platform] x86/platform/uv/BAU: Fix payload queue setup on UV4 hardware

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 6d78059bbc0ace5461938aaea8cda95eb6719898 Gitweb: http://git.kernel.org/tip/6d78059bbc0ace5461938aaea8cda95eb6719898 Author: Andrew Banman <aban...@sgi.com> AuthorDate: Wed, 21 Sep 2016 11:09:20 -0500 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Thu, 22 Se

[tip:x86/platform] x86/platform/uv/BAU: Add UV4-specific functions

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 4f059d514f7119a4fdd9934189ff31f2c26b2647 Gitweb: http://git.kernel.org/tip/4f059d514f7119a4fdd9934189ff31f2c26b2647 Author: Andrew Banman <aban...@sgi.com> AuthorDate: Wed, 21 Sep 2016 11:09:21 -0500 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Thu, 22 Se

[tip:x86/platform] x86/platform/uv/BAU: Fix payload queue setup on UV4 hardware

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 6d78059bbc0ace5461938aaea8cda95eb6719898 Gitweb: http://git.kernel.org/tip/6d78059bbc0ace5461938aaea8cda95eb6719898 Author: Andrew Banman AuthorDate: Wed, 21 Sep 2016 11:09:20 -0500 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 11:16:15 +0200 x86/platform/uv/BAU: Fix

[tip:x86/platform] x86/platform/uv/BAU: Add UV4-specific functions

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 4f059d514f7119a4fdd9934189ff31f2c26b2647 Gitweb: http://git.kernel.org/tip/4f059d514f7119a4fdd9934189ff31f2c26b2647 Author: Andrew Banman AuthorDate: Wed, 21 Sep 2016 11:09:21 -0500 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 11:16:15 +0200 x86/platform/uv/BAU: Add

[tip:x86/platform] x86/platform/uv/BAU: Use generic function pointers

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 21e3f12fc0e12181102ad0400bcb50bc7a027106 Gitweb: http://git.kernel.org/tip/21e3f12fc0e12181102ad0400bcb50bc7a027106 Author: Andrew Banman <aban...@sgi.com> AuthorDate: Wed, 21 Sep 2016 11:09:17 -0500 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Thu, 22 Se

[tip:x86/platform] x86/platform/uv/BAU: Clean up and update printks

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: efa59ab3e7526650265f0fd9696ef8be8d88ec13 Gitweb: http://git.kernel.org/tip/efa59ab3e7526650265f0fd9696ef8be8d88ec13 Author: Andrew Banman <aban...@sgi.com> AuthorDate: Wed, 21 Sep 2016 11:09:13 -0500 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Thu, 22 Se

[tip:x86/platform] x86/platform/uv/BAU: Populate ->uvhub_version with UV4 version information

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 58d4ab46f21e7e800a7597f271a23ec602796247 Gitweb: http://git.kernel.org/tip/58d4ab46f21e7e800a7597f271a23ec602796247 Author: Andrew Banman <aban...@sgi.com> AuthorDate: Wed, 21 Sep 2016 11:09:18 -0500 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Thu, 22 Se

[tip:x86/platform] x86/platform/uv/BAU: Convert uv_physnodeaddr() use to uv_gpa_to_offset()

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 60e1c842c7ea3dd6a65660864554565cc737dd86 Gitweb: http://git.kernel.org/tip/60e1c842c7ea3dd6a65660864554565cc737dd86 Author: Andrew Banman <aban...@sgi.com> AuthorDate: Wed, 21 Sep 2016 11:09:15 -0500 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Thu, 22 Se

[tip:x86/platform] x86/platform/uv/BAU: Use generic function pointers

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 21e3f12fc0e12181102ad0400bcb50bc7a027106 Gitweb: http://git.kernel.org/tip/21e3f12fc0e12181102ad0400bcb50bc7a027106 Author: Andrew Banman AuthorDate: Wed, 21 Sep 2016 11:09:17 -0500 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 11:16:14 +0200 x86/platform/uv/BAU: Use

[tip:x86/platform] x86/platform/uv/BAU: Clean up and update printks

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: efa59ab3e7526650265f0fd9696ef8be8d88ec13 Gitweb: http://git.kernel.org/tip/efa59ab3e7526650265f0fd9696ef8be8d88ec13 Author: Andrew Banman AuthorDate: Wed, 21 Sep 2016 11:09:13 -0500 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 11:16:12 +0200 x86/platform/uv/BAU

[tip:x86/platform] x86/platform/uv/BAU: Populate ->uvhub_version with UV4 version information

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 58d4ab46f21e7e800a7597f271a23ec602796247 Gitweb: http://git.kernel.org/tip/58d4ab46f21e7e800a7597f271a23ec602796247 Author: Andrew Banman AuthorDate: Wed, 21 Sep 2016 11:09:18 -0500 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 11:16:14 +0200 x86/platform/uv/BAU

[tip:x86/platform] x86/platform/uv/BAU: Convert uv_physnodeaddr() use to uv_gpa_to_offset()

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 60e1c842c7ea3dd6a65660864554565cc737dd86 Gitweb: http://git.kernel.org/tip/60e1c842c7ea3dd6a65660864554565cc737dd86 Author: Andrew Banman AuthorDate: Wed, 21 Sep 2016 11:09:15 -0500 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 11:16:13 +0200 x86/platform/uv/BAU

[tip:x86/platform] x86/platform/uv/BAU: Clean up pq_init()

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: d2a57afa53f3fdf9f68d1f4240ace85a7d20ca20 Gitweb: http://git.kernel.org/tip/d2a57afa53f3fdf9f68d1f4240ace85a7d20ca20 Author: Andrew Banman <aban...@sgi.com> AuthorDate: Wed, 21 Sep 2016 11:09:14 -0500 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Thu, 22 Se

[tip:x86/platform] x86/platform/uv/BAU: Clean up pq_init()

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: d2a57afa53f3fdf9f68d1f4240ace85a7d20ca20 Gitweb: http://git.kernel.org/tip/d2a57afa53f3fdf9f68d1f4240ace85a7d20ca20 Author: Andrew Banman AuthorDate: Wed, 21 Sep 2016 11:09:14 -0500 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 11:16:13 +0200 x86/platform/uv/BAU

[tip:x86/platform] x86/platform/uv/BAU: Clean up vertical alignment

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 67492c86b33db0a8a056c72293d4802b37ac8ac6 Gitweb: http://git.kernel.org/tip/67492c86b33db0a8a056c72293d4802b37ac8ac6 Author: Andrew Banman <aban...@sgi.com> AuthorDate: Wed, 21 Sep 2016 11:09:12 -0500 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Thu, 22 Se

[tip:x86/platform] x86/platform/uv/BAU: Clean up vertical alignment

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 67492c86b33db0a8a056c72293d4802b37ac8ac6 Gitweb: http://git.kernel.org/tip/67492c86b33db0a8a056c72293d4802b37ac8ac6 Author: Andrew Banman AuthorDate: Wed, 21 Sep 2016 11:09:12 -0500 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 11:16:12 +0200 x86/platform/uv/BAU

[tip:x86/platform] x86/platform/uv/BAU: Add generic function pointers

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 5e4f96fe2a61c759d5d47f8112813618805c85a0 Gitweb: http://git.kernel.org/tip/5e4f96fe2a61c759d5d47f8112813618805c85a0 Author: Andrew Banman <aban...@sgi.com> AuthorDate: Wed, 21 Sep 2016 11:09:16 -0500 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Thu, 22 Se

[tip:x86/platform] x86/platform/uv/BAU: Add generic function pointers

2016-09-22 Thread tip-bot for Andrew Banman
Commit-ID: 5e4f96fe2a61c759d5d47f8112813618805c85a0 Gitweb: http://git.kernel.org/tip/5e4f96fe2a61c759d5d47f8112813618805c85a0 Author: Andrew Banman AuthorDate: Wed, 21 Sep 2016 11:09:16 -0500 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016 11:16:13 +0200 x86/platform/uv/BAU: Add

[PATCH 06/10] arch/x86/platform/uv: BAU use generic function pointers

2016-09-21 Thread Andrew Banman
Convert the use of UV version-specific functions to their abstracted counterparts. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> Acked-by: Thomas Gleixner <t...@linutronix.de> --- arch/

[PATCH 06/10] arch/x86/platform/uv: BAU use generic function pointers

2016-09-21 Thread Andrew Banman
Convert the use of UV version-specific functions to their abstracted counterparts. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich Acked-by: Thomas Gleixner --- arch/x86/platform/uv/tlb_uv.c | 26 +- 1 file changed, 13 insertions(+), 13

[PATCH 09/10] arch/x86/platform/uv: BAU UV4 fix payload queue setup

2016-09-21 Thread Andrew Banman
, for which we use uvhub_version rather than is_uv*_hub because it is quicker/more concise. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> Acked-by: Thomas Gleixner <t...@linutronix.de> -

[PATCH 05/10] arch/x86/platform/uv: BAU add generic function pointers

2016-09-21 Thread Andrew Banman
. read_status and wait_completion. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> Acked-by: Thomas Gleixner <t...@linutronix.de> --- arch/x86/include/asm/uv/uv_bau.h | 11 +++ arch/

[PATCH 03/10] arch/x86/platform/uv: BAU cleanup: pq_init

2016-09-21 Thread Andrew Banman
pointers. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> Acked-by: Thomas Gleixner <t...@linutronix.de> --- arch/x86/include/asm/uv/uv_bau.h | 2 +- arch/x86/platform/uv/tlb_uv.c| 19

[PATCH 05/10] arch/x86/platform/uv: BAU add generic function pointers

2016-09-21 Thread Andrew Banman
. read_status and wait_completion. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich Acked-by: Thomas Gleixner --- arch/x86/include/asm/uv/uv_bau.h | 11 +++ arch/x86/platform/uv/tlb_uv.c| 19 +++ 2 files changed, 30 insertions(+) diff

[PATCH 03/10] arch/x86/platform/uv: BAU cleanup: pq_init

2016-09-21 Thread Andrew Banman
pointers. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich Acked-by: Thomas Gleixner --- arch/x86/include/asm/uv/uv_bau.h | 2 +- arch/x86/platform/uv/tlb_uv.c| 19 --- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/arch/x86/include

[PATCH 09/10] arch/x86/platform/uv: BAU UV4 fix payload queue setup

2016-09-21 Thread Andrew Banman
, for which we use uvhub_version rather than is_uv*_hub because it is quicker/more concise. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich Acked-by: Thomas Gleixner --- arch/x86/platform/uv/tlb_uv.c | 16 1 file changed, 12 insertions(+), 4

[PATCH 08/10] arch/x86/platform/uv: BAU UV4 disable software timeout

2016-09-21 Thread Andrew Banman
on UV4. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> Acked-by: Thomas Gleixner <t...@linutronix.de> --- arch/x86/platform/uv/tlb_uv.c | 7 +-- 1 file changed, 5 insertions(+), 2

[PATCH 04/10] arch/x86/platform/uv: BAU replace uv_physnodeaddr

2016-09-21 Thread Andrew Banman
The BAU driver should use the functions provided by uv_hub.h rather than its own implementations. uv_physnodeaddr converts vaddrs to paddrs for BAU MMR fields, but this is done better by uv_gpa_to_offset. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.c

[PATCH 10/10] arch/x86/platform/uv: BAU UV4 add version-specific functions

2016-09-21 Thread Andrew Banman
not change. Thus, it is enough to enumerate them in the operations struct for the changes to take effect. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> Acked-by: Thomas Gleixner <t...@linutro

[PATCH 01/10] arch/x86/platform/uv: BAU cleanup: vertical alignment

2016-09-21 Thread Andrew Banman
Fix whitespace on blocks of code to be vertically aligned. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> Acked-by: Thomas Gleixner <t...@linutronix.de> --- arch/x86/p

[PATCH 08/10] arch/x86/platform/uv: BAU UV4 disable software timeout

2016-09-21 Thread Andrew Banman
on UV4. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich Acked-by: Thomas Gleixner --- arch/x86/platform/uv/tlb_uv.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index

[PATCH 04/10] arch/x86/platform/uv: BAU replace uv_physnodeaddr

2016-09-21 Thread Andrew Banman
The BAU driver should use the functions provided by uv_hub.h rather than its own implementations. uv_physnodeaddr converts vaddrs to paddrs for BAU MMR fields, but this is done better by uv_gpa_to_offset. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich Acked

[PATCH 10/10] arch/x86/platform/uv: BAU UV4 add version-specific functions

2016-09-21 Thread Andrew Banman
not change. Thus, it is enough to enumerate them in the operations struct for the changes to take effect. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich Acked-by: Thomas Gleixner --- arch/x86/include/asm/uv/uv_bau.h | 30 ++ arch/x86

[PATCH 01/10] arch/x86/platform/uv: BAU cleanup: vertical alignment

2016-09-21 Thread Andrew Banman
Fix whitespace on blocks of code to be vertically aligned. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich Acked-by: Thomas Gleixner --- arch/x86/platform/uv/tlb_uv.c | 64 +-- 1 file changed, 32 insertions(+), 32

[PATCH 02/10] arch/x86/platform/uv: BAU cleanup: update printks

2016-09-21 Thread Andrew Banman
Replace all uses of printk with the appropriate pr_* function. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> Acked-by: Thomas Gleixner <t...@linutronix.de> --- arch/x86/p

[PATCHv2 0/10] arch/x86/platform/uv: add UV4 support to BAU

2016-09-21 Thread Andrew Banman
architectures and for correct functionality on UV4. The patches apply cleanly to 4.8-rc7. Fine-tuned performance tweaking for UV4 will come in a future patch set. Thank you, Andrew Banman

[PATCH 07/10] arch/x86/platform/uv: BAU UV4 populate uvhub_version

2016-09-21 Thread Andrew Banman
Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> Acked-by: Thomas Gleixner <t...@linutronix.de> --- arch/x86/platform/uv/tlb_uv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-

[PATCH 02/10] arch/x86/platform/uv: BAU cleanup: update printks

2016-09-21 Thread Andrew Banman
Replace all uses of printk with the appropriate pr_* function. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich Acked-by: Thomas Gleixner --- arch/x86/platform/uv/tlb_uv.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff

[PATCHv2 0/10] arch/x86/platform/uv: add UV4 support to BAU

2016-09-21 Thread Andrew Banman
architectures and for correct functionality on UV4. The patches apply cleanly to 4.8-rc7. Fine-tuned performance tweaking for UV4 will come in a future patch set. Thank you, Andrew Banman

[PATCH 07/10] arch/x86/platform/uv: BAU UV4 populate uvhub_version

2016-09-21 Thread Andrew Banman
Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich Acked-by: Thomas Gleixner --- arch/x86/platform/uv/tlb_uv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index 030d452..ddbeb16

Re: [PATCH 9/9] arch/x86/platform/uv: BAU UV4 add version-specific functions

2016-09-21 Thread andrew banman
On Wed, Sep 21, 2016 at 02:55:27PM +0200, Ingo Molnar wrote: > > * Andrew Banman <aban...@sgi.com> wrote: > > > Add the UV4-specific function definitions and define an operations struct > > to implement them in the BAU driver. > > > > Many BAU MMRs, a

Re: [PATCH 9/9] arch/x86/platform/uv: BAU UV4 add version-specific functions

2016-09-21 Thread andrew banman
On Wed, Sep 21, 2016 at 02:55:27PM +0200, Ingo Molnar wrote: > > * Andrew Banman wrote: > > > Add the UV4-specific function definitions and define an operations struct > > to implement them in the BAU driver. > > > > Many BAU MMRs, although functionally th

[PATCH 2/9] arch/x86/platform/uv: BAU cleanup: pq_init

2016-09-20 Thread Andrew Banman
-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/include/asm/uv/uv_bau.h | 2 +- arch/x86/platform/uv/tlb_uv.c| 19 --- 2 files changed, 9 insertions(+), 12 deletions(-) dif

[PATCH 2/9] arch/x86/platform/uv: BAU cleanup: pq_init

2016-09-20 Thread Andrew Banman
-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/include/asm/uv/uv_bau.h | 2 +- arch/x86/platform/uv/tlb_uv.c| 19 --- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/arch/x86/include/asm/uv/uv_bau.h b/arch/x86/include/asm/uv

[PATCH 3/9] arch/x86/platform/uv: BAU replace uv_physnodeaddr

2016-09-20 Thread Andrew Banman
The BAU driver should use the functions provided by uv_hub.h rather than its own implementations. uv_physnodeaddr converts vaddrs to paddrs for BAU MMR fields, but this is done better by uv_gpa_to_offset. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.c

[PATCH 3/9] arch/x86/platform/uv: BAU replace uv_physnodeaddr

2016-09-20 Thread Andrew Banman
The BAU driver should use the functions provided by uv_hub.h rather than its own implementations. uv_physnodeaddr converts vaddrs to paddrs for BAU MMR fields, but this is done better by uv_gpa_to_offset. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch

[PATCH 9/9] arch/x86/platform/uv: BAU UV4 add version-specific functions

2016-09-20 Thread Andrew Banman
not change. Thus, it is enough to enumerate them in the operations struct for the changes to take effect. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/include/as

[PATCH 8/9] arch/x86/platform/uv: BAU UV4 fix payload queue setup

2016-09-20 Thread Andrew Banman
, for which we use uvhub_version rather than is_uv*_hub because it is quicker/more concise. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/platform/uv/tlb_uv.c | 16

[PATCH 7/9] arch/x86/platform/uv: BAU UV4 disable software timeout

2016-09-20 Thread Andrew Banman
on UV4. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/platform/uv/tlb_uv.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86/platform/uv/t

[PATCH 4/9] arch/x86/platform/uv: BAU add generic function pointers

2016-09-20 Thread Andrew Banman
. read_status and wait_completion. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/include/asm/uv/uv_bau.h | 11 +++ arch/x86/platform/uv/tlb_uv.c| 19 ++

[PATCH 9/9] arch/x86/platform/uv: BAU UV4 add version-specific functions

2016-09-20 Thread Andrew Banman
not change. Thus, it is enough to enumerate them in the operations struct for the changes to take effect. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/include/asm/uv/uv_bau.h | 30 ++ arch/x86/platform/uv/tlb_uv.c| 15

[PATCH 8/9] arch/x86/platform/uv: BAU UV4 fix payload queue setup

2016-09-20 Thread Andrew Banman
, for which we use uvhub_version rather than is_uv*_hub because it is quicker/more concise. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/platform/uv/tlb_uv.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/arch

[PATCH 7/9] arch/x86/platform/uv: BAU UV4 disable software timeout

2016-09-20 Thread Andrew Banman
on UV4. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/platform/uv/tlb_uv.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index 67a31d0..bfd03db 100644

[PATCH 4/9] arch/x86/platform/uv: BAU add generic function pointers

2016-09-20 Thread Andrew Banman
. read_status and wait_completion. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/include/asm/uv/uv_bau.h | 11 +++ arch/x86/platform/uv/tlb_uv.c| 19 +++ 2 files changed, 30 insertions(+) diff --git a/arch/x86/include/asm

[PATCH 0/9] arch/x86/platform/uv: add UV4 support to BAU

2016-09-20 Thread Andrew Banman
. This patch set has been tested for regressions on pre-UV4 architectures and for correct functionality on UV4. The patches apply cleanly to 4.8-rc7. Fine-tuned performance tweaking for UV4 will come in a future patch set. Thank you, Andrew Banman

[PATCH 0/9] arch/x86/platform/uv: add UV4 support to BAU

2016-09-20 Thread Andrew Banman
. This patch set has been tested for regressions on pre-UV4 architectures and for correct functionality on UV4. The patches apply cleanly to 4.8-rc7. Fine-tuned performance tweaking for UV4 will come in a future patch set. Thank you, Andrew Banman

[PATCH 5/9] arch/x86/platform/uv: BAU use generic function pointers

2016-09-20 Thread Andrew Banman
Convert the use of UV version-specific functions to their abstracted counterparts. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/platform/uv/tlb_uv.c | 26 +---

[PATCH 6/9] arch/x86/platform/uv: BAU UV4 populate uvhub_version

2016-09-20 Thread Andrew Banman
Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/platform/uv/tlb_uv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/ar

[PATCH 1/9] arch/x86/platform/uv: BAU cleanup: update printks

2016-09-20 Thread Andrew Banman
Replace all uses of printk with the appropriate pr_* function. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/platform/uv/tlb_uv.c | 26 +- 1 file chan

[PATCH 07/10] arch/x86/platform/uv: BAU UV4 disable software timeout

2016-09-20 Thread Andrew Banman
on UV4. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/platform/uv/tlb_uv.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86/platform/uv/t

[PATCH 6/9] arch/x86/platform/uv: BAU UV4 populate uvhub_version

2016-09-20 Thread Andrew Banman
Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/platform/uv/tlb_uv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index bfeb382..67a31d0 100644 --- a/arch/x86

[PATCH 1/9] arch/x86/platform/uv: BAU cleanup: update printks

2016-09-20 Thread Andrew Banman
Replace all uses of printk with the appropriate pr_* function. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/platform/uv/tlb_uv.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/x86/platform/uv

[PATCH 07/10] arch/x86/platform/uv: BAU UV4 disable software timeout

2016-09-20 Thread Andrew Banman
on UV4. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/platform/uv/tlb_uv.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index 67a31d0..bfd03db 100644

[PATCH 5/9] arch/x86/platform/uv: BAU use generic function pointers

2016-09-20 Thread Andrew Banman
Convert the use of UV version-specific functions to their abstracted counterparts. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/platform/uv/tlb_uv.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

[PATCH 02/10] arch/x86/platform/uv: BAU cleanup: pq_init

2016-09-20 Thread Andrew Banman
-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/include/asm/uv/uv_bau.h | 2 +- arch/x86/platform/uv/tlb_uv.c| 19 --- 2 files changed, 9 insertions(+), 12 deletions(-) dif

Re: your mail

2016-09-20 Thread andrew banman
Subject line got dropped the first time around. Will send again. Apologies for the chatter, Andrew On Tue, Sep 20, 2016 at 05:21:06PM -0500, Andrew Banman wrote: > From Andrew Banman <aban...@sgi.com> # This line is ignored. > From: Andrew Banman <aban...@sgi.com> > Subj

[PATCH 02/10] arch/x86/platform/uv: BAU cleanup: pq_init

2016-09-20 Thread Andrew Banman
-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/include/asm/uv/uv_bau.h | 2 +- arch/x86/platform/uv/tlb_uv.c| 19 --- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/arch/x86/include/asm/uv/uv_bau.h b/arch/x86/include/asm/uv

Re: your mail

2016-09-20 Thread andrew banman
Subject line got dropped the first time around. Will send again. Apologies for the chatter, Andrew On Tue, Sep 20, 2016 at 05:21:06PM -0500, Andrew Banman wrote: > From Andrew Banman # This line is ignored. > From: Andrew Banman > Subject: [PATCH 0/9] arch/x86/platform/uv: add UV

[PATCH 06/10] arch/x86/platform/uv: BAU UV4 populate uvhub_version

2016-09-20 Thread Andrew Banman
Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/platform/uv/tlb_uv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/ar

[PATCH 10/10] Apply Mike's UV4 fixup patches

2016-09-20 Thread Andrew Banman
uv4_fix_gam_range_lookup_table uv4_fix_bios_init_error uv4_remove_uvsystab_pxm uv4_disable_is_uv_system --- arch/x86/include/asm/uv/bios.h | 5 +++-- arch/x86/kernel/apic/x2apic_uv_x.c | 42 ++ arch/x86/platform/uv/bios_uv.c | 8 +--- 3 files

[PATCH 06/10] arch/x86/platform/uv: BAU UV4 populate uvhub_version

2016-09-20 Thread Andrew Banman
Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/platform/uv/tlb_uv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index bfeb382..67a31d0 100644 --- a/arch/x86

[PATCH 10/10] Apply Mike's UV4 fixup patches

2016-09-20 Thread Andrew Banman
uv4_fix_gam_range_lookup_table uv4_fix_bios_init_error uv4_remove_uvsystab_pxm uv4_disable_is_uv_system --- arch/x86/include/asm/uv/bios.h | 5 +++-- arch/x86/kernel/apic/x2apic_uv_x.c | 42 ++ arch/x86/platform/uv/bios_uv.c | 8 +--- 3 files

[PATCH 08/10] arch/x86/platform/uv: BAU UV4 fix payload queue setup

2016-09-20 Thread Andrew Banman
, for which we use uvhub_version rather than is_uv*_hub because it is quicker/more concise. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/platform/uv/tlb_uv.c | 16

[no subject]

2016-09-20 Thread Andrew Banman
>From Andrew Banman <aban...@sgi.com> # This line is ignored. From: Andrew Banman <aban...@sgi.com> Subject: [PATCH 0/9] arch/x86/platform/uv: add UV4 support to BAU In-Reply-To: The following patch set adds support for UV4 architecture to the Broadcast Assist Unit (BAU). Major h

[PATCH 05/10] arch/x86/platform/uv: BAU use generic function pointers

2016-09-20 Thread Andrew Banman
Convert the use of UV version-specific functions to their abstracted counterparts. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/platform/uv/tlb_uv.c | 26 +---

[PATCH 03/10] arch/x86/platform/uv: BAU replace uv_physnodeaddr

2016-09-20 Thread Andrew Banman
The BAU driver should use the functions provided by uv_hub.h rather than its own implementations. uv_physnodeaddr converts vaddrs to paddrs for BAU MMR fields, but this is done better by uv_gpa_to_offset. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.c

[PATCH 08/10] arch/x86/platform/uv: BAU UV4 fix payload queue setup

2016-09-20 Thread Andrew Banman
, for which we use uvhub_version rather than is_uv*_hub because it is quicker/more concise. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/platform/uv/tlb_uv.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/arch

[no subject]

2016-09-20 Thread Andrew Banman
>From Andrew Banman # This line is ignored. From: Andrew Banman Subject: [PATCH 0/9] arch/x86/platform/uv: add UV4 support to BAU In-Reply-To: The following patch set adds support for UV4 architecture to the Broadcast Assist Unit (BAU). Major hardware changes to the BAU require these fi

[PATCH 05/10] arch/x86/platform/uv: BAU use generic function pointers

2016-09-20 Thread Andrew Banman
Convert the use of UV version-specific functions to their abstracted counterparts. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/platform/uv/tlb_uv.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

[PATCH 03/10] arch/x86/platform/uv: BAU replace uv_physnodeaddr

2016-09-20 Thread Andrew Banman
The BAU driver should use the functions provided by uv_hub.h rather than its own implementations. uv_physnodeaddr converts vaddrs to paddrs for BAU MMR fields, but this is done better by uv_gpa_to_offset. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch

[PATCH 04/10] arch/x86/platform/uv: BAU add generic function pointers

2016-09-20 Thread Andrew Banman
. read_status and wait_completion. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/include/asm/uv/uv_bau.h | 11 +++ arch/x86/platform/uv/tlb_uv.c| 19 ++

[PATCH 09/10] arch/x86/platform/uv: BAU UV4 add version-specific functions

2016-09-20 Thread Andrew Banman
not change. Thus, it is enough to enumerate them in the operations struct for the changes to take effect. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/include/as

[PATCH 01/10] arch/x86/platform/uv: BAU cleanup: update printks

2016-09-20 Thread Andrew Banman
Replace all uses of printk with the appropriate pr_* function. Signed-off-by: Andrew Banman <aban...@sgi.com> Acked-by: Mike Travis <tra...@sgi.com> Acked-by: Dimitri Sivanich <sivan...@sgi.com> --- arch/x86/platform/uv/tlb_uv.c | 26 +- 1 file chan

[PATCH 04/10] arch/x86/platform/uv: BAU add generic function pointers

2016-09-20 Thread Andrew Banman
. read_status and wait_completion. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/include/asm/uv/uv_bau.h | 11 +++ arch/x86/platform/uv/tlb_uv.c| 19 +++ 2 files changed, 30 insertions(+) diff --git a/arch/x86/include/asm

[PATCH 09/10] arch/x86/platform/uv: BAU UV4 add version-specific functions

2016-09-20 Thread Andrew Banman
not change. Thus, it is enough to enumerate them in the operations struct for the changes to take effect. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/include/asm/uv/uv_bau.h | 30 ++ arch/x86/platform/uv/tlb_uv.c| 15

[PATCH 01/10] arch/x86/platform/uv: BAU cleanup: update printks

2016-09-20 Thread Andrew Banman
Replace all uses of printk with the appropriate pr_* function. Signed-off-by: Andrew Banman Acked-by: Mike Travis Acked-by: Dimitri Sivanich --- arch/x86/platform/uv/tlb_uv.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/x86/platform/uv

<    1   2   3   >