Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp437844ybl; Wed, 21 Aug 2019 22:41:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLELGpLe0gJ6r7/QGN1Gb3DSDyS4AXCVYxavMKSxwnExcvU8IxOA8/dvpv8TbYiqfqL8lg X-Received: by 2002:aa7:8b52:: with SMTP id i18mr40276151pfd.194.1566452507939; Wed, 21 Aug 2019 22:41:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566452507; cv=none; d=google.com; s=arc-20160816; b=OwlCkf6MrAjsS7QsRHp1cw0MxtFbTkUezTwbx8bT1jNuAKvMq9x/C8CSr2SrIt1NOa 1Pq+kmiub36RTxyW3CwO52UD4SEaslq9XhYI5t+6QiBQIoEvGIEpiYPQmQKFAEVafyHw iom6hnfSl9OcjrHs6hJD2BXHzZUwJUkFcz6YNO5hTwvrRNzgZWPTxibZOK/PVN15qEzi WBTOSlcAn+3WgQRiN9FUazmB5xbtZsszXRdhxboCkFxolk71/KgUjsINzEMCbsFM8fVi OBUbQKvXXXchnPEHkEnDl3jx8hZELye/wWqaSFAhG3w+ZesJJDx8RlDelm32nbqofKtC B84Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FMg+I5lRTkedxX4hXCiGreb0WpeFDEJ5ThqhstUNk+U=; b=Gk7ltZ2vojdGG7aGNzukktVnq1ShbEwPDgJKDYXtbTaUoLoiBebt5GrGOFUlG1J8L4 1Fno0r+reHW9uDrkmFjcP8lBoWawzC3ZyQuYcCBAB+aJiVVXwp70fbRZpl2yYnET9/0E +tAJhImIUAJFrhmbwxVGnmQHBsLc1tvxbloomdgiuV/qASeShAky4RSrXVs7QKvrKndC DgjH6LLcKfUfbqAP96FLYrF6WBWGo4o0y1mnFcqukHR4JI16+jAE5ZcGx49/QI70LBgV EioftJHrlNfaNv/flWUnicVHGM+pkuIP0a6k9oBE/ZOnrGPaS2rDDVYhlH3JBwOWlmZu aNwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p20si16083687plo.67.2019.08.21.22.40.40; Wed, 21 Aug 2019 22:41:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729276AbfHVA2p (ORCPT + 99 others); Wed, 21 Aug 2019 20:28:45 -0400 Received: from verein.lst.de ([213.95.11.211]:42086 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726693AbfHVA2p (ORCPT ); Wed, 21 Aug 2019 20:28:45 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 3DE4068BFE; Thu, 22 Aug 2019 02:28:42 +0200 (CEST) Date: Thu, 22 Aug 2019 02:28:42 +0200 From: Christoph Hellwig To: Benjamin Herrenschmidt Cc: linux-nvme@lists.infradead.org, Sagi Grimberg , Jens Axboe , Keith Busch , Christoph Hellwig , linux-kernel@vger.kernel.org, Paul Pawlowski Subject: Re: [PATCH v4 3/4] nvme-pci: Add support for Apple 2018+ models Message-ID: <20190822002842.GB10391@lst.de> References: <20190807075122.6247-1-benh@kernel.crashing.org> <20190807075122.6247-4-benh@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190807075122.6247-4-benh@kernel.crashing.org> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 07, 2019 at 05:51:21PM +1000, Benjamin Herrenschmidt wrote: > Based on reverse engineering and original patch by > > Paul Pawlowski > > This adds support for Apple weird implementation of NVME in their > 2018 or later machines. It accounts for the twice-as-big SQ entries > for the IO queues, and the fact that only interrupt vector 0 appears > to function properly. > > Signed-off-by: Benjamin Herrenschmidt > Reviewed-by: Minwoo Im Looks good: Reviewed-by: Christoph Hellwig