[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

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

[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 <aban...@hpe.com> AuthorDate: Tue, 27 Mar 2018 17:09:06 -0500 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate: Wed,

[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 <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- 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 --gi

[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 <aban...@hpe.com> AuthorDate: Mon, 8 Jan 2018 13:43:12 -0600 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Tue, 16 Ja

[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 <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/include/asm/uv/uv_bau.h | 1 - arch/x86

[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 <aban...@hpe.com> Acked-by: Mike Travis <tra...@sgi.com> --- arch/x86/include/asm/uv/uv_bau.h | 1 - arch/x86/platform

[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

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

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<aban...@hpe.com> Cc: Mike Travis<mike.tra..

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 <aban...@hpe.com> # 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] i

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

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
there are uninitialized SMIs by checking for a handler pointer before starting the check enables transaction. Signed-off-by: Andrew Banman <aban...@hpe.com> --- 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/driver

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

2017-11-08 Thread Andrew Banman
there are 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 <aban...@hpe.com> On Thu, Aug 10, 2017 at 05:30:06PM +0100, Colin King wrote: > From: Colin Ian King <colin.k...@canonical.com> > > Make array timeout_base_ns const. Also the function process_uv2_message > is local to the source and do not need t

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

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

[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 <aban...@hpe.com> AuthorDate: Thu, 20 Jul 2017 17:05:51 -0500 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Fri, 21 Ju

[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 <aban...@hpe.com> Acked-by: Russ Anderson <r...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/platfor

[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 <aban...@hpe.com> 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 &g

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
-by: Andrew Banman <aban...@hpe.com> Acked-by: Russ Anderson <r...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- 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 2511a

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

2017-07-18 Thread Andrew Banman
-by: 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 <aban...@hpe.com> AuthorDate: Thu, 9 Mar 2017 10:42:14 -0600 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate: Mon,

[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 <aban...@hpe.com> AuthorDate: Thu, 9 Mar 2017 10:42:13 -0600 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate: Mon,

[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 <aban...@hpe.com> AuthorDate: Thu, 9 Mar 2017 10:42:12 -0600 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate: Mon,

[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 <aban...@hpe.com> AuthorDate: Thu, 9 Mar 2017 10:42:11 -0600 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate: Mon,

[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 <aban...@hpe.com> AuthorDate: Thu, 9 Mar 2017 10:42:10 -0600 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate: Mon,

[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 <aban...@hpe.com> AuthorDate: Thu, 9 Mar 2017 10:42:09 -0600 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate: Mon,

[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
with Please see the commit messages for details on the motivation and content of each patch. Thank you, Andrew Banman HPE, Linux Kernel Engineer <aban...@hpe.com>

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

2017-03-09 Thread Andrew Banman
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 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 <aban...@hpe.com> --- arch/x86/include/asm/uv/uv_bau.h | 7 +++ arch/x86/platform/uv/tlb_uv.c| 16 2 files changed, 15 inse

[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 <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- 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 --gi

[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 <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/platform/uv/tlb_uv.c | 58 ++- 1 file changed, 57 inse

[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 <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/include/asm/uv/u

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

2017-03-09 Thread Andrew Banman
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 <aban...@hpe.com> Acked-by: Mike

[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
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 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
be split into uv1 and uv2_3 versions to accommodate the corresponding wait_completion routines. Signed-off-by: Andrew Banman <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/include/asm/uv/uv_bau.h | 2 ++ arch/x86/platform/uv/tlb_

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

2017-03-09 Thread Andrew Banman
be 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, Andrew Banman

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, Andrew Banman

[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 <aban...@hpe.com> AuthorDate: Fri, 17 Feb 2017 11:07:49 -0600 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Wed, 1 Ma

[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
be split into uv1 and uv2_3 versions to accommodate the corresponding wait_completion routines. Signed-off-by: Andrew Banman <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/include/asm/uv/uv_bau.h | 2 ++ arch/x86/platform/uv/tlb_

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 v3 5/6] x86/platform/uv/BAU: Add wait_completion to bau_operations

2017-02-27 Thread Andrew Banman
be 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
and 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 <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/in

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

2017-02-27 Thread Andrew Banman
and 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

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 <aban...@hpe.com>

[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
is verified. Signed-off-by: Andrew Banman <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/include/asm/uv/uv_bau.h | 40 arch/x86/platform/uv/tlb_uv.c| 27 +++ 2 files changed, 47 insertions(+),

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

2017-02-17 Thread Andrew Banman
and 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 <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86

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

2017-02-17 Thread Andrew Banman
is 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
and 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 <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/platform/uv/tlb_uv.c | 58 ++- 1 file changed, 57 inse

[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 <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- 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 --gi

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

2017-02-17 Thread Andrew Banman
be split into uv1 and uv2_3 versions to accomodate the corresponding wait_completion routines. Signed-off-by: Andrew Banman <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- arch/x86/include/asm/uv/uv_bau.h | 2 ++ arch/x86/platform/uv/tlb_uv.c| 31 ++

[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
be 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 <aban...@hpe.com> Acked-by

[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
-by: Andrew Banman <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- 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.

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

2017-02-17 Thread Andrew Banman
-by: 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

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

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

2017-02-16 Thread Andrew Banman
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. Ok

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

2017-02-16 Thread Andrew Banman
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. Ok

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

2017-02-14 Thread Andrew Banman
-by: Andrew Banman <aban...@hpe.com> Acked-by: Mike Travis <mike.tra...@hpe.com> --- 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/

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

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

  1   2   3   >