[PATCH v2 0/4] Speculation control improvements

2018-02-14 Thread David Woodhouse
On CPUs which advertise IBRS_ALL, enable it and disable the retpoline as IBRS_ALL will be faster. Also use IBRS whenever it's available before calling into firmware at runtime. Revert another bikeshedding patch that was broken, and add support for retpoline builds with clang. --- v2: Remember

[PATCH v2 0/4] Speculation control improvements

2018-02-14 Thread David Woodhouse
On CPUs which advertise IBRS_ALL, enable it and disable the retpoline as IBRS_ALL will be faster. Also use IBRS whenever it's available before calling into firmware at runtime. Revert another bikeshedding patch that was broken, and add support for retpoline builds with clang. --- v2: Remember