[tip:x86/urgent] x86/platform/uv/BAU: Gracefully disable BAU during panic

2018-08-20 Thread tip-bot for Andrew Banman
Commit-ID: 99f3965878759d36baac944df004b4dafcc272b4 Gitweb: https://git.kernel.org/tip/99f3965878759d36baac944df004b4dafcc272b4 Author: Andrew Banman AuthorDate: Mon, 13 Aug 2018 08:54:37 -0500 Committer: Thomas Gleixner CommitDate: Mon, 20 Aug 2018 18:04:43 +0200 x86/platform/uv/BAU

[PATCH] x86/platform/uv/BAU: gracefully disable BAU during panic

2018-08-13 Thread Andrew Banman
kernel.org Acked-by: Mike Travis Signed-off-by: Andrew Banman --- arch/x86/platform/uv/tlb_uv.c | 49 +++ 1 file changed, 49 insertions(+) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index e26dfad..dae6b3c 100644 --- a/arch/x8

[PATCH] x86/platform/uv/BAU: gracefully disable BAU during panic

2018-06-03 Thread Andrew Banman
to quiescence during panic before continuing with the native crash shutdown. Assign uv_bau_crash_shutdown to machine_ops during init. Signed-off-by: Andrew Banman --- arch/x86/platform/uv/tlb_uv.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/x86

[tip:x86/urgent] x86/platform/uv/BAU: Add APIC idt entry

2018-03-28 Thread tip-bot for Andrew Banman
Commit-ID: 151ad17fbe5e56afa59709f41980508672c777ce Gitweb: https://git.kernel.org/tip/151ad17fbe5e56afa59709f41980508672c777ce Author: Andrew Banman AuthorDate: Tue, 27 Mar 2018 17:09:06 -0500 Committer: Thomas Gleixner CommitDate: Wed, 28 Mar 2018 10:40:55 +0200 x86/platform/uv/BAU

[PATCH] x86/platform/uv/BAU: add APIC idt entry

2018-03-27 Thread Andrew Banman
idt structure. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/hw_irq.h | 1 + arch/x86/kernel/idt.c | 3 +++ arch/x86/platform/uv/tlb_uv.c | 2 -- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include

[tip:x86/platform] x86/platform/uv/BAU: Replace hard-coded values with MMR definitions

2018-01-15 Thread tip-bot for Andrew Banman
Commit-ID: 1da2fd61d956a01ead87173a8367e5c664617f7b Gitweb: https://git.kernel.org/tip/1da2fd61d956a01ead87173a8367e5c664617f7b Author: Andrew Banman AuthorDate: Mon, 8 Jan 2018 13:43:12 -0600 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 03:58:38 +0100 x86/platform/uv/BAU

[PATCH 7/7] x86/platform/uv/BAU: Replace hard-coded values with MMR definitions

2018-01-08 Thread Andrew Banman
Replaces hard-coded node ID shift for the descriptor base mmr to fix initialization on UV4A while maintaining previous architectures. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 1 - arch/x86/platform/uv/tlb_uv.c| 3 ++- 2 files changed, 2

[PATCH 7/7] x86/platform/uv/BAU: Fix broadcast descriptor base for UV4A

2017-12-20 Thread Andrew Banman
Replaces hard-coded node ID shift for the descriptor base mmr to fix initialization on UV4A while maintaining previous architectures. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 1 - arch/x86/platform/uv/tlb_uv.c| 3 ++- 2 files changed, 2

Re: [PATCH 5/9] x86/uv: Use the right tlbflush API

2017-12-05 Thread Andrew Banman
On 12/5/17 3:27 PM, Peter Zijlstra wrote: On Tue, Dec 05, 2017 at 03:09:48PM -0600, Andrew Banman wrote: On 12/5/17 6:34 AM, Peter Zijlstra wrote: Since uv_flush_tlb_others() implements flush_tlb_others() which is about flushing user mappings, we should use __flush_tlb_single(), which too is

