Received: by 10.223.176.5 with SMTP id f5csp2443960wra; Mon, 5 Feb 2018 04:17:34 -0800 (PST) X-Google-Smtp-Source: AH8x225BIq81I0VhhqeTHZhYKgzdtwT6MRHWdXUnUNBlqV1+HheoAx4LAXpXcJsLTAY8yE1ads0V X-Received: by 10.99.49.15 with SMTP id x15mr3735466pgx.149.1517833053996; Mon, 05 Feb 2018 04:17:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517833053; cv=none; d=google.com; s=arc-20160816; b=DO+fZi5I4Sd8ovv/7FbI5reOB3Hhz6pabLRZJZIjA0PhevLqjKuOgOUlDQLj4zuOzc qpkpVz8kYmEHo8VwDIlXpphjY1kIWhfbB/kYEJ+A3yihILMz0LZ9QdH9qUXcjZAamqsZ rjvcLeOtTO6MnK4VzB6f2QaY4CEODlPX8Lr+6Px65kRM3OLv7Gv+a0AreZydeCGHVkRy dM57SpfZ3FUlwAyLsLJI3I31Js7N4vQAgStseqX+qXzYOc2CufWaVPrhs+gQf7LNjno2 xGQM9ZtRjivRgbP3cp6/HRHU+2BjoLRC/i5QvAefEW27dIVkti2OO3/wXY3AKM5DEa59 PTsw== 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=+jDZxvgIpWxAcB1pB7dvQy2njOMqroH3UyAfGtPSkAQ=; b=W3Wsjr6DOe7WZL7+xUmz9tE3KXZjUpSPVbbpq2qqNkgAnC8WEI2a3SKzjBKYGePrXG 9wmuBk0LRy5lWhN785gwKO+Fm8sBS4Iv1tS45gIaRT2ZcI9/cJW9i7Jdkp9r0rwSqGjN Wm7jl7sGxpN4bRc+n/fR7jnkJazDGFtIKwvlcOJdQzOeiNFLAFD+nO/LCMnrspBuwoMM 1RosqY2+YkmIQ3aKfd9UiqCZU+NUKAN2NVtS9edUZUQ7LZYSDA7X+GVfq3FQJSYZBkrI JnEpsoDjdJFPrEQHbISO/WBLKCUmjLh4tKaecefx2oksc46wCpRlQKXDCK7WFGZ15Fre Qw3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=quZmi3ec; 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 h6-v6si246869pln.198.2018.02.05.04.17.19; Mon, 05 Feb 2018 04:17:33 -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=quZmi3ec; 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 S1752844AbeBEMPm (ORCPT + 99 others); Mon, 5 Feb 2018 07:15:42 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:33490 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752291AbeBEMPf (ORCPT ); Mon, 5 Feb 2018 07:15:35 -0500 Received: by mail-lf0-f68.google.com with SMTP id t139so41435362lff.0 for ; Mon, 05 Feb 2018 04:15:34 -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=+jDZxvgIpWxAcB1pB7dvQy2njOMqroH3UyAfGtPSkAQ=; b=quZmi3ec68JSkIQ93DdUUYi24Nvh+H8RYTY7SS3PBk82x1YrP5yeGQ9nF0xgrrUk9y Pp9/aJ5FTv3GFRrSS2OZrZOYK7SqhQLmKOwfY7565bY/KL/CcNNc8odirVoEpgFlLtqQ jlw6BDEu2pUP7ef8mPv4G8WTLtuHUCxBvg9K1nhpjbgH3PJ8RKwv1llYHlgL2ZXaZd69 NL/2eOvVx8Qinl2A35weNvRpSby49W1i556q0PN3iu2946dZIZY2mBChTeJpJY0NkHW9 ah6coz/1LzXY8hPHGleQp51q1vxLfApzFnY8Y9bJOd2EpDX8ahFVtyd3pNf/emNJoj2K pqXQ== 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=+jDZxvgIpWxAcB1pB7dvQy2njOMqroH3UyAfGtPSkAQ=; b=nCqSHJodzTDSRG0/rKnQn4mX1stDYsiBI+wl7inmpe+6j+CadOoAe2mWzULx3cWrEP fIiXrzet1wmbwfIAg3QrEmmKKe02yWEMDmB9PdpVpHDxzSVr/WQOrb5IvwTTzMsa2amm NrhaxY/Jk3ZAUryFDGmTNock8LET7duUl7z1o4l/cfT8kZvgyqtUov7SOfldjnLHHJur jv7fHGVPz/EUXBtv2DKE1h5z08bqjdn/Ua6hitEn2GBAYu9S8+oHypvVe7KHWLUSEA9T EuEhagRMqjRYYTgD2qfP7D/3jcfui7E588vGtN2Y9NAT3nYogGddVDE1vFi0DGLXdN/S KnIw== X-Gm-Message-State: AKwxytfr9/BXDHkx6zxHtyMyKWW7jIdAw2PVVFzPDxToIEOwMkHI+LAn hPsPTjnosTy3hK0c4f0bVv273Q== X-Received: by 10.46.84.76 with SMTP id y12mr20538147ljd.36.1517832933934; Mon, 05 Feb 2018 04:15:33 -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 r88sm1784817lje.30.2018.02.05.04.15.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 04:15:32 -0800 (PST) From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: linux-block@vger.kernel.org Cc: linux-kernel@vger.kernel.org, javier@cnexlabs.com, =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [PATCH 0/4] lightnvm: base 2.0 implementation Date: Mon, 5 Feb 2018 13:15:01 +0100 Message-Id: <20180205121505.27563-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 Hi, A couple of patches for 2.0 support for the lightnvm subsystem. They form the basis for integrating 2.0 support. For the rest of the support, Javier has code that implements report chunk and sets up the LBA format data structure. He also has a bunch of patches that brings pblk up to speed. The first two patches is preparation for the 2.0 work. The third patch implements the 2.0 data structures, the geometry command, and exposes the sysfs attributes that comes with the 2.0 specification. Note that the attributes between 1.2 and 2.0 are different, and it is expected that user-space shall use the version sysfs attribute to know which attributes will be available. The last patch implements support for using the nvme namespace logical block and metadata fields and sync it with the internal lightnvm identify structures. -Matias Matias Bjørling (4): lightnvm: make 1.2 data structures explicit lightnvm: flatten nvm_id_group into nvm_id lightnvm: add 2.0 geometry identification nvme: lightnvm: add late setup of block size and metadata drivers/lightnvm/core.c | 27 ++- drivers/nvme/host/core.c | 2 + drivers/nvme/host/lightnvm.c | 508 ++++++++++++++++++++++++++++++++----------- drivers/nvme/host/nvme.h | 2 + include/linux/lightnvm.h | 64 +++--- 5 files changed, 426 insertions(+), 177 deletions(-) -- 2.11.0