Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp945839pxb; Fri, 22 Apr 2022 15:03:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPSyIVu3Ui3NMaHwd4HYnXhUDe0lvlLpFGIZX2i+8d2WfwxlfUuzQsSpYKl11jOxQ1kkcs X-Received: by 2002:a17:903:2452:b0:15b:e3c7:513b with SMTP id l18-20020a170903245200b0015be3c7513bmr5508570pls.32.1650664992892; Fri, 22 Apr 2022 15:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650664992; cv=none; d=google.com; s=arc-20160816; b=eUvvbQ3b1cZP6DDz0Mw/BJfeuJaeEPv27esuCNmAy4LaVSzOtGQC3DREcDil+gPo5F GKKuzrDQb1E+2QzqnHwxz9AEMBKrcuGg4jjYQpnrNnaL01XgesRbWjfhDw8oxIeTR2NQ Cy6X6f+QheDhLnNGVKqR1/PiHGlhgwVZoTNQ09WiwMPF9ts0s65rzVepm+EMuwrRr+Hp Dx7k7tALfVINeSavA8CfTVMclOF130oXD5XOi119y9GKbglexN6xWY+0XVGeJX1wTiBz jAQMuNbtVZGPPb/Q/YtUck9XWdf7s4WtO2byUB69DH3tkLFaEP59FfQRsB/zuJwXrGit ncpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=+EzLfToD3p9OXJhz5oFO7rfMu9PCtRyf++jLmq/TIJY=; b=dziN0U6WCfd63qBgKT1QUT0RBcxDerwkiOmyq0aUFPZsK1NUew+w6XCR897heILul7 OOTR6re0tGF2KOunItR/QdMkVsQNuS3OtifJxobnWcHoqlAcF7IfKEn3sGeeAkoZt2C2 IVO9odxUhi3HhQn7ojUy3MG2lt0aDKaSiUdOGKEXmAiwqrE2KYR9wfBDfwhAo0Dm5CHy GNGyTq3nipbaHJR4N5nKtl5UqgSD2I9++5zANgtuH/8Pb0ft8efmc5A4HLWdcJMEyQ7U R5GF8cLfYsaygDZRSKey2389nkmChuJB3ITZf6vLr63BmIa7m+1PT1+qOsI3OfUqADmL sY1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=kgidIw2d; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Ziq0bJ+m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y63-20020a638a42000000b003aa6987721esi8901162pgd.380.2022.04.22.15.03.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 15:03:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=kgidIw2d; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Ziq0bJ+m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8FA4A256AB2; Fri, 22 Apr 2022 13:10:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378587AbiDTMe3 (ORCPT + 99 others); Wed, 20 Apr 2022 08:34:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378687AbiDTMcg (ORCPT ); Wed, 20 Apr 2022 08:32:36 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93E9AE41; Wed, 20 Apr 2022 05:29:49 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 529E31F385; Wed, 20 Apr 2022 12:29:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1650457788; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+EzLfToD3p9OXJhz5oFO7rfMu9PCtRyf++jLmq/TIJY=; b=kgidIw2dv6D3V/YXt5wUFNyspBoJc4Dvj6XmB3McoHeYLui6/rkI3Q+9ohHhbZxOcrn+pP 1lWh8nIQGGxJHt7nCkQYx2fpHGlLHzTr+QhAQwdCwvvhugxqB7qLdWAa1QMkr4SOQ0COAB rXvj4BSXZ+tNDqEm5uGKbG4fv2cU/bA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1650457788; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+EzLfToD3p9OXJhz5oFO7rfMu9PCtRyf++jLmq/TIJY=; b=Ziq0bJ+mJvgptb9cpImhV1EbAkRJheEAIzxIQJ/4i3ZTCuEpT8dTxOkqJcokELKGK2/MaK bJAxa0SKhCx4YzCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0757A13A30; Wed, 20 Apr 2022 12:29:48 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 8nzoALz8X2K2ZAAAMHmgww (envelope-from ); Wed, 20 Apr 2022 12:29:48 +0000 Message-ID: Date: Wed, 20 Apr 2022 14:29:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH 4/4] scsi: hisi_sas: Use libsas internal abort support Content-Language: en-US To: John Garry , jejb@linux.ibm.com, martin.petersen@oracle.com, jinpu.wang@cloud.ionos.com, damien.lemoal@opensource.wdc.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Ajish.Koshy@microchip.com, linuxarm@huawei.com, Viswas.G@microchip.com, hch@lst.de, liuqi115@huawei.com, chenxiang66@hisilicon.com References: <1646309930-138960-1-git-send-email-john.garry@huawei.com> <1646309930-138960-5-git-send-email-john.garry@huawei.com> From: Hannes Reinecke In-Reply-To: <1646309930-138960-5-git-send-email-john.garry@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/3/22 13:18, John Garry wrote: > Use the common libsas internal abort functionality. > > In addition, this driver has special handling for internal abort timeouts - > specifically whether to reset the controller in that instance, so extend > the API for that. > Huh? Is there a reason _not_ to reset the controller once abort times out? And why isn't that delegated to SCSI EH? Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Felix Imendörffer