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 2137CCA0EE0 for ; Wed, 13 Aug 2025 20:08:50 +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=Vapy6u9IxBq28MV1zIU1731cWANnJOz35YFMaxAbU58=; b=u6jSeTe1WUl14tu6v2R/t/3O4o K+JBKu+Shjulie7F34lKccXO6GYg1nZuQh4JZnalSuGlp2PIDqXg6DvOFrA2BtQRgJgkD4R2I42FC S/O3/8oo/oXcv97v/CQYPbQXetE4HPyyP4IRBqGOPsu24weaTHQQtVDNnIiy9aNIPL2hPjtEUe6Vs GJHHRDpGAvy4fWgjcOfHpkN+PxcOwBx5UUtgciTxuFR32bZrmnptCMPjhbmot3snTTr2W/4nuuene X6xxz9oIS2tZX606SpLJ5eGdN7JdKCXD9L9qn9o9U7UqORBH26xzu9/jyq2qmsjQfnaCPK79H9T5H to+dGwyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1umHmC-0000000Eucc-29Tv; Wed, 13 Aug 2025 20:08:48 +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 1umHmB-0000000EubN-0B98 for linux-nvme@lists.infradead.org; Wed, 13 Aug 2025 20:08:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1755115726; 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=Vapy6u9IxBq28MV1zIU1731cWANnJOz35YFMaxAbU58=; b=Z+a6lU/NRZrbLgIGrd69qZ+w6VL2tA8ec+/pfthrVCu60Uy23cYaUJksPOfKmwRgGwhCxC JgySFgSrDVgndlywDM6l/NEzxAv6LQPnOH5+GgbJ7ge5Tauec21CiF15rkl+Yacw01yoDx rqJBT05ZUy9yNyhyoufXUf85x5sTGYs= Received: from mx-prod-mc-05.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-228-rfLxZs8TPba8CWYp1KNYuQ-1; Wed, 13 Aug 2025 16:08:43 -0400 X-MC-Unique: rfLxZs8TPba8CWYp1KNYuQ-1 X-Mimecast-MFC-AGG-ID: rfLxZs8TPba8CWYp1KNYuQ_1755115721 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C2DBC1956088; Wed, 13 Aug 2025 20:08:41 +0000 (UTC) Received: from bgurney-thinkpadp1gen5.remote.csb (unknown [10.44.32.39]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id B2DF318003FC; Wed, 13 Aug 2025 20:08:35 +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, njavali@marvell.com, linux-scsi@vger.kernel.org, hare@suse.de, linux-hardening@vger.kernel.org, kees@kernel.org, gustavoars@kernel.org, bgurney@redhat.com, jmeneghi@redhat.com, emilne@redhat.com Subject: [PATCH v9 6/9] qla2xxx: enable FPIN notification for NVMe Date: Wed, 13 Aug 2025 16:07:41 -0400 Message-ID: <20250813200744.17975-7-bgurney@redhat.com> In-Reply-To: <20250813200744.17975-1-bgurney@redhat.com> References: <20250813200744.17975-1-bgurney@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250813_130847_154361_A93E9A68 X-CRM114-Status: UNSURE ( 8.61 ) 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.1