Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751925AbdHCR5O (ORCPT ); Thu, 3 Aug 2017 13:57:14 -0400 Received: from mail-io0-f173.google.com ([209.85.223.173]:37422 "EHLO mail-io0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751754AbdHCR5K (ORCPT ); Thu, 3 Aug 2017 13:57:10 -0400 MIME-Version: 1.0 In-Reply-To: <1500480092-28480-2-git-send-email-mark.rutland@arm.com> References: <1500480092-28480-1-git-send-email-mark.rutland@arm.com> <1500480092-28480-2-git-send-email-mark.rutland@arm.com> From: Kees Cook Date: Thu, 3 Aug 2017 10:57:08 -0700 X-Google-Sender-Auth: fVUQ186wOZYFHOKB9LP5MTmxU44 Message-ID: Subject: Re: [PATCH 01/11] arm64: docs: describe ELF hwcaps To: Mark Rutland Cc: "linux-arm-kernel@lists.infradead.org" , Arnd Bergmann , Catalin Marinas , Christoffer Dall , Dave Martin , jiong.wang@arm.com, kvmarm@lists.cs.columbia.edu, linux-arch , Marc Zyngier , "Suzuki K. Poulose" , Will Deacon , yao.qi@arm.com, LKML , "kernel-hardening@lists.openwall.com" , "linux-doc@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1122 Lines: 31 On Wed, Jul 19, 2017 at 9:01 AM, Mark Rutland wrote: > We don't document our ELF hwcaps, leaving developers to interpret them > according to hearsay, guesswork, or (in exceptional cases) inspection of > the current kernel code. > > This is less than optimal, and it would be far better if we had some > definitive description of each of the ELF hwcaps that developers could > refer to. > > This patch adds a document describing the (native) arm64 ELF hwcaps. > > Signed-off-by: Mark Rutland > Cc: Catalin Marinas > Cc: Dave Martin > Cc: Suzuki K Poulose > Cc: Will Deacon > --- > Documentation/arm64/elf_hwcaps.txt | 133 +++++++++++++++++++++++++++++++++++++ With the kernel docs moving to ReST markup[1], perhaps reformat this to a .rst file and link to it from somewhere sensible in the ReST tree, perhaps the userspace API section in Documentation/userspace-api/index.rst? -Kees [1] https://www.kernel.org/doc/html/latest/doc-guide/sphinx.html -- Kees Cook Pixel Security