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 566FAC6FD1D for ; Thu, 23 Mar 2023 04:17:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K36HVBjxylGnC4lOJjM95SSteBo/z3OX8YjsJtCbeQM=; b=3Y8/3vlP2+Vymm Z1+L1B9fxRS970J1y1X4ZV2ThEoWl+nzVysP3VDY15fwmplII8Az9BHzTxwwNwZNMVh8G6jroBbpu jE1yLQl/jY8TzOWbGa+g6mM9t5bcJ1uQO1FoiCf2NonDHYSOLRO0YsQbapQDKD+ktSdR5T5cDz+GB MDyoAU3lxISbuaeah8imSmp1cDJffzm8yKkMf99zAsOZFbf4beobPWY3J1a0o+yPRG2gDEjHaQTGZ 72JlZa1R+y0MkZIEQOloDAqsRbPFm3NVLtCZ8O4ghBcW5vq3y2aJ7/rtZj1SEvorjP+KjaKJTW1rH m4Kz2P8dWi9JntxJR3MQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfCNE-000jAN-17; Thu, 23 Mar 2023 04:16:24 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pfCNA-000jA5-39; Thu, 23 Mar 2023 04:16:20 +0000 Date: Wed, 22 Mar 2023 21:16:20 -0700 From: Christoph Hellwig To: Bjorn Helgaas Cc: Marcin Juszkiewicz , linux-pci@vger.kernel.org, Minghuan Lian , Mingkai Hu , Roy Zang , linux-arm-kernel@lists.infradead.org, Jon Nettleton , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , linux-nvme@lists.infradead.org Subject: Re: Samsung PM991 NVME does not work on LX2160A system (Solidrun Honeycomb) Message-ID: References: <20230320161100.GA2292748@bhelgaas> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230320161100.GA2292748@bhelgaas> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Mar 20, 2023 at 11:11:00AM -0500, Bjorn Helgaas wrote: > > The problem is that I am unable to use Samsung PM991 NVME there. > > It is 2242 card so probably also DRAMless. Kernel says: > > > > nvme 0004:01:00.0: Adding to iommu group 4 > > nvme nvme0: pci function 0004:01:00.0 > > nvme nvme0: missing or invalid SUBNQN field. > > nvme nvme0: 1/0/0 default/read/poll queues > > nvme 0004:01:00.0: VPD access failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update I have no idea who even does the PCI vpd accesses here, but either way there's not much we can do from the nvme driver side. > > The SUBNQN part can be handled by adding quirk in nvme/core.c file > > but that does not change situation. It also does not appear when > > used in x86-64 system. Although this suggests something is fishy with the config space implementation for this particular hardware, and NVMe just happens to trip it. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel