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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D508C83F10 for ; Wed, 9 Jul 2025 22:57:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=p6ksLkA79cvhY+qyHntZSZe03SZlsNVKDsYlZZAFkQ4=; b=UDUIAhi8a9nUUv/j3ehROA6mWo BKXaaQcgxozK0LOUJu8SW9OUUPBD4oZ3NyKvCdT1XA58WRZKyj//+0C1PYqx/GzkXapgNs4GKJMQS Ahpgh+/IVbWTLvwo3AuLyLpFOJU4+KNRxD3x6khCfB6yUczzoFWs4MG4aYU16WUnayDQ1GYO/iXnt V5b672X0CmC5h2/TKGMg+xDEo1OgJjO7c/RcmPNeyyxoM0UlpAA2pZfrjGTBFr4vAz1C0lehgb9rr XptY6Y9jDLu0YrPqyDS+d0fsQxp+fb6uK7vXC6uBGGOoceXQBqnn4kiyV5AvcACwt1IqZJPNQW3o3 I+UgeAog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uZdjA-0000000A9xw-0m3I; Wed, 09 Jul 2025 22:57:24 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uZcGh-00000009u9Z-2139 for linux-nvme@lists.infradead.org; Wed, 09 Jul 2025 21:23:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1752096234; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p6ksLkA79cvhY+qyHntZSZe03SZlsNVKDsYlZZAFkQ4=; b=MScw+WUtjntgpUrn9icSzWdqrvGmFpjUxY/XMhNXpE6eo2dNHARvSJmL26A9Qloj4lrcnz OOLYEYu3cEN1lf+vLrpavLbsrAkB1RBtjBLn/WgS7L0lR9lHXDHvkMYaW/5o9iYPs+5izC vBfstnPxLPNe60gOnsz6bxd+sx13+jc= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-112-6Nq63D71Pp6fMwb14MqNIQ-1; Wed, 09 Jul 2025 17:23:50 -0400 X-MC-Unique: 6Nq63D71Pp6fMwb14MqNIQ-1 X-Mimecast-MFC-AGG-ID: 6Nq63D71Pp6fMwb14MqNIQ_1752096227 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 9562119560B4; Wed, 9 Jul 2025 21:23:47 +0000 (UTC) Received: from bgurney-thinkpadp1gen5.remote.csb (unknown [10.44.33.49]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1B3E730001B1; Wed, 9 Jul 2025 21:23:41 +0000 (UTC) From: Bryan Gurney To: linux-nvme@lists.infradead.org, kbusch@kernel.org, hch@lst.de, sagi@grimberg.me, axboe@kernel.dk Cc: james.smart@broadcom.com, dick.kennedy@broadcom.com, njavali@marvell.com, linux-scsi@vger.kernel.org, hare@suse.de, bgurney@redhat.com, jmeneghi@redhat.com Subject: [PATCH v8 6/8] qla2xxx: enable FPIN notification for NVMe Date: Wed, 9 Jul 2025 17:19:17 -0400 Message-ID: <20250709211919.49100-7-bgurney@redhat.com> In-Reply-To: <20250709211919.49100-1-bgurney@redhat.com> References: <20250709211919.49100-1-bgurney@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250709_142355_584983_962B7A20 X-CRM114-Status: UNSURE ( 8.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org From: Hannes Reinecke Call 'nvme_fc_fpin_rcv()' to enable FPIN notifications for NVMe. Signed-off-by: Hannes Reinecke Reviewed-by: John Meneghini Tested-by: Muneendra Kumar --- drivers/scsi/qla2xxx/qla_isr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index c4c6b5c6658c..f5e40e22ad7d 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c @@ -46,6 +46,9 @@ qla27xx_process_purex_fpin(struct scsi_qla_host *vha, struct purex_item *item) pkt, pkt_size); fc_host_fpin_rcv(vha->host, pkt_size, (char *)pkt, 0); +#if (IS_ENABLED(CONFIG_NVME_FC)) + nvme_fc_fpin_rcv(vha->nvme_local_port, pkt_size, (char *)pkt); +#endif } const char *const port_state_str[] = { -- 2.50.0