All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/platform/uv/BAU: Remove initial write to swack register
@ 2017-02-17 17:07 Andrew Banman
  2017-03-01  9:48 ` [tip:x86/urgent] x86/platform/uv/BAU: Fix HUB errors by remove initial write to sw-ack register tip-bot for Andrew Banman
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Banman @ 2017-02-17 17:07 UTC (permalink / raw)
  To: mingo
  Cc: akpm, tglx, hpa, mike.travis, rja, sivanich, x86, linux-kernel, abanman

Writing to the software acknowledge clear register when there are no
pending messages causes a HUB error to assert. The original intent of this
write was to clear the pending bits before start of operation, but this is
an incorrect method and has been determined to be unnecessary.

Signed-off-by: Andrew Banman <abanman@hpe.com>
Acked-by: Mike Travis <mike.travis@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.c
+++ b/arch/x86/platform/uv/tlb_uv.c
@@ -1847,7 +1847,6 @@ static void pq_init(int node, int pnode)
 
 	ops.write_payload_first(pnode, first);
 	ops.write_payload_last(pnode, last);
-	ops.write_g_sw_ack(pnode, 0xffffUL);
 
 	/* in effect, all msg_type's are set to MSG_NOOP */
 	memset(pqp, 0, sizeof(struct bau_pq_entry) * DEST_Q_SIZE);
-- 
1.8.2.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip:x86/urgent] x86/platform/uv/BAU: Fix HUB errors by remove initial write to sw-ack register
  2017-02-17 17:07 [PATCH] x86/platform/uv/BAU: Remove initial write to swack register Andrew Banman
@ 2017-03-01  9:48 ` tip-bot for Andrew Banman
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Andrew Banman @ 2017-03-01  9:48 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: torvalds, mingo, linux-kernel, dvlasenk, peterz, jpoimboe, tglx,
	luto, hpa, bp, abanman, mike.travis, brgerst

Commit-ID:  1b17c6df852851b40c3c27c66b8fa2fd99cf25d8
Gitweb:     http://git.kernel.org/tip/1b17c6df852851b40c3c27c66b8fa2fd99cf25d8
Author:     Andrew Banman <abanman@hpe.com>
AuthorDate: Fri, 17 Feb 2017 11:07:49 -0600
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 1 Mar 2017 10:28:20 +0100

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

Writing to the software acknowledge clear register when there are no
pending messages causes a HUB error to assert. The original intent of this
write was to clear the pending bits before start of operation, but this is
an incorrect method and has been determined to be unnecessary.

Signed-off-by: Andrew Banman <abanman@hpe.com>
Acked-by: Mike Travis <mike.travis@hpe.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: akpm@linux-foundation.org
Cc: rja@hpe.com
Cc: sivanich@hpe.com
Link: http://lkml.kernel.org/r/1487351269-181133-1-git-send-email-abanman@hpe.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 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 +1847,6 @@ static void pq_init(int node, int pnode)
 
 	ops.write_payload_first(pnode, first);
 	ops.write_payload_last(pnode, last);
-	ops.write_g_sw_ack(pnode, 0xffffUL);
 
 	/* in effect, all msg_type's are set to MSG_NOOP */
 	memset(pqp, 0, sizeof(struct bau_pq_entry) * DEST_Q_SIZE);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-01 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-17 17:07 [PATCH] x86/platform/uv/BAU: Remove initial write to swack register Andrew Banman
2017-03-01  9:48 ` [tip:x86/urgent] x86/platform/uv/BAU: Fix HUB errors by remove initial write to sw-ack register tip-bot for Andrew Banman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.