Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp149605pxb; Thu, 14 Jan 2021 22:36:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXU5s7d4JBX+iLG5ixxICL0hkFZcgmcTWKbj+2c9U8SJPuB0Zhnnyz73sDTY1we2sLSTwf X-Received: by 2002:a17:906:3101:: with SMTP id 1mr7941373ejx.115.1610692568181; Thu, 14 Jan 2021 22:36:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610692568; cv=none; d=google.com; s=arc-20160816; b=TljLtgJGzSUxhDZicAN0iQUCKdvLyNMhVUEVXNGXmgFd0GP2vmjzxxj4ecBr1Nql/x jHoXIckiYGPY8uZIV/Nx9V5pdXyeoFaL97zRROlz8piF2A1wu5stSLWcgQX5eoPoFNSE MMGmLlsa3cIr30iEOglNDqY4/0pCoV90ZkG9+JlgxnBwJai2VkC57hl8NoZeZU05yA5n vFLKtyDFB9OmHWJA2sIaP+i/1nWmoDOiHO0cB3pHbWj8YzqGrNRzJsXRyfHsF8cJlOvI HEkwe1VQ4rY5weRWDH8C4v4hD3M93M/eDzBwkGjDRkzMMvebEFVZfH9A+fwGobM3GlNl 719A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=xpEsxA6y9Y1w5nIkSqkW6j0h0ZyNX6ec0RTZZ5uLIaY=; b=iX931s6N9LE2KVt7D+2gsDjR/tfXn3tAT2T0TPrg8cuTJ0c0w552nOUc93MH0MZqP7 OZ4CdAxIim7RVRqB0Vw+jNX7areFyE2sgUr/4tX7GnGBOmWFLkYzuBP/SVIQfRetK6pd Jl6SqEzehAySz1g4xBgCIjHwWz4uRWSNfNIpjvRlCpuhdahXi/LG44k34SCg91rt2vQf l6rUNcDuDppR8tVxNoNADw3oS4Gz2F2LkKa0vmF+p0l+7kMKPLFAixcy47PPsOiFHNEw RRyuBT7ZJMufSwdXRoq7txvhSqYSWJ74q6GLLRvwUIIQJzLTfJWMQEumlEHeHp8/psB/ 6/Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@irrelevant.dk header.s=fm2 header.b=CY6qIxyb; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=SKuTbMH4; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yw7si3323864ejb.453.2021.01.14.22.35.44; Thu, 14 Jan 2021 22:36:08 -0800 (PST) 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=@irrelevant.dk header.s=fm2 header.b=CY6qIxyb; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=SKuTbMH4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726702AbhAOGd2 (ORCPT + 99 others); Fri, 15 Jan 2021 01:33:28 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:35615 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725880AbhAOGd1 (ORCPT ); Fri, 15 Jan 2021 01:33:27 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8CEBB5C00B6; Fri, 15 Jan 2021 01:32:21 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 15 Jan 2021 01:32:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irrelevant.dk; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=xpEsxA6y9Y1w5nIkSqkW6j0h0Zy NX6ec0RTZZ5uLIaY=; b=CY6qIxybOucn3pm5uIh8KIft3iJrkcD07rGWduyDsxn 1Lwv/E9Va1lni5Q5dfa7nI5WAxTfijP2beAz9ktUjnPrG7d0WSOg2w81677sW8OC By6QbiOXwf9FStEbtWUuGF21Enqx0b4Pa+EEcumRm+FhqkpDZn07FxVhqiunExHA neLraoaM8Y4kukvSnF738ssUKo7O9doag7yMbaEco7iWPSXOE53DUSslsSbkbZFU jR/RaAfBZy/QS7UuNCrOakv74TlgIA+kOWC4gPg0TKDWozsqWGHhJV9Jv7nX65nq fjuX6a9doAMVjG25XWuWPuEX3EZKKq7c59GnQmYAkjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=xpEsxA 6y9Y1w5nIkSqkW6j0h0ZyNX6ec0RTZZ5uLIaY=; b=SKuTbMH4rjZArVPxPK6uk+ y25jqUzeYOd3OEviSfbwUv5g4BRY16SzkyKBQ/eAWmmREr8Jp/3xrRayGxhL/XIa 9BTr+oHKAhVAHEaVDRMZCZlhn5vFEGUrC3hmW42gphSjcrzIiqvKWSytfaL0N2zl WsHRyS72jKxuZ4y3yonQW7yGW07GsSYRLOqIjNpSQM/+p+pvLZzQniOb+Bi3HAxV PVDB3GIrbnuhZ5T/kWAZvKJDO85duFY9ELdS9EOpTI/vE1yIi3Gc0i4S9s7w8ulS /K+ipfRQO8RUziMZ/xHmAZWqZzl9aGQdUW7a1VGu5/TNn5e+cw6VcOj8Z+qvh72A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrtddugdeliecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepmfhlrghushcu lfgvnhhsvghnuceoihhtshesihhrrhgvlhgvvhgrnhhtrdgukheqnecuggftrfgrthhtvg hrnhepjeegudffueeiteekieelkedvueelteevjeduieeludfffeejgeffhfduvdduffek necukfhppeektddrudeijedrleekrdduledtnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepihhtshesihhrrhgvlhgvvhgrnhhtrdgukh X-ME-Proxy: Received: from apples.localdomain (80-167-98-190-cable.dk.customer.tdc.net [80.167.98.190]) by mail.messagingengine.com (Postfix) with ESMTPA id C7FCA240057; Fri, 15 Jan 2021 01:32:19 -0500 (EST) Date: Fri, 15 Jan 2021 07:32:18 +0100 From: Klaus Jensen To: linux-nvme@lists.infradead.org Cc: Sagi Grimberg , Klaus Jensen , linux-kernel@vger.kernel.org, Jens Axboe , Keith Busch , Christoph Hellwig Subject: Re: [PATCH v2] nvme: allow use of cmb on v1.4 controllers Message-ID: References: <20210115063046.274495-1-its@irrelevant.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1U8gbzxJNV82M3VG" Content-Disposition: inline In-Reply-To: <20210115063046.274495-1-its@irrelevant.dk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --1U8gbzxJNV82M3VG Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 15 07:30, Klaus Jensen wrote: > From: Klaus Jensen >=20 > Since NVMe v1.4 the Controller Memory Buffer must be explicitly enabled > by the host. >=20 Sorry, messed up and missed adding the changes for v2. v2: - Do not explicitly check the NVMe version, rely on the presence of the new register instead. (Christoph) - Use hi_lo_writeq. (Christoph, Keith) - Fix missing offset and use pci_bus_address(). (Keith) --1U8gbzxJNV82M3VG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUigzqnXi3OaiR2bATeGvMW1PDekFAmABNuwACgkQTeGvMW1P DelOBggAsOWPWqP1jQiNj9M5TyKKmCMZXVgMRiAyHX0NIXPQJYePYleMU572MNvQ HJai6Z0+YpnRZCG6XAmHSj61pJ/jum64DSBwRmVMAIjYyv6r/4n56XvP4QobIr9J cTQ+HN89ueW77SzLgDDwsAplW+9l/siY4o5UDJE1RIXnVpy/HSoyV1hWrQD1hFze 41G5/O9MAx8srSpGbO90tmY/eZ4EvrI8S4AY/2D/CX/ElOkodJsf9PM7qHz/I0Ly lrneSiU34OhvufoFunmWcN0OWQowHqHLr4Jpm/RxAgJG8ucaB0WlUuMzMdx0VFI0 KVmU3V/zt54k0UAwJy2jYcXY7WXkNA== =zs9f -----END PGP SIGNATURE----- --1U8gbzxJNV82M3VG--