mbox series

[0/2,X] Enhanced IBRS (LP: #1786139)

Message ID 1539992116-30141-1-git-send-email-tyhicks@canonical.com
Headers show
Series Enhanced IBRS (LP: #1786139) | expand

Message

Tyler Hicks Oct. 19, 2018, 11:35 p.m. UTC
BugLink: https://launchpad.net/bugs/1786139

[Impact]

Future Intel CPU's like Cascade Lake and GLK+ support Enhanced IBRS. Enhanced
IBRS is a H/W mitigation technique for Spectre V2 bug. So, it's important to
make sure that all the OSV's are using this feature.

[Test Case]

For processors that don't support Enhanced IBRS, the test is to ensure that
/sys/devices/system/cpu/vulnerabilities/spectre_v2 doesn't change state after
applying the patches. This will typically be the string when running on Intel
processors that don't support Enhanced IBRS:

  "Mitigation: Full generic retpoline, IBPB, IBRS_FW"

New Intel processors that do support Enhanced IBRS will display "Enhanced IBRS"
in place of "Full generic retpoline"

[Regression Potential]

Pretty low. The patches are fairly simple and they should only affect new
processors. The main concern is around the possibility of regressing IBRS
support on processors that don't support Enhanced IBRS.

Tyler

Comments

Stefan Bader Nov. 5, 2018, 1:44 p.m. UTC | #1
On 20.10.18 01:35, Tyler Hicks wrote:
> BugLink: https://launchpad.net/bugs/1786139
> 
> [Impact]
> 
> Future Intel CPU's like Cascade Lake and GLK+ support Enhanced IBRS. Enhanced
> IBRS is a H/W mitigation technique for Spectre V2 bug. So, it's important to
> make sure that all the OSV's are using this feature.
> 
> [Test Case]
> 
> For processors that don't support Enhanced IBRS, the test is to ensure that
> /sys/devices/system/cpu/vulnerabilities/spectre_v2 doesn't change state after
> applying the patches. This will typically be the string when running on Intel
> processors that don't support Enhanced IBRS:
> 
>   "Mitigation: Full generic retpoline, IBPB, IBRS_FW"
> 
> New Intel processors that do support Enhanced IBRS will display "Enhanced IBRS"
> in place of "Full generic retpoline"
> 
> [Regression Potential]
> 
> Pretty low. The patches are fairly simple and they should only affect new
> processors. The main concern is around the possibility of regressing IBRS
> support on processors that don't support Enhanced IBRS.
> 
> Tyler
> 
> 
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Kleber Sacilotto de Souza Nov. 6, 2018, 2:53 p.m. UTC | #2
On 10/20/18 01:35, Tyler Hicks wrote:
> BugLink: https://launchpad.net/bugs/1786139
>
> [Impact]
>
> Future Intel CPU's like Cascade Lake and GLK+ support Enhanced IBRS. Enhanced
> IBRS is a H/W mitigation technique for Spectre V2 bug. So, it's important to
> make sure that all the OSV's are using this feature.
>
> [Test Case]
>
> For processors that don't support Enhanced IBRS, the test is to ensure that
> /sys/devices/system/cpu/vulnerabilities/spectre_v2 doesn't change state after
> applying the patches. This will typically be the string when running on Intel
> processors that don't support Enhanced IBRS:
>
>   "Mitigation: Full generic retpoline, IBPB, IBRS_FW"
>
> New Intel processors that do support Enhanced IBRS will display "Enhanced IBRS"
> in place of "Full generic retpoline"
>
> [Regression Potential]
>
> Pretty low. The patches are fairly simple and they should only affect new
> processors. The main concern is around the possibility of regressing IBRS
> support on processors that don't support Enhanced IBRS.
>
> Tyler
>
>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Stefan Bader Nov. 8, 2018, 12:13 p.m. UTC | #3
On 20.10.18 01:35, Tyler Hicks wrote:
> BugLink: https://launchpad.net/bugs/1786139
> 
> [Impact]
> 
> Future Intel CPU's like Cascade Lake and GLK+ support Enhanced IBRS. Enhanced
> IBRS is a H/W mitigation technique for Spectre V2 bug. So, it's important to
> make sure that all the OSV's are using this feature.
> 
> [Test Case]
> 
> For processors that don't support Enhanced IBRS, the test is to ensure that
> /sys/devices/system/cpu/vulnerabilities/spectre_v2 doesn't change state after
> applying the patches. This will typically be the string when running on Intel
> processors that don't support Enhanced IBRS:
> 
>   "Mitigation: Full generic retpoline, IBPB, IBRS_FW"
> 
> New Intel processors that do support Enhanced IBRS will display "Enhanced IBRS"
> in place of "Full generic retpoline"
> 
> [Regression Potential]
> 
> Pretty low. The patches are fairly simple and they should only affect new
> processors. The main concern is around the possibility of regressing IBRS
> support on processors that don't support Enhanced IBRS.
> 
> Tyler
> 
> 
Applied to xenial/master-next. Thanks.

-Stefan