Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp1317268ima; Fri, 1 Feb 2019 21:28:30 -0800 (PST) X-Google-Smtp-Source: ALg8bN4m95Vf+U1RRNKP0XQ6zEhQ+S6WbOefpwarkOoYw4sfodjzdEfa8kwdcKbfJNz+qSFSHzaD X-Received: by 2002:a62:ea09:: with SMTP id t9mr44495896pfh.228.1549085310271; Fri, 01 Feb 2019 21:28:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549085310; cv=none; d=google.com; s=arc-20160816; b=e6U0J8lD36y8IWq3hmRFxIwxiEsrhHYC8F4ASHRo0HZGeYGhhmivFg6uSugCJ8Bi4q VQ7iyDHy+izZLzShq/hA/e/UQZXA3j9r8RCk8KFgUlZTjjOq0dj97y7gLgYZU/0SwH7/ VpiSsnWe/nSOIFCm16mh6dHwhmFMRrRi9FKb/YHNDOzg4AND6VNwqfVv4+0S5hB6LkgH tyFt8JHe6aoU40HzZ0L275Gxv9LNuDNUNR4EzTUeTD54iZrez21sfCXbOsbKJgPWgAMZ pL1VIbToPnIV8Zxyx3V9so6IB17NarZgavSwxKgs6G3XMaU8dOZmY4o8TTSdTPWtt+er czlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=AEMNr9EgFC0bLddPJuZtvhocqlCPLLpahgYnShSd+k0=; b=mzLkHokyHKaO4xIHK53JjUIMJXojTnXjheo3R2JrS1cChPrwEu18qWOmeQN2gMOCor MZD1HCMVx+gjnNMhq8HLfeisVkMw8WcZsX8OojNMv4ivbz7QEaHW0Na7o4fFtKbhJNv2 OreopRAQKL/YNmUlB/s7sfA0I/Sj+ggXd/2B4W894tA2iUAPcg6QAJgZoIcD6ACHPoTn mWydOD/TlqOAIvj+dwNKw69XTp+/TRX1hC2Bn4loMJKtUEBT7HINZ2s/eVioTwmtXwwu k02P3XXzsEWu3L6X9EYTlfCtgdQlWaPpFX790ynuOBzlkLYX34jCSW8U53LsGMFakG6s C9fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=GDSqJfdh; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id az5si9405737plb.166.2019.02.01.21.28.14; Fri, 01 Feb 2019 21:28:30 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=GDSqJfdh; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727161AbfBBF0j (ORCPT + 99 others); Sat, 2 Feb 2019 00:26:39 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:42014 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726808AbfBBF0i (ORCPT ); Sat, 2 Feb 2019 00:26:38 -0500 Received: by mail-ot1-f66.google.com with SMTP id v23so7938262otk.9 for ; Fri, 01 Feb 2019 21:26:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AEMNr9EgFC0bLddPJuZtvhocqlCPLLpahgYnShSd+k0=; b=GDSqJfdh1HT9eGdZXkOwmFETS7sphYCeYoaXOxWjmDBrwkdjPxgmbonWmvhEcLXK47 mdY5cJwlrBDq3wAl2o7p2G69hSySDPrwYBBTXVStTJuNakw4zcurkdhAyzQgsdt0AVqX GZbnxKGoUHOCFqHj7qyD/6FAWm0kcMERYbc8XeM2AsP21vlGHEHSKLg80UboWFblghci T70+81d+dyIgxfMlg9qNhlGzfImv74uuk7iwQtiZDRWrnZfqVaFGvPq2QkRJ7NPoBs/z 9P46EDQ9jYA6ZdVpcMhlhQrC5F2pmuNU3Vd+AYGSbZwLkiIJa6t2H3yZhEodjfJ3DWOm aASw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AEMNr9EgFC0bLddPJuZtvhocqlCPLLpahgYnShSd+k0=; b=MOvumn3hvyLUagxmxXFnvL9GswqLzTvyepTokZr0nMrZGHZ3fuuIg8S9qmvBp2mVZ+ v6Z5doWGZi6VqvJgKMs4fNm1RaVAWyz4eDMxiJYjgZDX/A2NXmuIu4cyNV0ytvSyqyVA 7pfqCP+aJEB0afyBWRvLk0TxUTb3b0Gm7ac5u/yVHDAdyHEKdzCjNxjMybJnVWUZFqML xpvNZI59s/JMiucsYRT6f3jnShKKsVnhAY94NMMtuK4BzPA788daaCv35BvjrRp5i8L8 1wtuNSDH7RiHODgU4j1q12iAEOPae0lLckD2HDciO4lHfgofdi1YH9MXWSqAoLecITou +ALg== X-Gm-Message-State: AJcUukdk2hSQh5JaLip4jw+J0ebcV35wjc/FuPoD2jfQvesJ7wp1OrdK x+853CIcSqpzukHQX0dW+GR5h6UXhNkUahhkZPpnLQ== X-Received: by 2002:a9d:7dd5:: with SMTP id k21mr31857435otn.214.1549085197562; Fri, 01 Feb 2019 21:26:37 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Dan Williams Date: Fri, 1 Feb 2019 21:26:25 -0800 Message-ID: Subject: Re: [PATCH v2] nfit: add Hyper-V NVDIMM DSM command set to white list To: Dexuan Cui Cc: Josh Poulson , "linux-nvdimm@lists.01.org" , Haiyang Zhang , "driverdev-devel@linuxdriverproject.org" , "Rafael J. Wysocki" , "linux-kernel@vger.kernel.org" , Michael Kelley , Sasha Levin , "linux-acpi@vger.kernel.org" , Ross Zwisler , Stephen Hemminger , KY Srinivasan , Len Brown Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 1, 2019 at 7:32 PM Dexuan Cui wrote: > > > From: Dan Williams > > Sent: Friday, February 1, 2019 5:29 PM > > ... > > Honestly, the quickest path to something functional for Linux is to > > simply delete the _LSR support and use raw mode defined namespaces. > > Why have labels if they are read-only and the region is sufficient for > > defining boundaries? > Hyper-V Virtual NVDIMM can already work with Ubuntu 19.04 virtual machine > running on Hyper-V, i.e. I can create a raw or fsdax namesapce, and create a > xfs or ext4 file sysetm in /dev/pmem0p1, and mount the file system with and > without "-o dax". The basic functionality is good. Only in label-less mode apparently. > My recent work is mainly for ndctl support, i.e. get the health info by ndctl, > and use ndctl to monitor the error events (if applicable). Right, but the recent fixes have exposed Linux to a labelled namespace implementation that violates some of the driver's basic assumptions. To preserve the level of operation you're currently seeing Linux might need to add a hyper-v-specific quirk to force label-less operation.