Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3770438imd; Mon, 29 Oct 2018 12:06:20 -0700 (PDT) X-Google-Smtp-Source: AJdET5f/4jFhPF74SRkSaMyN+VqdV5YpOHdhsXfh8WazZImolODlgWR+/eNvc0ijS11Qju62cG8H X-Received: by 2002:a65:40c5:: with SMTP id u5mr12436374pgp.46.1540839980267; Mon, 29 Oct 2018 12:06:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540839980; cv=none; d=google.com; s=arc-20160816; b=DmCcKobfxFg0prRqyR4yGEyxkXNm1R85hCmeCc+6TgXjQNPWS1U2cQ6w2H0zaaxr6f pFjPwTYU4idNX+qOQUJOIKMA00S9fki0FpNyf/aE/4t44bD6P8fh+wYiBjwPRgdQehy2 S/OWnBmSA0fql8t6ZId4kuHMZqBJ2SxyiE0qTddinE3aSePyqVKGy5xebbs+vTfoErNG fiAp0m3Frh014VYqoSCe8M2y5xKpOybX/2RxYRh2Sc27HRz4AItw2bKvpLpR+wY5AZlN 0+3K/TtMkGW+xDyYChEWAAEQlHpTg/+rLXAvnL7ID2AyoB1Eftc1HitpMPm2cTBoECSt 3mLA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=8Vdgkgu5dqbHq7kAdM9OJ4GdnKQM3UrEPnn4ycmTJbA=; b=Rk1xB3d2KkZlYsqC9/etiadWGbyP7vCf412OL9A0CJ1GLAgpf4l5eSnBC8pUDtREXL znJvY/zfujhrvLwtpVjKfTolkKKM5x77Byr94GrY2ph6/Y88+Dclwg4CqXz225Srsfh5 tZuImm2gjDt+I5hRq1lW2pkd0K6Sy/Hs0o2NYmeP1i9/xDuk2sF+e/Z1lnqBLt6dg27f Qtj1IlCc71PG1SB4865vtjElo9ZYZTXHvwsZ6BtLwgmx4/YnYdqBT2WBxcCHtx+ejnoY hh8bhNCk7q8GbSBmyy1nTTsjk4aUFKZvWeOboX1I4Y41Op+8n2o6h9yk9qPw9RrgXuID NzeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="lS6/LNDw"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si12943532pgo.354.2018.10.29.12.06.01; Mon, 29 Oct 2018 12:06:20 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b="lS6/LNDw"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729528AbeJ3Dz1 (ORCPT + 99 others); Mon, 29 Oct 2018 23:55:27 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:42870 "EHLO mail-lf1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725969AbeJ3Dz1 (ORCPT ); Mon, 29 Oct 2018 23:55:27 -0400 Received: by mail-lf1-f51.google.com with SMTP id q6-v6so6918803lfh.9; Mon, 29 Oct 2018 12:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=8Vdgkgu5dqbHq7kAdM9OJ4GdnKQM3UrEPnn4ycmTJbA=; b=lS6/LNDw7uVCAu9TvA5A2/2wcq+sq29kMM+4KzPv/GF9Fxhb9VOt6aqXD4O15xOL6K 5rWT950PxWqUJ88RLkuKGrMniR1P+4k3Ow0Y1LPjx1zGzRP7KpVU7WAqkdMrouXpf2qt unUwse4JPlxDGoVUQxTug95xw0jzZSGsKUPr8D4B12Y0Hxk6OKmMmxg1bZ7Knqa/98PV Lnj/3+ZGKFhmM59xltmXyuPmU8lFogzAEaiOyf0YS0QHWrbSIt6cAUmkh4YfnNBPb01S siyin1aAJOGLs+DtQdKsa8FZT70dvMTUtphFH71XkKwR+qbwNTKcZ4viNfyjTRA9RbtB wXrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8Vdgkgu5dqbHq7kAdM9OJ4GdnKQM3UrEPnn4ycmTJbA=; b=btKpMrdCmhYV6Dj93J7w06/3Wj6TD4nmsxfP5xEgq4p7hPGNx6sS+wkOhWw3fI8HER g9rVZz2072NjlisbyUdhbw2rKY+fSU1WSOrn/fv2qqebYJqfMmBOy3+EzIKR5fa+VBTD h0pLKTn/uRe1eSWE0BHRw3NNqcRgMCX5REDxDtFFXXCNrxlOjRAYnDdBvgMiyJlcyY7Q nE3IXUpYkBo61C8jOItH4K8R08C/lp+0oemnciMlEqfcLcOdWMULomXEbAw6iD4pWX7+ +MIUgAC3hirEK0tKP66rm39rmgSC8VxFnxLUhjb+pKzRCCmoYEUfgUb41poHVMaWXW6u VQWg== X-Gm-Message-State: AGRZ1gKmhAgIaOzyDmk5S5IOoKfklW0zJaRyJqpsQa2hSOie6VSyi3je /9DPTt/v/yArjG/CgWlLEjqt4nsbfBk= X-Received: by 2002:a19:5510:: with SMTP id n16mr8953999lfe.68.1540839925976; Mon, 29 Oct 2018 12:05:25 -0700 (PDT) Received: from ?IPv6:2001:14bb:52:7be:f0bf:dd2d:f008:5213? (dmkd798g-7z2-yccwcp-4.rev.dnainternet.fi. [2001:14bb:52:7be:f0bf:dd2d:f008:5213]) by smtp.gmail.com with ESMTPSA id q5-v6sm3199673lfj.85.2018.10.29.12.05.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 12:05:25 -0700 (PDT) Subject: Re: [PATCH 10/17] prmem: documentation To: Mike Rapoport Cc: Mimi Zohar , Kees Cook , Matthew Wilcox , Dave Chinner , James Morris , Michal Hocko , kernel-hardening@lists.openwall.com, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, igor.stoppa@huawei.com, Dave Hansen , Jonathan Corbet , Laura Abbott , Randy Dunlap , Mike Rapoport , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20181023213504.28905-1-igor.stoppa@huawei.com> <20181023213504.28905-11-igor.stoppa@huawei.com> <20181024230426.GA27484@rapoport-lnx> From: Igor Stoppa Message-ID: Date: Mon, 29 Oct 2018 21:05:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181024230426.GA27484@rapoport-lnx> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On 25/10/2018 00:04, Mike Rapoport wrote: > I feel that foreword should include a sentence or two saying why we need > the memory protection and when it can/should be used. I was somewhat lost about the actual content of this sort of document. In past reviews of older version of the docs, I go the impression that this should focus more on the use of the API and how to use it. And it seem that different people expect to find here different type of information. What is the best place where to put a more extensive description of the feature? -- igor