Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753378AbbLISnP (ORCPT ); Wed, 9 Dec 2015 13:43:15 -0500 Received: from mga02.intel.com ([134.134.136.20]:38864 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753267AbbLISnO (ORCPT ); Wed, 9 Dec 2015 13:43:14 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,405,1444719600"; d="scan'208";a="837851042" From: Keith Busch To: linux-nvme@lists.infradead.org, LKML Cc: Matthew Wilcox , Greg Kroah-Hartman , Jens Axboe , Christoph Hellwig , Dan Williams , Keith Busch Subject: [PATCHv2 0/2] NVMe namespace identification Date: Wed, 9 Dec 2015 11:42:55 -0700 Message-Id: <1449686577-6319-1-git-send-email-keith.busch@intel.com> X-Mailer: git-send-email 1.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1198 Lines: 31 Here's version 2 exposing unique namespace identification to sysfs. This is simpler thanks to feedback from Willy, Christoph, and Dan. There are two identification attributes displayed in ASCII instead of binary. Each method has its own file so parsers will know the format. The first patch in the series adds a new print format since EUI-64 didn't have a specifier. It's essentially an extented MAC identifier, so appending a specifier for the longer format to that. I don't know who owns lib/vsprintf, so copying Greg & LKML. Keith Busch (2): Print: Add print format for 8-byte EUI-64 type NVMe: Expose namespace identity attribute to sysfs Documentation/printk-formats.txt | 13 +++++++-- drivers/nvme/host/core.c | 60 ++++++++++++++++++++++++++++++++++++++-- drivers/nvme/host/nvme.h | 3 ++ lib/vsprintf.c | 17 ++++++++---- 4 files changed, 83 insertions(+), 10 deletions(-) -- 2.6.2.307.g37023ba -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/