Bug 228955 - Speculative fixes for speculative execution (specifically ARM for latest round of issues)
Summary: Speculative fixes for speculative execution (specifically ARM for latest roun...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: Andrew Turner
URL: https://reviews.freebsd.org/D15819
Keywords:
Depends on:
Blocks: 228911
  Show dependency treegraph
 
Reported: 2018-06-12 16:02 UTC by Rodney W. Grimes
Modified: 2020-09-25 14:37 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodney W. Grimes freebsd_committer freebsd_triage 2018-06-12 16:02:32 UTC
Speculative fixes for speculative execution (specifically ARM for latest round of issues)
Comment 1 Andrew Turner freebsd_committer freebsd_triage 2018-06-12 17:35:21 UTC
Already working this so take
Comment 2 Rodney W. Grimes freebsd_committer freebsd_triage 2018-06-12 17:37:45 UTC
Put emaste back on this bug.

When "taking" an assigned bug one should put the prior assignee in the CC: list.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-07-31 12:54:21 UTC
A commit references this bug:

Author: andrew
Date: Tue Jul 31 12:53:28 UTC 2018
New revision: 336967
URL: https://svnweb.freebsd.org/changeset/base/336967

Log:
  Implement the SSBD (CVE-2018-3639) workaround on arm64

  This calls into the Arm Trusted Firmware to enable and disable the
  workaround for the Speculative Store Bypass Disable (SSBD) issue, also
  known as Spectre Variant 4.

  As this may have a large performance overhead, and how exploitable SSBD is
  is unknown we follow the Linux lead of allowing the administrator to select
  between always on, always off, or only enabled in the kernel, with the
  latter being the default.

  PR:		228955
  Sponsored by:	DARPA, AFRL
  Differential Revision:	https://reviews.freebsd.org/D15819

Changes:
  head/sys/arm64/arm64/cpu_errata.c
  head/sys/arm64/arm64/exception.S
  head/sys/arm64/arm64/genassym.c
  head/sys/arm64/include/pcpu.h
  head/sys/dev/psci/smccc.c
  head/sys/dev/psci/smccc.h