From patchwork Mon Oct 9 21:11:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Henrique Barboza X-Patchwork-Id: 823529 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y9tJr1TgZz9t5Q for ; Tue, 10 Oct 2017 08:13:48 +1100 (AEDT) Received: from localhost ([::1]:59828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1fMw-0000PL-7K for incoming@patchwork.ozlabs.org; Mon, 09 Oct 2017 17:13:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1fLC-0007tz-HA for qemu-devel@nongnu.org; Mon, 09 Oct 2017 17:11:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1fL9-00017F-7g for qemu-devel@nongnu.org; Mon, 09 Oct 2017 17:11:58 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:41434 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e1fL9-00016X-23 for qemu-devel@nongnu.org; Mon, 09 Oct 2017 17:11:55 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v99L8pfk023779 for ; Mon, 9 Oct 2017 17:11:50 -0400 Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by mx0b-001b2d01.pphosted.com with ESMTP id 2dggma8j4m-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 09 Oct 2017 17:11:50 -0400 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 9 Oct 2017 15:11:49 -0600 Received: from b03cxnp08026.gho.boulder.ibm.com (9.17.130.18) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 9 Oct 2017 15:11:47 -0600 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v99LBk7D60358658; Mon, 9 Oct 2017 14:11:46 -0700 Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D42BBBE042; Mon, 9 Oct 2017 15:11:46 -0600 (MDT) Received: from localhost.localdomain (unknown [9.80.211.183]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP id 33715BE03A; Mon, 9 Oct 2017 15:11:44 -0600 (MDT) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Date: Mon, 9 Oct 2017 18:11:35 -0300 X-Mailer: git-send-email 2.13.6 X-TM-AS-GCONF: 00 x-cbid: 17100921-0008-0000-0000-000008B035CC X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007870; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000235; SDB=6.00928794; UDB=6.00467453; IPR=6.00709066; BA=6.00005631; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00017464; XFM=3.00000015; UTC=2017-10-09 21:11:49 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17100921-0009-0000-0000-0000444B8C5C Message-Id: <20171009211136.31640-1-danielhb@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-10-09_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1710090307 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 148.163.158.5 Subject: [Qemu-devel] [PATCH v2 0/1] Avoid LMB unplug if a previous unplug isn't X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-ppc@nongnu.org, mdroth@linux.vnet.ibm.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" v2: - changed the approach: abort the LMB unplug if there is already an unplug operation ongoing for the same DIMM. v1 can be found at http://lists.nongnu.org/archive/html/qemu-ppc/2017-10/msg00084.html This fixes https://bugs.launchpad.net/qemu/+bug/1718118 . Daniel Henrique Barboza (1): hw/ppc/spapr.c: abort unplug_request if previous unplug isn't done hw/ppc/spapr.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-)