]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: retry domain service registration MIME-Version: 1.0 Content-Type: text/plain...
authorAllen Pais <allen.pais@oracle.com>
Fri, 2 Jan 2015 05:44:49 +0000 (11:14 +0530)
committerAllen Pais <allen.pais@oracle.com>
Wed, 9 Sep 2015 18:42:25 +0000 (00:12 +0530)
commit2f3da4d64b2e179d404f4ab7821946bfe53995ec
tree4d1877c295db73ce01cbba5105fb4b2cbe9fd509
parentc03249bfd7dc0957d99d12bff7c9b0dd189ad7f2
sparc64: retry domain service registration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit

Domain service registration intermittently fails. Though using “reliable"
LDC communication, this only guarantees the data, not delivery. Analysis
indicated a timing issue that varies between boots. LDOM domain service
architecture is now sufficiently complicated that packets (domain service
registration requests in this case) do apparently get lost, the symptoms
being receiving neither an ACK or a NACK on the initial service registration
request.

This patch uses a timer and retries with delay up to N (currently 5) times
any requests that went unacknowledged, positively or negatively, before
reporting a failed registration attempt. Using timer with callback allows early
boot to progress as normal versus spinning in a loop. Also clean up of
./script/checkpatch.pl warnings and errors in ds.c.

Orabug: 17375532

Signed-off-by: Chris Hyser <chris.hyser@oracle.com>
Signed-off-by: Jerry Snitselaar <jerry.snitselaar@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
(cherry picked from commit e7fd5c877a8f05f90ef243d24ce77228099e1f8f)
(cherry picked from commit b8a5edc0c4e25089d83343b27ab5d24807427ad1)
arch/sparc/kernel/ds.c