Received: by 10.223.185.116 with SMTP id b49csp3714419wrg; Mon, 26 Feb 2018 04:58:19 -0800 (PST) X-Google-Smtp-Source: AH8x224KhnEKg4fApjryda2uZRal52ae0H3UNnzg4By/RiRDrl1TxYLT4cGOtqPdUzhJs28BM4k+ X-Received: by 10.99.175.8 with SMTP id w8mr7799149pge.390.1519649899057; Mon, 26 Feb 2018 04:58:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519649899; cv=none; d=google.com; s=arc-20160816; b=ZEzxLWOLaNRXrMDoex2ngoqX+ITD1h0bF36tyJyc7LM3+d6GZCmOmB8TA6gg+TTC6o sOYFwluCqokhwGJkjssrkl3OavreaCiSHt9R4imRD4632ZuNCujQwzpCbyFqpaHztNZ1 mVEdGSzvoGl7S6TtGDcSpUL3AJyeHSCyLFUaT5L/iuZ2B4rXdjbTaYzPFNVGoKFqQy1W w7a1WaaWNoeJeyJ5qUgL3KS5I2pxzF3KKysmASpvgyGJRm7xJGU1ysidLI2Mzdrdov3G RGnrygi8xEhwyO6FnnCT8UrFUxy6QFpeFGg4oE1YXcxWBHCAZJ25Xff1dABK538j4Ga/ khhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=G8AY2YIiN1bs6n/99jmZ3dq6i9RtZTB08TNmgkuKnFQ=; b=ZQsLhoxcdeZbrATAWGxLTgr3htqJ737WR/dRWPVYa5Qy+K3D6l7/H1VBVipamh6htZ EBVmi/T9fhURSnJcYdtddfELY61YKusuc30V6MRJ/y8FOYffQYS6k+kFhXvyPcev9603 FXC6p+UOc5XKC+/sW8kvFxO4gIhwR0xQs8enyp+E0/NCzNerBPYP7M26tmFBEA5UXaJ5 17iP0LP2vVI1ypwv+GbtrHRIWsCMnt7hL6q/kdrdZ9PaERQCl2IFUOvwnrGh3ekVq8o/ fk+ePqH85O5iahLDvEs2tszK6v5Bj3FEc4gQgh73FJvFYdDN8WHqGE5cfyVlEHL/iIqY et9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=KXPMEIIc; 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 s19si326035pgo.626.2018.02.26.04.58.04; Mon, 26 Feb 2018 04:58:19 -0800 (PST) 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; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=KXPMEIIc; 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 S1752798AbeBZM4G (ORCPT + 99 others); Mon, 26 Feb 2018 07:56:06 -0500 Received: from mail-lf0-f43.google.com ([209.85.215.43]:42899 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752234AbeBZM4D (ORCPT ); Mon, 26 Feb 2018 07:56:03 -0500 Received: by mail-lf0-f43.google.com with SMTP id t204so22042478lff.9 for ; Mon, 26 Feb 2018 04:56:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=G8AY2YIiN1bs6n/99jmZ3dq6i9RtZTB08TNmgkuKnFQ=; b=KXPMEIIcSdVcaRd4iQx5A9VgWRp6cKXR9GwYRo/PT93mWJ7GucVHCiittwPCY11BU9 CsC5jntg8NgzIqCX+IhK1CstJTpF1v67jjRqcWJ5bgDGaTP5HKRIJwDZklpYmuZpzC/x 4V1fNOJ3Pf7J4UX+WR6L1bpv9xreYfH+17jS7J+j9VAoziC1vdQ19gLWJd4zDogvYTFp 2iL1cwOI2d1ANLCn8Agb5tLVecEe6GZF8SG0c/RRd5rdRMyJe0x+gxlj97xTPN/iJLqX LeTGRWVRIj0jz8h7/17+lU9wGv1FwPGeBjpjiUCUIW3GbM/LXW8zpIrAeJz9aYtyNY0F 5d2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=G8AY2YIiN1bs6n/99jmZ3dq6i9RtZTB08TNmgkuKnFQ=; b=iJnP/P3rUBiYXNt0jW414KcwnOmMUzHWXSSEuWJ6gEM2g2zIlbaLkiE8DdFt/A0d9v ICfXppP4qqMXyzHCwc97jGbj47EH12mYRRj1my0tVK+q7p4bigGn9Bvn4k/QKq8Awze+ +ZpCiXPhMmYIInXTeIKg7Ge/ZLhYMJ1+oLr0Qw7SnVusfV3TeIn5ugv5Rf9VFSRIMhOa Y6CZJrQHURD5h+FZ6DMpbqu/4mceeCvJT//TlOM0ZXLABHae1mucARsYnhW2spk0dQ7M /xPEiAGNSF+0RV5q+lLan0AHza3TJGj3inUyFSsFmr3jihExy/wNGuge4vn1owpB4+nh u48w== X-Gm-Message-State: APf1xPAq96Tz0kSMkOjgr8pJJ8LpXBDAUcwKXBxMaUxf6T3+AjzJyD/e QbTDiw2cM5aT2W3w82qs6JTv55sh X-Received: by 10.25.193.7 with SMTP id r7mr8134298lff.37.1519649762068; Mon, 26 Feb 2018 04:56:02 -0800 (PST) Received: from Macroninja.cnexlabs.com (x1-6-a4-08-f5-18-3c-3a.cpe.webspeed.dk. [188.176.29.198]) by smtp.gmail.com with ESMTPSA id d27sm1515945lfb.73.2018.02.26.04.56.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Feb 2018 04:56:00 -0800 (PST) From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: hch@lst.de, keith.busch@intel.com Cc: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, jthumshirn@suse.de, =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [PATCH v2 0/1] nvme: extend log page implementation Date: Mon, 26 Feb 2018 13:55:39 +0100 Message-Id: <20180226125540.9513-1-mb@lightnvm.io> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch introduces support for get log page offset and extends the number of dwords to be 32 bits. Changes from v1: - Suggestion from Johannes that paratheses around (size / 4) - 1 can be removed. - Make nvme_get_log_ext() static. Expose when the function is used by lightnvm. - Make sure to use unsigned long long when shifting a u64 with a constant. Matias Bjørling (1): nvme: implement log page low/high offset and dwords drivers/nvme/host/core.c | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) -- 2.11.0