Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6829006rwn; Tue, 13 Sep 2022 09:31:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR7pTs6zVVW6HktfWtSlRT2/ddwkEiRREGgBM8+lX78DvwW2snCrQPO+ws5z7yB5D0I8gv1/ X-Received: by 2002:a05:6402:2499:b0:440:942a:40c2 with SMTP id q25-20020a056402249900b00440942a40c2mr27565428eda.37.1663086676097; Tue, 13 Sep 2022 09:31:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663086676; cv=none; d=google.com; s=arc-20160816; b=SNTdqN+pZ4ZajTgUNWI8587GckNEfyD3mku4bPh8BIEcmkZRrJducb3ha+KGxw/vs9 RYs3gYcGq3yU2sotalfqV/bdJ+Ly5jtnPvU9l97A8oBNItWi3cOYx81afDx3jTUMZHp6 WZ699Xfknv6yCjUlghJZbL9lwvcwR9LEjDPtRNaqm1nIsoq763Qsa6wY2FIYMNE8IRdy 5KhIFuVYK9yiFvFZKGhqiLsSdlPNGRW8tOtx58qy4e3TxasqTFTMgslF5d3P1J9HZ6CL udt4QmuwVMalk2tpdxQYwW+yl/bzCkmJKD7I1Umo5qeH5GlTG2d6AZLERe6D3BxOIaGl puLw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=eliE8Fkvvx7fWy5mEw6SPIQKOKbZNUl6YqdJKjN4GD4=; b=wO1OKmSgvovBXiNFhTX/pVMUVfNgjC0+VfSiivPPCh1vp4gYqAuBX9d9MROSVwLmB1 rqYa/oshU4RPjcjMg/fmnfAMcfBPZRmd5ZnJzuh6d8N+olv8VCYm2qE0ozner+Ei46wB PG+rdTmfAmzsXpFaooi9lHQnVk7yGaLIqyioEkn8f+InyDekTGF+egzEjJy2rizz5pLE yiw0II6yYPAL6uDq79dwq+zM+0c2emc2Amou3LhyW9O7pVFyvKGmcXr64BZFtz6/zIUp LO4JAMzFiWAYt0D9dH7ZqfENfUsgQ2/ERnEi4V+Hiy1ObC/3uwfGtw/3GKl6ys4l4GIi eVGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xicWPR3+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w20-20020a056402269400b0044f3b9ef98bsi10218163edd.27.2022.09.13.09.30.43; Tue, 13 Sep 2022 09:31:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xicWPR3+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235325AbiIMPGr (ORCPT + 99 others); Tue, 13 Sep 2022 11:06:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235449AbiIMPE2 (ORCPT ); Tue, 13 Sep 2022 11:04:28 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 415831B7A8; Tue, 13 Sep 2022 07:30:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 71997B80F93; Tue, 13 Sep 2022 14:16:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA860C433D7; Tue, 13 Sep 2022 14:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663078613; bh=73lWbTdiqKnYoZ9jmUkpJuJBRTOaCYWnNn+0KzdRaHw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xicWPR3+uyMgakO/cAZv6s++b0y0uxrONzsBF4WnXy4gu/k3M9hRgLkInRfx61j/I Gzzn6oC/SStgSxgJaZ2IRLLrC+GWndBo8hS0bFcTdyz42Bm44p1vAe/TBnfF0yNKi8 5q24s1YO1fs8WDqM/eZ895oEc8mOPs+zP/od+W5w= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Himanshu Madhani , Nilesh Javali , Tony Battersby , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 5.15 008/121] scsi: qla2xxx: Disable ATIO interrupt coalesce for quad port ISP27XX Date: Tue, 13 Sep 2022 16:03:19 +0200 Message-Id: <20220913140357.688926516@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220913140357.323297659@linuxfoundation.org> References: <20220913140357.323297659@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Tony Battersby [ Upstream commit 53661ded2460b414644532de6b99bd87f71987e9 ] This partially reverts commit d2b292c3f6fd ("scsi: qla2xxx: Enable ATIO interrupt handshake for ISP27XX") For some workloads where the host sends a batch of commands and then pauses, ATIO interrupt coalesce can cause some incoming ATIO entries to be ignored for extended periods of time, resulting in slow performance, timeouts, and aborted commands. Disable interrupt coalesce and re-enable the dedicated ATIO MSI-X interrupt. Link: https://lore.kernel.org/r/97dcf365-89ff-014d-a3e5-1404c6af511c@cybernetics.com Reviewed-by: Himanshu Madhani Reviewed-by: Nilesh Javali Signed-off-by: Tony Battersby Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/qla2xxx/qla_target.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index 7ab3c9e4d4783..b86f6e1f21b5c 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -6961,14 +6961,8 @@ qlt_24xx_config_rings(struct scsi_qla_host *vha) if (ha->flags.msix_enabled) { if (IS_QLA83XX(ha) || IS_QLA27XX(ha) || IS_QLA28XX(ha)) { - if (IS_QLA2071(ha)) { - /* 4 ports Baker: Enable Interrupt Handshake */ - icb->msix_atio = 0; - icb->firmware_options_2 |= cpu_to_le32(BIT_26); - } else { - icb->msix_atio = cpu_to_le16(msix->entry); - icb->firmware_options_2 &= cpu_to_le32(~BIT_26); - } + icb->msix_atio = cpu_to_le16(msix->entry); + icb->firmware_options_2 &= cpu_to_le32(~BIT_26); ql_dbg(ql_dbg_init, vha, 0xf072, "Registering ICB vector 0x%x for atio que.\n", msix->entry); -- 2.35.1