lkml.org 
[lkml]   [2018]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 00/24] objtool: retpoline and asm-goto validation
This series adds two features to objtool:

- retpoline validation; it verifies no indirect jumps/calls are left in
CONFIG_RETPOLINE=y builds.

includes fixups for kvm and others

- asm-goto validation; allows asserting that a block of code is not reachable
through a dynamic branch.

After this it forces an asm-goto capable compiler to build arch/x86 and removes
the fallback code for static_cpu_has(). After which we can use static_cpu_has()
to guarantee a lack of dynamic branches, which is a requested feature for
various spectre related things.


\
 
 \ /
  Last update: 2018-01-23 16:33    [W:0.280 / U:74.992 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site