Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1675913 > unrolled thread

Re: [PATCH v2 2/3] cros_ec: Fix deadlock when EC is not responsive at probe

Started byBenson Leung <bleung@google.com>
First post2017-06-27 17:40 +0200
Last post2017-06-27 17:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 2/3] cros_ec: Fix deadlock when EC is not responsive  at probe Benson Leung <bleung@google.com> - 2017-06-27 17:40 +0200

#1675913 — Re: [PATCH v2 2/3] cros_ec: Fix deadlock when EC is not responsive at probe

FromBenson Leung <bleung@google.com>
Date2017-06-27 17:40 +0200
SubjectRe: [PATCH v2 2/3] cros_ec: Fix deadlock when EC is not responsive at probe
Message-ID<tX0KS-2rx-21@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi Thierry,

On Tue, Feb 14, 2017 at 08:58:01PM +0100, Thierry Escande wrote:
> From: Gwendal Grignou <gwendal@chromium.org>
> 
> When the EC is not responsive at probe, we try to get basic information
> (protocol to use) later on through cros_xfer_cmd() call.
> This patch makes sure there is no deadlock when re-probing the EC by
> replacing call to cros_xfer_cmd() with send_command() in the function
> cros_ec_get_host_command_version_mask(). Also, this patch adds the
> function header indicating it must be called protected.
> 
> Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
> Signed-off-by: Thierry Escande <thierry.escande@collabora.com>

Applied. Thanks again!

-- 
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@google.com
Chromium OS Project
bleung@chromium.org

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web