From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EE62C433FE for ; Wed, 5 Oct 2022 21:21:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230481AbiJEVVl (ORCPT ); Wed, 5 Oct 2022 17:21:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230281AbiJEVVk (ORCPT ); Wed, 5 Oct 2022 17:21:40 -0400 Received: from esa5.hgst.iphmx.com (esa5.hgst.iphmx.com [216.71.153.144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A81B77D7BB for ; Wed, 5 Oct 2022 14:21:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1665004899; x=1696540899; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=rWsmTDbQWDKLjp3tIJzodQGMLcFM7p6n1EHIncapWFc=; b=QS41XcJ6ADbSRU7o2lwl5c8PNMEinF1xUO04olwA80vjoOxUiuFTT7zB wh4/3Vi37hQwe32xDndwZtWJHVUYP3ypnOcVWXJ5TyAv+bMJUZouKofqG yFV1wo7e+A2RZLroZXyMyyArYf+ob4Y9lmSLrr1cgFhWai16rzMSZfWH/ xwV2Vmr169UdL72sajVRqt6oNSRVt6WuebBCfGzdXG3CZMLhTT8yKSTyr bwLe70f79wyqckR+P41YA29ciNCFm5wYy3tsiZevtMQDK14bmxqFQ9Zsy HvQv/QisNgY7UTu3B2VneL5QmSHMy1FUx03CrcJTVpBV2V2SlYrSrdxpA A==; X-IronPort-AV: E=Sophos;i="5.95,162,1661788800"; d="scan'208";a="213079188" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 06 Oct 2022 05:21:38 +0800 IronPort-SDR: 5mmRN9UCTzb3tFlL4c0l+ClHYDZsDrlMMmpVeIBl1AWLVY+bi5j1EZZYqke2aM8y0HsphVIxY2 GG6PjgOYLhNDKKnXR2eqiaZOsMoqrAYGVmaJw9bwZYg5ZbhQ9wtyp6dVsvXs3x88oFzKZDinre 09CNrBs0EXWcemr7beMdseoeVG985qMeAmAoXrAG5Xd3LQgGas4+lLDVLRwPaAK06xWEEhA6/S kuuzY+73+0RKx21TlwYrr/LwOlq48MZuwCGH8fVnzlhbisAIW2VXlDiUQhNfs2r0qbLx0+Z1VL nG+KQboqhHrIkMzAD/OZwkhw Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Oct 2022 13:41:24 -0700 IronPort-SDR: yxwXT5wxgUFOFv5COB0xEiCKmcxloE7x4xPv491pay7nJy8VjvZMtRAd53Tz53FQHvoDeKIszl 1c/Nu6+VR39lB24LwN/n1zlfczhfhzCS1o4sSSj6GWeEPML5qcpA9b03V+FgQxqU1AqvFSwn4a vEn3QHJFGY2wTakRZ/HJeI+QeurOLPEXcSlOu5MhfXfaKgyPng+9xjLTxp3otHitzGN86dRN2r Lc08q6wtsgvRWfHYwS6+u6DSi0NcfHxN9X4zU9dFufySerKWJSjnwbqlvEgmTwtsWQwnyJJZm+ pK4= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Oct 2022 14:21:38 -0700 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4MjSDx6VVzz1Rwrq for ; Wed, 5 Oct 2022 14:21:37 -0700 (PDT) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:from:references:to:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1665004897; x=1667596898; bh=rWsmTDbQWDKLjp3tIJzodQGMLcFM7p6n1EH IncapWFc=; b=KxPSCvpD+U5B4BPKgEf0KyUU6MLtTzLMNkyDFlcfOK3rX9exFR1 2WACzQAcGXMAw7tZE0EeCBGiQ5aQd5LEfzwDxspQIjE9Jelkf/V4X407Keb7QHCw +NWEgFE1BgeoRyv/8bL7c40E1SzLUmcxvtea/yR0laVE9RQwPHsWd1vmuateRVLR NAiL9pcDLW6nVD6pzAY0lNBmNob2/Jb63Qd7hI7/mBrgiVUApjA8+9xIAtbuwCRX eSQYhxnUW8p30GVqOFb+xKDa9MJzBYK7OLKJJL9OtsdyTJYyNnHNHtOgaEFB6kvg YcGouu2X6uLtKD4wEf3TXKvYbRPhqd29GIw== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oJ24Clqcjlu1 for ; Wed, 5 Oct 2022 14:21:37 -0700 (PDT) Received: from [10.225.163.106] (unknown [10.225.163.106]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4MjSDw27Bnz1RvLy; Wed, 5 Oct 2022 14:21:36 -0700 (PDT) Message-ID: <9100d34c-26ab-fa19-15c6-cf626383cab1@opensource.wdc.com> Date: Thu, 6 Oct 2022 06:21:35 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: Do we still need the scsi IPR driver ? Content-Language: en-US To: Brian King , John Garry , Brian King , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org References: <3dbd9ae4-a101-e55d-79c8-9b3a96ab5b17@linux.vnet.ibm.com> <369448ed-f89a-c2db-1850-91450d8b5998@opensource.wdc.com> <5f2efa8a-8207-403c-12e8-74f43d8d8a14@linux.vnet.ibm.com> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <5f2efa8a-8207-403c-12e8-74f43d8d8a14@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org On 10/6/22 02:20, Brian King wrote: > On 9/20/22 8:07 AM, John Garry wrote: >> On 21/06/2022 23:12, Damien Le Moal wrote: >>>>> We still need it around for now. IBM still sells these adapters >>>>> and they can still be ordered even on our latest Power 10 systems. >>>> At one point I did look into modifying ipr to use an ->error_handler. >>>> I recall I ran into some issues that resulted in this getting put >>>> on the shelf, but its been a while. I'll go dig that code up and >>>> see what it looks like. >>> Thanks. It would be really great if you can convert to using >>> error_handler. This is really the last ata/libsas driver that does not use >>> this. >>> >> >> Hi Brian, >> >> I am wondering if there is any update here? >> >> As you may have seen in [0], I think that we need to make progress on this topic first to keep the solution there a bit simpler. >> >> [0] https://lore.kernel.org/linux-scsi/1663669630-21333-1-git-send-email-john.garry@huawei.com/T/#mf890cb4f1627112652831524dca62cbde4a0a637 > > I've made some progress. I was able to dig up the code to move ipr to use error_handler > and have gotten it to compile, but haven't gotten to trying it in the lab yet. Great ! Thanks for doing that. > > -Brian > > -- Damien Le Moal Western Digital Research