Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp733473pxb; Thu, 25 Feb 2021 13:45:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfioG8nCgwxtWzX2Vjjy23tkO1Hxvrn0owjWCSk7ygH/zTRVNzUEAqp8Ul0onjD6w+RkvO X-Received: by 2002:aa7:d9c5:: with SMTP id v5mr33524eds.170.1614289544244; Thu, 25 Feb 2021 13:45:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614289544; cv=none; d=google.com; s=arc-20160816; b=qHLJz7THOzzmuXwa9rry1dBJrGYwF/iK42xSbe5wt0P7N7hT2muQghMg7MzdJMMvyB qGhNi2YOotw01GzAvTbGWOicRbGZtEHLph5YsGnMthkESW5J6cX0nBbn+f6eW9jRCgOv +ccotInp4LE85/L9ZCA/Kvi+qYt5RJrqJOkjbguWMwYNbFKbR1J/oTxXMSEQofXfA453 ZUB+ZlEGBCnumIq4RD5JPgevfkJV4BIiOnqg6nM7LeLlyEwMe+HWE/c6hsQgsTGxFNuY nU5Nj4VEPQtXNRejea7zs/nWznhFSltGDGO/ic8+3b6P7yDOM9hyf88koKDccf4NTft/ sovQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+k4kl5G7TJ7xf2nOT/W9x4MU5cYGZQEYI2Vu/cD1zgY=; b=aobt8alfsqlDtbuUP3lXAfR4gvtFGznRW3k01uMC3N/aAZpHFey/ssCmRryPIIfD6b OTMo46vNjrTMLQkyuwjTTkKKfesZBG18A0TzSvxwlC1+OTQyHoaZNABAprHfTSv936/A mwDRSBg99DWYRRqE6hM99/xPnZ3ZZDimXzU9M4p6RyBrQCA0z82YzFc/Ckvp0ScXZITQ qWn2x/D7uctOcXTgPUtDMPSmqO4p7kN8tgWRBR4T/32Ts1Qq0NhtZ0zHVjr1vFrTkCjS L3rlTfmZA1pwghLgk27LOkz19nUn7wAx8vlcFYe7E2415FOL8/Pih2GIU/JY5dlLgUfh eKOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Hl1eZSBr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si4088058ejo.432.2021.02.25.13.45.22; Thu, 25 Feb 2021 13:45:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Hl1eZSBr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234361AbhBYVna (ORCPT + 99 others); Thu, 25 Feb 2021 16:43:30 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:56450 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233660AbhBYVn2 (ORCPT ); Thu, 25 Feb 2021 16:43:28 -0500 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PLXAVF100325; Thu, 25 Feb 2021 16:42:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=+k4kl5G7TJ7xf2nOT/W9x4MU5cYGZQEYI2Vu/cD1zgY=; b=Hl1eZSBrzJEaKjm+vZxLUXlvQdX0d3LQk6+eyqNgEcYJUJ1ZC9c4BMoc/i0AoMIIxXFb R1zKVvZVUcx4RJGHSyUpgIEyYURmK+WVElR95O/CNRudXoHfBza1fMxOMT9U0CHosIHx Vambx+M2FUVpDMXorRrb9nh0Fek4qrpnEdKwQLogeHJNYoN7DYKdgYuox5oaucEeBuWu VMAZwIpjEyo6okbl8rb3U+jwbzGb8maERm+ZgcAcqdGfOMH2FKV5NMIgnqTKiDBQY596 q3x6/5U7v+GTnXRhUXnWZQkpbtsBLFP97TURPSk+goi4+dXHLF6MPzL/w32Si6PRswUm 6Q== Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0b-001b2d01.pphosted.com with ESMTP id 36xkrvgdyw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Feb 2021 16:42:41 -0500 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 11PLSDXj015760; Thu, 25 Feb 2021 21:42:41 GMT Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by ppma04wdc.us.ibm.com with ESMTP id 36tt2a1u1v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Feb 2021 21:42:41 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 11PLgdCY12648788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Feb 2021 21:42:39 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7B7957805C; Thu, 25 Feb 2021 21:42:39 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E798F78067; Thu, 25 Feb 2021 21:42:38 +0000 (GMT) Received: from vios4361.aus.stglabs.ibm.com (unknown [9.3.43.61]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 25 Feb 2021 21:42:38 +0000 (GMT) From: Tyrel Datwyler To: james.bottomley@hansenpartnership.com Cc: martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, brking@linux.ibm.com, Tyrel Datwyler Subject: [PATCH v3 0/5] ibmvfc: hard reset fixes Date: Thu, 25 Feb 2021 15:42:32 -0600 Message-Id: <20210225214237.22400-1-tyreld@linux.ibm.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-02-25_14:2021-02-24,2021-02-25 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 mlxlogscore=910 lowpriorityscore=0 phishscore=0 impostorscore=0 malwarescore=0 clxscore=1015 spamscore=0 priorityscore=1501 bulkscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102250163 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series contains a minor simplification of ibmvfc_init_sub_crqs() followed by a couple fixes for sub-CRQ handling which effect hard reset of the client/host adapter CRQ pair. changes in v3: * Patch 1 & 5: moved ibmvfc_init_sub_crqs out of locked patch changes in v2: * added Reviewed-by tags for patches 1-3 * Patch 4: use rtas_busy_delay to test rc and delay correct amount of time * Patch 5: (new) similar fix for LPM case where CRQ pair needs re-enablement Tyrel Datwyler (5): powerpc/pseries: extract host bridge from pci_bus prior to bus removal ibmvfc: simplify handling of sub-CRQ initialization ibmvfc: fix invalid sub-CRQ handles after hard reset ibmvfc: treat H_CLOSED as success during sub-CRQ registration ibmvfc: store return code of H_FREE_SUB_CRQ during cleanup arch/powerpc/platforms/pseries/pci_dlpar.c | 4 +- drivers/scsi/ibmvscsi/ibmvfc.c | 49 ++++++++++------------ 2 files changed, 26 insertions(+), 27 deletions(-) -- 2.27.0