Re: [PATCH 5/9] x86/uv: Use the right tlbflush API

2017-12-05 Thread Andrew Banman
On 12/5/17 6:34 AM, Peter Zijlstra wrote: Since uv_flush_tlb_others() implements flush_tlb_others() which is about flushing user mappings, we should use __flush_tlb_single(), which too is about flushing user mappings. Cc: Andrew Banman Cc: Mike Travis Signed-off-by: Peter Zijlstra (Intel

Re: [PATCH] ipmi: Prefer ACPI system interfaces over SMBIOS ones

2017-11-09 Thread Andrew Banman
Corey, This patch worked on my system. Thank you! Tested-by: Andrew Banman # insmod ipmi_si.ko; dmesg -c [ 225.793934] ipmi_si IPI0001:00: ipmi_si: probing via ACPI [ 225.799982] ipmi_si IPI0001:00: [io 0x0ce4-0x0ce6] regsize 1 spacing 1 irq 6 [ 225.807953] ipmi_si: Adding ACPI-specified

Re: [PATCH] drivers/char/ipmi_si: prevent null deref during module exit

2017-11-09 Thread Andrew Banman
On 11/8/17 2:00 PM, Corey Minyard wrote: > On 11/08/2017 11:11 AM, Andrew Banman wrote: >> On 11/8/17 11:06 AM, Andrew Banman wrote: >>> If there are uninitialized SMIs in the smi_infos list, i.e. with no >>> handlers set, then disable_si_irq() in cleanup_smi_one()

Re: [PATCH] drivers/char/ipmi_si: prevent null deref during module exit

2017-11-08 Thread Andrew Banman
On 11/8/17 11:06 AM, Andrew Banman wrote: If there are uninitialized SMIs in the smi_infos list, i.e. with no handlers set, then disable_si_irq() in cleanup_smi_one() will hit a null pointer dereference when the former attempts to start the check enables transaction. Thus, we panic during module

[PATCH] drivers/char/ipmi_si: prevent null deref during module exit

2017-11-08 Thread Andrew Banman
uninitialized SMIs by checking for a handler pointer before starting the check enables transaction. Signed-off-by: Andrew Banman --- drivers/char/ipmi/ipmi_si_intf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c

Re: [PATCH] x86/platform/uv: make timeout_base_ns const and process_uv2_message static

2017-08-10 Thread Andrew Banman
Acked-by: Andrew Banman On Thu, Aug 10, 2017 at 05:30:06PM +0100, Colin King wrote: > From: Colin Ian King > > Make array timeout_base_ns const. Also the function process_uv2_message > is local to the source and do not need to be in global scope, so make it > static. >

Re: [PATCH v3 06/11] x86/mm: Rework lazy TLB mode and TLB freshness tracking

2017-07-27 Thread Andrew Banman
On Thu, Jun 22, 2017 at 10:47:29AM -0700, Andy Lutomirski wrote: > On Thu, Jun 22, 2017 at 7:50 AM, Borislav Petkov wrote: > > On Tue, Jun 20, 2017 at 10:22:12PM -0700, Andy Lutomirski wrote: > >> Rewrite it entirely. When we enter lazy mode, we simply remove the > >> cpu from mm_cpumask. This m

[tip:x86/urgent] x86/platform/uv/BAU: Disable BAU on single hub configurations

2017-07-21 Thread tip-bot for Andrew Banman
Commit-ID: 2fe9a5c6ade4dfb53ff1c137cca3828d9d1d0948 Gitweb: http://git.kernel.org/tip/2fe9a5c6ade4dfb53ff1c137cca3828d9d1d0948 Author: Andrew Banman AuthorDate: Thu, 20 Jul 2017 17:05:51 -0500 Committer: Ingo Molnar CommitDate: Fri, 21 Jul 2017 09:56:25 +0200 x86/platform/uv/BAU

[PATCH v2] x86/platform/uv/BAU: disable BAU on single hub configurations

2017-07-20 Thread Andrew Banman
: Consolidate initialization error blocks with goto err_bau_disable and free the per_cpu cpumasks to fix a memory leak. Signed-off-by: Andrew Banman Acked-by: Russ Anderson Acked-by: Mike Travis --- arch/x86/platform/uv/tlb_uv.c | 21 - 1 file changed, 16 insertions(+), 5 deletions

Re: [PATCH] x86/platform/uv/BAU: disable BAU on single hub configurations

2017-07-20 Thread Andrew Banman
On Thu, Jul 20, 2017 at 01:47:50PM +0200, Ingo Molnar wrote: > > * Andrew Banman wrote: > > > The BAU confers no benefit to a UV system running with only one hub/socket. > > Permanently disable the BAU driver if there are less than two hubs online > > to avoid BAU

[PATCH] x86/platform/uv/BAU: disable BAU on single hub configurations

2017-07-18 Thread Andrew Banman
: Andrew Banman Acked-by: Russ Anderson Acked-by: Mike Travis --- arch/x86/platform/uv/tlb_uv.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index 2511a28..88216cc 100644 --- a/arch/x86/platform/uv/tlb_uv.c +++ b/arch/x86

[tip:x86/platform] x86/platform/uv/BAU: Implement uv4_wait_completion with read_status

2017-03-13 Thread tip-bot for Andrew Banman
Commit-ID: 2f2a033fb5819c393d65da9b6233e095f3690f15 Gitweb: http://git.kernel.org/tip/2f2a033fb5819c393d65da9b6233e095f3690f15 Author: Andrew Banman AuthorDate: Thu, 9 Mar 2017 10:42:14 -0600 Committer: Thomas Gleixner CommitDate: Mon, 13 Mar 2017 14:26:29 +0100 x86/platform/uv/BAU

[tip:x86/platform] x86/platform/uv/BAU: Add wait_completion to bau_operations

2017-03-13 Thread tip-bot for Andrew Banman
Commit-ID: 2620bbbf1f4f187952fb35861f4473860c432728 Gitweb: http://git.kernel.org/tip/2620bbbf1f4f187952fb35861f4473860c432728 Author: Andrew Banman AuthorDate: Thu, 9 Mar 2017 10:42:13 -0600 Committer: Thomas Gleixner CommitDate: Mon, 13 Mar 2017 14:26:29 +0100 x86/platform/uv/BAU

[tip:x86/platform] x86/platform/uv/BAU: Add status mmr location fields to bau_control

2017-03-13 Thread tip-bot for Andrew Banman
Commit-ID: dfeb28f068ff9cc4f714c7d1edaf61597ea1768b Gitweb: http://git.kernel.org/tip/dfeb28f068ff9cc4f714c7d1edaf61597ea1768b Author: Andrew Banman AuthorDate: Thu, 9 Mar 2017 10:42:12 -0600 Committer: Thomas Gleixner CommitDate: Mon, 13 Mar 2017 14:26:29 +0100 x86/platform/uv/BAU

[tip:x86/platform] x86/platform/uv/BAU: Cleanup bau_operations declaration and instances

2017-03-13 Thread tip-bot for Andrew Banman
Commit-ID: 8e3b21b6dbf0318d5b3a598572acc23f07189c40 Gitweb: http://git.kernel.org/tip/8e3b21b6dbf0318d5b3a598572acc23f07189c40 Author: Andrew Banman AuthorDate: Thu, 9 Mar 2017 10:42:11 -0600 Committer: Thomas Gleixner CommitDate: Mon, 13 Mar 2017 14:26:28 +0100 x86/platform/uv/BAU

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

2017-03-13 Thread tip-bot for Andrew Banman
Commit-ID: e9be36443cecda1be20b2cc3b891676ff2af9dff Gitweb: http://git.kernel.org/tip/e9be36443cecda1be20b2cc3b891676ff2af9dff Author: Andrew Banman AuthorDate: Thu, 9 Mar 2017 10:42:10 -0600 Committer: Thomas Gleixner CommitDate: Mon, 13 Mar 2017 14:26:28 +0100 x86/platform/uv/BAU

[tip:x86/platform] x86/platform/uv/BAU: Add uv_bau_version enumerated constants

2017-03-13 Thread tip-bot for Andrew Banman
Commit-ID: 491bd88cdb256cdabd25362b923d94ab80cf72c9 Gitweb: http://git.kernel.org/tip/491bd88cdb256cdabd25362b923d94ab80cf72c9 Author: Andrew Banman AuthorDate: Thu, 9 Mar 2017 10:42:09 -0600 Committer: Thomas Gleixner CommitDate: Mon, 13 Mar 2017 14:26:28 +0100 x86/platform/uv/BAU

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

2017-03-09 Thread Andrew Banman
Please see the commit messages for details on the motivation and content of each patch. Thank you, Andrew Banman HPE, Linux Kernel Engineer

[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 3/6] x86/platform/uv/BAU: Cleanup bau_operations declaration and instances

2017-03-09 Thread Andrew Banman
-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 22 ++-- arch/x86/platform/uv/tlb_uv.c| 43 2 files changed, 32 insertions(+), 33 deletions(-) diff --git a/arch/x86/include/asm/uv/uv_bau.h b/arch/x86

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

2017-03-09 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 | 58 ++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/arch/x86

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

2017-03-09 Thread Andrew Banman
. Enforce the size of each field by using the appropriate u** integer type. Replace extraneous comments with KernelDoc comment. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 40 arch/x86/platform/uv/tlb_uv.c

[PATCH 4/6] x86/platform/uv/BAU: Add status mmr location fields to bau_control

2017-03-09 Thread Andrew Banman
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 Acked-by: Mike Travis --- arch/x86

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

2017-03-09 Thread Andrew Banman
split into uv1 and uv2_3 versions to accommodate the corresponding wait_completion routines. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 2 ++ arch/x86/platform/uv/tlb_uv.c| 31 ++- 2 files changed, 20 insertions(+), 13

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

2017-03-08 Thread Andrew Banman
Hi Ingo and Thomas, Are these patches acceptable to you? We want to get these upstream as soon as possible, so please send along any more comments you have. If you're annoyed by the format of the emails just let me know and I'll resubmit. Thank you, Andrew On 2/17/17 4:06 PM, And

[tip:x86/urgent] x86/platform/uv/BAU: Fix HUB errors by remove initial write to sw-ack register

2017-03-01 Thread tip-bot for Andrew Banman
Commit-ID: 1b17c6df852851b40c3c27c66b8fa2fd99cf25d8 Gitweb: http://git.kernel.org/tip/1b17c6df852851b40c3c27c66b8fa2fd99cf25d8 Author: Andrew Banman AuthorDate: Fri, 17 Feb 2017 11:07:49 -0600 Committer: Ingo Molnar CommitDate: Wed, 1 Mar 2017 10:28:20 +0100 x86/platform/uv/BAU: Fix

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

2017-02-27 Thread Andrew Banman
split into uv1 and uv2_3 versions to accommodate the corresponding wait_completion routines. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 2 ++ arch/x86/platform/uv/tlb_uv.c| 31 ++- 2 files changed, 20 insertions(+), 13

Re: [PATCH v2 5/6] x86/platform/uv/BAU: Add wait_completion to bau_operations

2017-02-27 Thread Andrew Banman
The above patch has a conflict in wait_completion with the enumerated UV_BAU symbol because I let an old version of the patch creep into the set. Following is the correct version. Sorry about that! Andrew

[PATCH v2 4/6] x86/platform/uv/BAU: Add status mmr location fields to bau_control

2017-02-27 Thread Andrew Banman
status_index fields to bau_control and compute their values during initialization. Update uv*_wait_completion to use these fields rather than receiving the information as parameters. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 10 +++-- arch/x86

Re: [PATCH 4/6] x86/platform/uv/BAU: Add status mmr location fields to bau_control

2017-02-27 Thread Andrew Banman
The above patch has a conflict in wait_completion with the enumerated UV_BAU symbol because I let an old version of the patch creep into the set. Following is the correct version. Sorry about that! Andrew

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

2017-02-17 Thread Andrew Banman
] x86/platform/uv/BAU: Add wait_completion to [PATCH v2 6/6] x86/platform/uv/BAU: Implement uv4_wait_completion with Please see the commit messages for details on the motivation and content of each patch. Thank you, Andrew Banman HPE, Linux Kernel Engineer

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

