Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp705208pxb; Thu, 25 Feb 2021 12:56:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzw92JlgIOawcfceYIBmktV9dT06t/p+S+izMkb64W3ZSrKoVoKp0lGADI3kldl81muLe/m X-Received: by 2002:a17:906:1613:: with SMTP id m19mr4614510ejd.344.1614286617603; Thu, 25 Feb 2021 12:56:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614286617; cv=none; d=google.com; s=arc-20160816; b=Shw9niJGnE8rJ3lOj5CWbo2D0SXYpxU8g7rGNw9UmYdaMWKCyrmp7wP26pqawdfIRy s1HTgmEV5ZgJJbR6DEARL4sxZy+dMsFqKxVKsALmxKjc7kceQfaAgMTREUWFFEgV1JEA l4LrSqy9U3KXp5XG3XfVXxC0qbDaSPNSf0aQ8PyeD0s1QbaGRhnmTpRiv+l6qsa3/NZz oHAcFP5yIEeWAPUZiRIH4qvSXujslVFSCe6ZWB9DMEFQ37u1iCIDLsB/rBb6KbbkjzGT p6ef+vR4eolUulRPjGsoV5niomPQ97Mpx/Fkl/P3gMvp0zG/vheRQu+HdnQWh70HnOK+ X1Mg== 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=3IT/tt0A/Rt/I15o1zV9S8xLTjI2UhF7KfP/c0y7sbU=; b=FvU5MVpgrJQg05xt0BewMqXGNXAep/uPojoO6FwVjF6tXkGORSqreZLgc+7SdHlSB7 E1ZPNUN1ayjINBTv7E3f9TFC7+ur8J3W4pMae8eauMIf70uO5i9eXAJQFSZ/zcHaaGFB c52Ff4j0H7q6e7qS7PHnrg/hjtVU/H4y2C0T4qAelLbBT98VdoY2k2jFJglF1TiNwTJA 3v8tV0tvs2amyKbQR3/okD5ElG2R6mTFgO3gfR2zZejeOrOlqZqIdzyRNKu2b5jOjnVt JnLN3zSS3clA3Xav6vlKSRaRpFEO1yZ1IGXodR66WZMWY2RFOZxubCi6AT2drceLH0Hk Pp2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=OG2GY0dt; 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 n25si4078994edt.91.2021.02.25.12.56.34; Thu, 25 Feb 2021 12:56:57 -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=OG2GY0dt; 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 S235088AbhBYUzv (ORCPT + 99 others); Thu, 25 Feb 2021 15:55:51 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:16946 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233688AbhBYUtq (ORCPT ); Thu, 25 Feb 2021 15:49:46 -0500 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PKYrFS137177; Thu, 25 Feb 2021 15:48:29 -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=3IT/tt0A/Rt/I15o1zV9S8xLTjI2UhF7KfP/c0y7sbU=; b=OG2GY0dt1Q5m4mw7NJtQvjX8IDlaA0fGXIr6Ir56GEjDWUqc9+hIRClJX6kth8lavzrr jxhiEHZDpwzNtcidQzRl7kDa/Jg/vgH0Ts6WH3jMseoc2tK3Zksxjcr/IOO07QfOSWq/ ZDTp82dzRexg2bXZDK4Swf6ZsFSub6d3knFrv1JSfwvUDTx2AJQm/zEWnVyE1UAqClC0 +o+T76l1olx8szmb8qGULVkbaYqHJfWzygZDe8rcyBYw18u7zrdmIu4BWM8YHciHyBhf rjNSKI4iPQVvYnae6HqUEycNhipkUeeBVUr1kmNjbwIvXaGYSbjZ7dNziQmndi6RH3lV DA== Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0a-001b2d01.pphosted.com with ESMTP id 36xhw0tgeu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Feb 2021 15:48:28 -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 11PKmCHI003426; Thu, 25 Feb 2021 20:48:28 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma04wdc.us.ibm.com with ESMTP id 36tt2a1h36-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Feb 2021 20:48:28 +0000 Received: from b03ledav001.gho.boulder.ibm.com (b03ledav001.gho.boulder.ibm.com [9.17.130.232]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 11PKmQVG13697598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Feb 2021 20:48:26 GMT Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D08866E050; Thu, 25 Feb 2021 20:48:26 +0000 (GMT) Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 78D8F6E04E; Thu, 25 Feb 2021 20:48:26 +0000 (GMT) Received: from vios4361.aus.stglabs.ibm.com (unknown [9.3.43.61]) by b03ledav001.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 25 Feb 2021 20:48:26 +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 v2 0/5] ibmvfc: hard reset fixes Date: Thu, 25 Feb 2021 14:48:19 -0600 Message-Id: <20210225204824.14570-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_11:2021-02-24,2021-02-25 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxlogscore=866 malwarescore=0 impostorscore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 mlxscore=0 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102250158 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 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