Received: by 10.223.185.116 with SMTP id b49csp6727859wrg; Wed, 28 Feb 2018 14:32:38 -0800 (PST) X-Google-Smtp-Source: AH8x225VbYV7YFhvDJPHVWSn0shAtKaV4OPubM0D5aNx/bMOmvA9suDGm21L7lbTYZlIQDx8mbrt X-Received: by 2002:a17:902:aa8d:: with SMTP id d13-v6mr19421082plr.114.1519857158242; Wed, 28 Feb 2018 14:32:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519857158; cv=none; d=google.com; s=arc-20160816; b=oT1ig9fdPsotmR4bx+gJaWVvCP+zM3E8d+66YtxX7NPP9DlUUc7onQqfi/pT70vjHs 7Ka3WMJUnr3V5mNBgnFvaqZBRhf4woQ2BcACJI6BNu6UKyTt/6kFBhdQ4N5sq7FQqonE NeC6P1NdjShQvJEhGiI0Km21wa1ogjKepcIbBOHfY5mktfy1gM5vD2IUWnQdK9Anmsqh B1Ct3QLK0wE5dvdoeInHQX7dPvdvl5hBYbeITLqwkNVOrRaymMt685KOS7uQsRIX48wu lFgn2kFJJrzyw4s0QL8gEo+pIVx2CxIouHH58e0oqNDjgCyLmGE2Fb5YZnifJEj5a6Dx KaNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:arc-authentication-results; bh=dg6BYn47mVGq8xGJ5GtohbVhY8KBDl4dUjRHqMr+QTM=; b=W+kPnNdHwRTjLB4PWa9dbnCpRraD1Dm1LpifFZzj2xMTwsNF3yMZtDnVvQt0HEmF2U 5dg9Ax6v1Ojh8LDsDChqRN5Vs7fHuIuXg3c1vSdc+f+Iih4UVJAMTpWG7jruQn0LHAum ubaBnBMFnNb5BTeE6/XcBDmm0yxofl1psJvkgQc5jQ+p6R+jctXkyHomQR+vp7D0fuak JJ3+A4cygBFK7bi40hGMDIsbUIqf2XAokj+vyCSkXbYec5HaEHo0cJ6oCzNlmNpDr7Dv JZdyfMnFl1BDBk/R3eUKB67V8I0PfGaeA+gvb1bNYl6AH5ihOAJWh+pwT82UtGqZbMKo gb9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u68si1563722pgb.287.2018.02.28.14.32.23; Wed, 28 Feb 2018 14:32:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935384AbeB1Wbh (ORCPT + 99 others); Wed, 28 Feb 2018 17:31:37 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47898 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935151AbeB1Wbg (ORCPT ); Wed, 28 Feb 2018 17:31:36 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1SMSrsh046838 for ; Wed, 28 Feb 2018 17:31:35 -0500 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ge4tys9ty-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 28 Feb 2018 17:31:35 -0500 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 28 Feb 2018 17:31:34 -0500 Received: from b01cxnp22033.gho.pok.ibm.com (9.57.198.23) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 28 Feb 2018 17:31:31 -0500 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1SMVVhN41156610; Wed, 28 Feb 2018 22:31:31 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 64AED124044; Wed, 28 Feb 2018 18:33:46 -0500 (EST) Received: from ltc.linux.ibm.com (unknown [9.16.170.189]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP id C4877124035; Wed, 28 Feb 2018 18:33:45 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 28 Feb 2018 16:31:37 -0600 From: wenxiong To: wenxiong@linux.vnet.ibm.com Cc: linux-nvme@lists.infradead.org, keith.busch@intel.com, axboe@fb.com, linux-kernel@vger.kernel.org, wenxiong@us.ibm.com Subject: Re: [PATCH V3] nvme-pci: Fixes EEH failure on ppc In-Reply-To: <1518725110-25894-1-git-send-email-wenxiong@linux.vnet.ibm.com> References: <1518725110-25894-1-git-send-email-wenxiong@linux.vnet.ibm.com> X-Sender: wenxiong@linux.vnet.ibm.com User-Agent: Roundcube Webmail/1.0.1 X-TM-AS-GCONF: 00 x-cbid: 18022822-0048-0000-0000-000002422E11 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008604; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000254; SDB=6.00996501; UDB=6.00506612; IPR=6.00775823; MB=3.00019785; MTD=3.00000008; XFM=3.00000015; UTC=2018-02-28 22:31:33 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18022822-0049-0000-0000-00004449FEA0 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-28_12:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802280274 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-02-15 14:05, wenxiong@linux.vnet.ibm.com wrote: > From: Wen Xiong > > With b2a0eb1a0ac72869c910a79d935a0b049ec78ad9(nvme-pci: Remove watchdog > timer), EEH recovery stops working on ppc. > > After removing whatdog timer routine, when trigger EEH on ppc, we hit > EEH in nvme_timeout(). We would like to check if pci channel is offline > or not at the beginning of nvme_timeout(), if it is already offline, > we don't need to do future nvme timeout process. > > Add mrmory barrier before calling pci_channel_offline(). > > With the patch, EEH recovery works successfuly on ppc. > > Signed-off-by: Wen Xiong Hi Keith and All, We have the newer Linux distro releases came out recently, so I got more reports for this issue. Test teams have verified the patch in several distro kernel version(v4.14, v4.15). If you have any question about the V3 patch I submitted two weeks, Let me know. Thanks, Wendy