Documentation: Document array_index_nospec
authorMark Rutland <mark.rutland@arm.com>
Tue, 30 Jan 2018 01:02:16 +0000 (17:02 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 30 Jan 2018 20:54:28 +0000 (21:54 +0100)
commitf84a56f73dddaeac1dba8045b007f742f61cd2da
tree2c88d6739ef96b888834b7a9a66de93abe7757f0
parent37a8f7c38339b22b69876d6f5a0ab851565284e3
Documentation: Document array_index_nospec

Document the rationale and usage of the new array_index_nospec() helper.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: linux-arch@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: gregkh@linuxfoundation.org
Cc: kernel-hardening@lists.openwall.com
Cc: torvalds@linux-foundation.org
Cc: alan@linux.intel.com
Link: https://lkml.kernel.org/r/151727413645.33451.15878817161436755393.stgit@dwillia2-desk3.amr.corp.intel.com
Documentation/speculation.txt [new file with mode: 0644]