Message ID | 1517511182-9944-7-git-send-email-minyard@acm.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1973997ljc; Thu, 1 Feb 2018 10:53:46 -0800 (PST) X-Google-Smtp-Source: AH8x227BsS/m828UNB2sppOow1o67I0lHKR6deTiSi0+yzR/HmDaW1g5VrOX5P52UCeEbuikmn9v X-Received: by 10.37.108.193 with SMTP id h184mr24702144ybc.209.1517511226018; Thu, 01 Feb 2018 10:53:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517511226; cv=none; d=google.com; s=arc-20160816; b=f8wYS5rViq7hAY7e/gYWswi8PQBY/CFfTpo+Izw9wP50/pPrHOnIGCnawkN80WMZYn RQlVDL8/4uL5AO/nCftn4xfPHWX/9n+p+lQFRaripMGWzRdKr9nOGOd7t0R+JEdxhQ9e gLiAqWXipeBQqmj13aWJu/6nwH84st79MKLrQyY9APKHfX/V3J/Wf5iq8v+jbRjBU84V o88STYG/rQkD3Mpwew8mToP14nfvUA2Rpw+soEajhOLDIrZ4VKHN3E/jBPn2gYR/3gIB uzB2nLw9u6MXj3o7DXaOW6UT7LzYMCWXsE3eAmSBiO4AMxQg/vZYOWEeOAMzC24kp8ja wRnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=/QGOBcMrH4T9ElzJSxufobUIaeWa+5jws9ddCKX1n40=; b=NppknTFLqKuNbrpsoT/wVpY1NHOrANrKF0deU/vFD0ylq5tM9btvwg14xMNenGkZXy FMqI6KT4WWn2qwOK4+UdEAED5O54G3hSNVqn5A3W+AX14twU919rX4gyjr0C/fPW1c8f s5Fv51owayBENLgCRq1dt7Z9ZSls67aopC72Oba/AekilXIxVKlLZsq9IwLt6fusfwsf 6z/Q/doMyYECZPLmFkwoTbArFxLBOoPlQK81qtge5/JAfGow1wqDNhxpTAn5ZeobTaTw sK8JnV51G0nBsBPNRXvhznapTf03pMX8lvWnIWp2IL9I8d0SK46Kf7ThG+JqktkrYFkg Xgbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=MbxNkC56; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id q1si47745ybk.264.2018.02.01.10.53.45 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 01 Feb 2018 10:53:46 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=MbxNkC56; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Received: from localhost ([::1]:54686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1ehJzV-0003Jn-Du for patch@linaro.org; Thu, 01 Feb 2018 13:53:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1ehJz2-0003HT-Os for qemu-devel@nongnu.org; Thu, 01 Feb 2018 13:53:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1ehJz0-0000B6-Am for qemu-devel@nongnu.org; Thu, 01 Feb 2018 13:53:16 -0500 Received: from mail-ot0-x243.google.com ([2607:f8b0:4003:c0f::243]:35261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1ehJz0-0000AT-6S for qemu-devel@nongnu.org; Thu, 01 Feb 2018 13:53:14 -0500 Received: by mail-ot0-x243.google.com with SMTP id a2so6527186otf.2 for <qemu-devel@nongnu.org>; Thu, 01 Feb 2018 10:53:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=/QGOBcMrH4T9ElzJSxufobUIaeWa+5jws9ddCKX1n40=; b=MbxNkC56H836JEBNzx5R+GUNDnPjyA+Xp5+N7A7aExvJkpyEUzVWW+wMIqk4xJacqD YuY40p2ZiYune1+J/TDEI2Fg2NdYdY7QRFcugSHxxXnmif0en+mgW8NWzQpLy7mXco4F doHDkajNbdFOKiYreJxPK4v28zYXrTG5TRuYFrzsZSoYIIk/5m7KLfHqcoxPhNOCaBPz K1RlUzhPaq/9Ia0jYWgrvwa1MKy5tblOwGWWHE9lI7PNefHPfPQnpwc+vLEg1rlAOsnS dZBFhFdx0U7ryi+xDGfT1TG5q3TRw2DwSpWpXXQ2Uo0WpjrRwmWl+mue80k8rhBE9zE3 37YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=/QGOBcMrH4T9ElzJSxufobUIaeWa+5jws9ddCKX1n40=; b=q2qK5D3noivWr5dQ0qI1ksA/xLBOqlSjLOV84WncS+oTXnmWWgRRcVoW7cnzHRMefA 2hlxkBqes6HNi2ivGzKaF1+T9Op142PYyf9YmIlR69QfxVuoub5o94O9TZxbHl3i+CMh lR2yWhJZ7iaz3WNCaPr2o3U7st34H00a0TAMscCgBOluz24RivHv18MJn77OXAP41MHc AxxWyA08kWtTYAbjwyUdB1jIbz3Q1+8gyvebNsZA2OnbrU7cBViiwU8RdziHq00woO5t bihJvHQsakfLCMlof2HyIIPd9NvHFNaDEYwx4NncnYLysrhsOH20QgKoWZHLDxqKBfRa Kp3w== X-Gm-Message-State: AKwxytfmv0sUcffio4SabUHDAaUT+JoFWxt9OwAdx4wQQjhsWr238mHs cPA7pA+mB0mZ3mcIwNKPxyai5NY= X-Received: by 10.157.46.206 with SMTP id w72mr17780681ota.16.1517511193376; Thu, 01 Feb 2018 10:53:13 -0800 (PST) Received: from serve.minyard.net ([47.184.168.85]) by smtp.gmail.com with ESMTPSA id z51sm113383otd.72.2018.02.01.10.53.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 10:53:11 -0800 (PST) Received: from t430.minyard.net (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPA id 3E2B8DF4; Thu, 1 Feb 2018 12:53:07 -0600 (CST) Received: by t430.minyard.net (Postfix, from userid 1000) id 072FD300964; Thu, 1 Feb 2018 12:53:04 -0600 (CST) From: minyard@acm.org To: Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org Date: Thu, 1 Feb 2018 12:53:01 -0600 Message-Id: <1517511182-9944-7-git-send-email-minyard@acm.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517511182-9944-1-git-send-email-minyard@acm.org> References: <1517511182-9944-1-git-send-email-minyard@acm.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::243 Subject: [Qemu-devel] [PATCH 6/7] ipmi: disable IRQ and ATN on an external disconnect X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Corey Minyard <cminyard@mvista.com> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[1/7] Add maintainer for the IPMI code
|
expand
|
diff --git a/hw/ipmi/ipmi_bmc_extern.c b/hw/ipmi/ipmi_bmc_extern.c index 8c0535d..bf0b7ee 100644 --- a/hw/ipmi/ipmi_bmc_extern.c +++ b/hw/ipmi/ipmi_bmc_extern.c @@ -425,6 +425,11 @@ static void chr_event(void *opaque, int event) return; } ibe->connected = false; + /* + * Don't hang the OS trying to handle the ATN bit, other end will + * resend on a reconnect. + */ + k->set_atn(s, 0, 0); if (ibe->waiting_rsp) { ibe->waiting_rsp = false; ibe->inbuf[1] = ibe->outbuf[1] | 0x04;