Skip to contentSkip to conversation

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

PATCH New Andrew Banman 2 participants 2 messages Feb 17, 2017 – Mar 1, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/platform/uv/BAU: Remove initial write to swack 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.

---
 arch/x86/platform/uv/tlb_uv.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/platform/uv/tlb_uv.c +0 -1
index 766d4d3..f25982c 100644
@@ -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);
Signature · 1 line
1.8.2.1
#1 lore raw

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

x86/platform/uv/BAU: Fix HUB errors by remove initial write to sw-ack register
Commit-ID:  1b17c6df852851b40c3c27c66b8fa2fd99cf25d8
Gitweb:     http://git.kernel.org/tip/1b17c6df852851b40c3c27c66b8fa2fd99cf25d8
Author:     Andrew Banman <[email protected]>
AuthorDate: Fri, 17 Feb 2017 11:07:49 -0600
Committer:  Ingo Molnar <[email protected]>
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.

---
 arch/x86/platform/uv/tlb_uv.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/platform/uv/tlb_uv.c +0 -1
index 766d4d3..f25982c 100644
@@ -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);