Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Issue 899463002: Move the call to CRYPTO_set_NEON_capable up. (Closed)

Created:
5 years, 10 months ago by agl
Modified:
5 years, 10 months ago
Reviewers:
davidben
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the call to CRYPTO_set_NEON_capable up. BoringSSL needs to probe for NEON support via SIGILL in cases where getauxval isn't provided and the application doesn't do explicit initialisation. However, Chromium might have gone multithreaded by the time that we initialise BoringSSL and, although it doesn't look like we'll race the disposition of SIGILL with anything, it's best not to test that hope. So this change causes CRYPTO_set_NEON_capable to always be called, and to be called before SSL_library_init. BoringSSL will take that as a signal that probing for NEON support isn't needed. BUG=none Committed: https://crrev.com/fa9063829e638aeb72ede79e5d0396a81a0211d1 Cr-Commit-Position: refs/heads/master@{#314201}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -10 lines) Patch
M crypto/openssl_util.cc View 2 chunks +12 lines, -10 lines 1 comment Download

Messages

Total messages: 13 (2 generated)
agl
5 years, 10 months ago (2015-02-02 19:20:21 UTC) #2
davidben
lgtm https://codereview.chromium.org/899463002/diff/1/crypto/openssl_util.cc File crypto/openssl_util.cc (right): https://codereview.chromium.org/899463002/diff/1/crypto/openssl_util.cc#newcode56 crypto/openssl_util.cc:56: // that getauxval isn't present. Fun fact: this ...
5 years, 10 months ago (2015-02-02 19:47:16 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/899463002/1
5 years, 10 months ago (2015-02-02 19:52:38 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-02 22:31:40 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/fa9063829e638aeb72ede79e5d0396a81a0211d1 Cr-Commit-Position: refs/heads/master@{#314201}
5 years, 10 months ago (2015-02-02 22:32:54 UTC) #7
Noel Gordon
Various encrypted video media test began failing on ChromeOS Test (1), ChromeOS Test (1) Debug, ...
5 years, 10 months ago (2015-02-03 09:39:09 UTC) #8
Noel Gordon
Also on http://build.chromium.org/p/chromium.webkit/builders/Mac10.8%20Tests/builds/11900 Will attempt a revert for now to see if the tests come ...
5 years, 10 months ago (2015-02-03 09:49:10 UTC) #9
Noel Gordon
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/895013002/ by noel@chromium.org. ...
5 years, 10 months ago (2015-02-03 09:54:25 UTC) #10
davidben
On 2015/02/03 09:54:25, noel gordon wrote: > A revert of this CL (patchset #1 id:1) ...
5 years, 10 months ago (2015-02-03 18:22:06 UTC) #11
agl
On Tue, Feb 3, 2015 at 10:22 AM, <davidben@chromium.org> wrote: > Did that fix it? ...
5 years, 10 months ago (2015-02-03 18:40:56 UTC) #12
Noel Gordon
5 years, 10 months ago (2015-02-04 00:08:48 UTC) #13
Message was sent while issue was closed.
On 2015/02/03 18:40:56, agl wrote:
> On Tue, Feb 3, 2015 at 10:22 AM,  <mailto:davidben@chromium.org> wrote:
> > Did that fix it? As far as I'm aware, this code shouldn't even be running on
> > ChromeOS...
>
> No, the builder is still broken. It was a fair suspicion, but that
> breakage wasn't my fault at least :)

Agree, and apologies for the revert.

> Will reland today.

SGTM.

Powered by Google App Engine
This is Rietveld 408576698