2017-02-17 Thread Andrew Banman
verified. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 40 arch/x86/platform/uv/tlb_uv.c| 27 +++ 2 files changed, 47 insertions(+), 20 deletions(-) diff --git a/arch/x86/include/asm/uv

[PATCH 4/6] x86/platform/uv/BAU: Add status mmr location fields to bau_control

2017-02-17 Thread Andrew Banman
status_index fields to bau_control and compute their values during initialization. Update uv*_wait_completion to use these fields rather than receiving the information as parameters. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 10 +++-- arch/x86

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

2017-02-17 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 | 58 ++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/arch/x86

[PATCH 3/6] x86/platform/uv/BAU: Cleanup bau_operations declaration and instances

2017-02-17 Thread Andrew Banman
-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 22 ++-- arch/x86/platform/uv/tlb_uv.c| 43 2 files changed, 32 insertions(+), 33 deletions(-) diff --git a/arch/x86/include/asm/uv/uv_bau.h b/arch/x86

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

2017-02-17 Thread Andrew Banman
split into uv1 and uv2_3 versions to accomodate the corresponding wait_completion routines. Signed-off-by: Andrew Banman Acked-by: Mike Travis --- arch/x86/include/asm/uv/uv_bau.h | 2 ++ arch/x86/platform/uv/tlb_uv.c| 31 ++- 2 files changed, 20 insertions(+), 13

