From: Ian Munsie Date: Mon, 8 Dec 2014 08:17:56 +0000 (+1100) Subject: cxl: Add timeout to process element commands X-Git-Tag: omap-for-v3.20/drop-legacy-3517~26^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a98e6e9f4e0224d85b4d951edc44af16dfe6094a;p=pandora-kernel.git cxl: Add timeout to process element commands In the event that something goes wrong in the hardware and it is unable to complete a process element comment we would end up polling forever, effectively making the associated process unkillable. This patch adds a timeout to the process element command code path, so that we will give up if the hardware does not respond in a reasonable time. Cc: stable@vger.kernel.org Signed-off-by: Ian Munsie Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed