Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2655884pxj; Mon, 14 Jun 2021 04:10:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzE8nd4QLbnmcymUXibKXWiSwcDsDH7ZVUCH4Gmvt8IAJ87d1aNzwxvYIHCgzc1YrkwWxgw X-Received: by 2002:a17:906:5293:: with SMTP id c19mr14468828ejm.245.1623669040280; Mon, 14 Jun 2021 04:10:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623669040; cv=none; d=google.com; s=arc-20160816; b=QJjiioKv4BU3hLgbMZeexDFWA8cmeyGhaDQDxfGNH4JnamY+L/Df5PGlnPph4pD9O6 hAcBUeqbwQjiZyZvTa1c0z6Er81+0F2+HD0kQlz7wzAVvp6+cWr+CL/W0CgQUFgk48tH NDqEQlEaXJpSM/9/S3byIfkH1LgVj3OiRBULesmNX3gFBGvhApD85hp9GQPwhyGZM45g QqaRRbOZrhMzCOXgLRMG3bNoRf5hZNa+B8w8sUsor+JA/JeDU4gYWuQwyk3IupppjvkU y7HdjMtCRPao8jl211HHtgzkOgXToBn8+ZS2t6hQmkm56x9YDP0YKtZaYpQTCXcRrlQ+ Eevw== 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=XFCDh/bl6f9VVbwLe59iBHWj7ELplOjUaNu0zgIkacM=; b=pVumisrEFkpTYfKeWRFglG4/8dcf4CNYbXrxCGIQRyjCK3hNXJXz3/tBqonMBWBYLT p/YIE9QuI/AWxLjSbLjTzP/cgADFCZQww5bZ7zB/aCTIr/hroOKEoYSSdIUMszQ0v9PZ aoHv3oinJ9/r1xTCb+Lwj2eJPCdMndYPirszDsFBhwreUlmgy+xMGXmYIy8dNjOpa55M 6fFMjKa5dKW9dwWHkyDLP3Jj5d/Lkw6dkmgINjMZAO8r/V3QhDpywZuVBEDfMDOk5SBK FuQ2C2VvVtR9rj70UB5J5FQWF0dw29mV9r3akBAUOea40hQyoXDhM7LPT5orcwl9uXYe 0vkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hsg2CBj9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si4340993eds.95.2021.06.14.04.10.17; Mon, 14 Jun 2021 04:10:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hsg2CBj9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S235543AbhFNLKj (ORCPT + 99 others); Mon, 14 Jun 2021 07:10:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:35768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234805AbhFNK7P (ORCPT ); Mon, 14 Jun 2021 06:59:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CD4C761624; Mon, 14 Jun 2021 10:42:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623667342; bh=npJIYwLCb96T/I4WoQE1LIJIu3exBkwb3M1PVGN9pJI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hsg2CBj9yvsI/Ji56CavpdsNuKpB8+mKLayy4cQkwFZsBsfmKYrDaVAY6yniBJoVR BFakoBbH4dpnnKt8SaDbpI4XFZoBoCDSvEqhWxL7GpJjxGRuDMMYaIR4CftDxFLXU1 Bq1o80HYxuMAN6bA6R4LuCriYyUQ5qZPsEmkMdFM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hannes Reinecke , Sagi Grimberg , Chaitanya Kulkarni , Himanshu Madhani , Christoph Hellwig , Sasha Levin Subject: [PATCH 5.10 033/131] nvme-fabrics: decode host pathing error for connect Date: Mon, 14 Jun 2021 12:26:34 +0200 Message-Id: <20210614102654.136593031@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210614102652.964395392@linuxfoundation.org> References: <20210614102652.964395392@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hannes Reinecke [ Upstream commit 4d9442bf263ac45d495bb7ecf75009e59c0622b2 ] Add an additional decoding for 'host pathing error' during connect. Signed-off-by: Hannes Reinecke Reviewed-by: Sagi Grimberg Reviewed-by: Chaitanya Kulkarni Reviewed-by: Himanshu Madhani Signed-off-by: Christoph Hellwig Signed-off-by: Sasha Levin --- drivers/nvme/host/fabrics.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/nvme/host/fabrics.c b/drivers/nvme/host/fabrics.c index 8575724734e0..7015fba2e512 100644 --- a/drivers/nvme/host/fabrics.c +++ b/drivers/nvme/host/fabrics.c @@ -336,6 +336,11 @@ static void nvmf_log_connect_error(struct nvme_ctrl *ctrl, cmd->connect.recfmt); break; + case NVME_SC_HOST_PATH_ERROR: + dev_err(ctrl->device, + "Connect command failed: host path error\n"); + break; + default: dev_err(ctrl->device, "Connect command failed, error wo/DNR bit: %d\n", -- 2.30.2