[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 --- arch

[PATCH] x86/platform/uv/BAU: Remove initial write to swack register

2017-02-17 Thread Andrew Banman
: Andrew Banman Acked-by: Mike Travis --- arch/x86/platform/uv/tlb_uv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index 766d4d3..f25982c 100644 --- a/arch/x86/platform/uv/tlb_uv.c +++ b/arch/x86/platform/uv/tlb_uv.c @@ -1847,7

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

2017-02-16 Thread Andrew Banman
On 02/16/2017 12:07 PM, Thomas Gleixner wrote: On Tue, 14 Feb 2017, Andrew Banman wrote: The location of the ERROR and BUSY status bits depends on the descriptor index, i.e. the CPU, of the message. We determine this location ahead of the wait_completion loop to avoid repeating the

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

2017-02-16 Thread Andrew Banman
ndrew Banman On 02/16/2017 12:42 PM, Thomas Gleixner wrote: On Tue, 14 Feb 2017, Andrew Banman wrote: On UV4, the destination agent verifies each message by checking the descriptor qualifier field of the message payload. Messages without this field set to 0x534749 will cause a hub error to assert.

[PATCH 5/6] x86/platform/uv/BAU: Remove initial write to swack register

2017-02-14 Thread Andrew Banman
: Andrew Banman Acked-by: Mike Travis --- arch/x86/platform/uv/tlb_uv.c | 1 - 1 file changed, 1 deletion(-) Index: community/arch/x86/platform/uv/tlb_uv.c === --- community.orig/arch/x86/platform/uv/tlb_uv.c +++ community/arch/x86

[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 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 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 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 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 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 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 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 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 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 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 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 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-by

[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 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 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
: 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 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 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 --- a

[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
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 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 --- a

[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 a

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

2016-09-20 Thread Andrew Banman
: 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 UV4 s

[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 chang

[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 fixes

[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 a

[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 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   >